Looking to see if possible

pstubbs90

New Member
Joined
Jan 25, 2018
Messages
4
I am trying to return the text in a column, when the value in another column is greater than 0 for any entry matching a value. From below I need to write the Loc of each bin into the cell with ??.

ItemBlockedLoc
X123??

<tbody>
</tbody>


ItemBlockedLoc
A1S
X100H
B2H
X20H
X3S

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Assuming:
your top section is in cells A1:C2 with the ?? in cell C2

and

your lower data in A4:C10 (I added another row to hold the combo od Item being X and Blocked being 123

try the following array formula in C2 (put in the following and then hit Ctrl+Shift+Enter instead of just Enterto make it an array formula:

=IFERROR(INDEX(A5:C10,MATCH(A2&B2,A5:A10&B5:B10,0),3),"Not Found")

Once you hit Ctrl+Shift+Enter, the formula should look like the following (do NOT type in the curly braces)
{=IFERROR(INDEX(A5:C10,MATCH(A2&B2,A5:A10&B5:B10,0),3),"Not Found")}
 
Upvote 0
Unfortunately I do not think what I am looking for is possible without using VBA. The output of cell with ?? I want to read as S, H. With index match and vlookup I can get one value but I want to be able to capture both locations.
 
Upvote 0
There are a total of 4 locations, only 2 will ever have blocked material. Right now I am separating the locations with blocked qty so only the 2 locations in the data set.
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,616
Members
449,238
Latest member
wcbyers

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top