How to fill matrix data from data matching (an excel file)? - xlsx

I would like to fill matrix data in an excel file by matching column E with column A (red box), row 1 with column B (blue box), and print column C (green box). For example, E3 and F1 are contained in the same row (in row 1), red and blue boxes, respectively, it will print data in column C1 in F3 (green box).
enter image description here
Thank you.
I've already tried =INDEX(C:C, MATCH(E3,A:A,0), MATCH(F1,B:B,0)), but several cells did not function.

Related

Specific Lookup Formula

I'm trying to search through an entire column of text (B3 downwards), and finding any matches in the column (S3 downwards) and if so grab the cells from columns T through to X and paste them into the correct match's row in the columns I to M.
I believe I need to do something with INDEX and MATCH but my excel skills aren't great!
I've attached an example picture here to explain, so Im searching through the column on the left through the column on the right, and if it's matching grabbing the information highlighted yellow and adding it to the blank cells highlighted yellow, then the next match is the pink highlighted numbers and thats added into the second row inline with the corresponding name! Hope this makes sense!
based on your poorly cropped image...
use in row 3:
=INDEX(IFNA(VLOOKUP(B3:B; S:X; {2\3\4\5\6}; 0)))
or for english based sheets:
=INDEX(IFNA(VLOOKUP(B3:B, S:X, {2,3,4,5,6}, 0)))

Google Sheets - Formula to Concatenate Text in Range of Cells based on Numeric Value in Corresponding Range of Cells

I have this setup in Google Sheets:
Row 1 is a list of ingredients. Rows 2-6 are specific plans that contain combinations of ingredients A-F - if there is a 1 in the column, it contains the ingredient in the column.
In column H, I want to concatenate the letters in row 1 if there is a 1 underneath it.
So the formula I'm looking for in Col H should spit out the following:
Cell H2 --> A + B
Cell H3 --> A + C
Cell H4 --> A + B + D
Cell H5 --> A + C + D
Cell H6 --> A
I've tried the TEXTJOIN formula you see in the formula bar but it's not working. Can anyone help with this?
Thanks!
Nevermind, I just figured it out. I had to change my formula above to:
=textjoin(" + ", TRUE, arrayformula(IF($B7:$G7=1, $B$1:$G$1,"")))
Anthony,
If I got it correctly what you want to combine, another option to do that is to use CONCATENATE + IF.
I needed to combine 5 columns but make a note while a cell contains particular data (e.g., when X is in the cell, not to combine columns but write a comment). And the combination of CONCATENATE + IF worked.
I found this solution here.
Hope it'll be somehow helpful :)

How to control how many cells are triggered in Google Sheets

If I have column A receive 1000 rows of input and column B has some function that takes column A cells as input for some custom function. How do I control how many cells in column B can run at a time? For example
Column A receives input into rows 1-1000. Column B has rows 1-5 trigger. In order words, how to setup concurrency control for columns?
Edit: Referring to the picture - I will paste in 1000 cells of data into column A. I need column B to only process X rows/cells at a time.
based on your picture... if you want to process only 20 rows out of 1000 you could maybe try:
=ARRAYFORMULA(FUNCTION(A1:A20))
ofc if your Function supports the ArrayFormula variation

Capture text from a column in another worksheet - Excel

I am trying to capture text from a column in another worksheet.
For example:
In Column Y in Worksheet1 - I want to capture the texts in the cells (lets say there are 10 cells with texts out of 30) but miss off the title cell in Y3.
Then I want to display these captured texts in cell L3 in Worksheet2 with text from each cell on a new line within L3.
Is there a way to do this? Will I need to complete this using an array?
Many thanks
Use this formula then select Wrap Text. See the screenshot below. If it serve your purpose then you can implement for Sheet2.
=D4 & CHAR(10) & D5 & CHAR(10) & D6 & CHAR(10) & D7

SSRS - Count values in a column based upon distinct values in another column in SharePoint List

We have SharePoint list which has, say, two columns. Column A and Column B.
Column A can have three values - red, blue & green.
Column B can have four values - pen, marker, pencil & highlighter.
A typical view of list can be:
Column A - Column B
red - pen
red - pencil
red - highlighter
blue - marker
blue - pencil
green - pen
green - highlighter
red - pen
blue - pencil
blue - highlighter
blue - pencil
We are looking to create a report from SharePoint List using SSRS which has following view:
red blue green
pen 2 0 1
marker 0 1 0
pencil 1 3 0
highlighter 1 1 1
We tried Sum but not able to display in single row.
You can use matrix to easily achieve this.
Use Column A (red, blue, green) for column grouping
and
Use Column B (pen, marker, pencil..) for row grouping
And your expression for detail textbox would be something like this:
=SUM(IIF(ISNOTHING(Fields!ColumnA.VALUE) OR ISNOTHING(Fields!ColumnB.VALUE), 0, 1)

Resources