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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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