Index Match

Simont485

Board Regular
Joined
May 19, 2018
Messages
50
Hi all

So I have an issue with index match.

Column A is my index (A3:10) and Column B (B3:B10) is my match to C1 and result is in C2

Column B contains blank cells.

When C1 is blank I need to see a result in C2 from Column A

At present I get N/A

My Function in C2 is =Index(A3:A10,Match(C1,B1:B10))
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
When C1 is blank I need to see a result in C2 from Column A

Hi, I think I understand - here is an option you can try:

=INDEX(A3:A10,MATCH(C1&"",INDEX(B3:B10&"",0),0))
 
Upvote 0
Yes......Column A range is staff names and column B range is activity.....

staff assigned an activity have a letter in column B and non assigned staff are blank. I need to see the staff names who are non assigned ie blank
 
Upvote 0
Perhaps you could post some example data that demonstrates what you are trying to do or demonstrates the #value ! error?
 
Upvote 0
A
B
Person 1
Person 2
NA
Person 3
H

<tbody>
</tbody>
This is an example of what I want to achieve.....

So cell c1 is data input and c2 will show Person 1 2 or 3

Index match will show Person 2 and Person 3 for the relevant letters in B but not Person 1 when C1 is blank
 
Upvote 0
but not Person 1 when C1 is blank

So when C1 is blank you want the formula to return blanK?


Excel 2013/2016
ABCD
1Person 1NAPerson 2
2Person 2NA
3Person 3H
Sheet1
Cell Formulas
RangeFormula
D1=IF(C1="","",INDEX($A$1:$A$3,MATCH(C1,$B$1:$B$3,0)))
 
Upvote 0

Forum statistics

Threads
1,213,562
Messages
6,114,322
Members
448,564
Latest member
ED38

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