VLOOKUP show Error massage in a column

nature969

Board Regular
Joined
Dec 20, 2016
Messages
55
Hi Guys

I am using the below Vlookup ( lookup one value and return multiple values). I need one more step to add on this formula to show all errors (#NA) as text " Not Find" in ONE column. Currently the formula shows "Not find" in all un-matched columns.

=iferror(vlookup($A1,Table1,column(A1),0),"Not Find")

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Thank you Alan
I replaced "iferror" to IfNA" in my formula and it didn't work.

I want to see if NA (in multiple columns) show " not find" in one column only ( e. column AQ).
 
Upvote 0
Perhaps you should show us some sample data that we can work with. Use XL2BB to upload your samples. Also, show us the expected results mocked up. Not sure I understand what you mean by "NA in multiple columns."
 
Upvote 0
Do you mean when the value is matched in the first column of the table, it returns all values
Book1
ABCDEFGHI
1FNameValue1Value2Value3
2F937122
3
4
5NameValue1Value2Value3
6A281065
7B238938
8C88553
9D795111
10E829340
11F937122
12G543692
Sheet1
Cell Formulas
RangeFormula
F2:I2F2=IF(ISNUMBER(MATCH("Not Find",$E2:E2,)),"",IFNA(VLOOKUP($A1,Table2[#All],COLUMN(A1),0),"Not Find"))


if not, only the first column returns Not Find
Book1
ABCDEFGHI
1HNameValue1Value2Value3
2Not Find   
3
4
5NameValue1Value2Value3
6A281065
7B238938
8C88553
9D795111
10E829340
11F937122
12G543692
Sheet1
Cell Formulas
RangeFormula
F2:I2F2=IF(ISNUMBER(MATCH("Not Find",$E2:E2,)),"",IFNA(VLOOKUP($A1,Table2[#All],COLUMN(A1),0),"Not Find"))
 
Upvote 0
Yes the 2nd one is what I want
I tried your formula , unsure why it's not working.
1589944694796.png


I want to see as below
H3 shows "Not Find"
I3 shows blank
J3 shows blank
K3 shows blank

1589944989294.png
 
Upvote 0
Book1.xlsx
ABCDEFGHI
1LookupValue1Value2Value3
2C88553
3HNot Find  
4E829340
5NameValue1Value2Value3
6A281065
7B238938
8C88553
9D795111
10E829340
11F937122
12G543692
Sheet1
Cell Formulas
RangeFormula
G2:I4G2=IF(ISNUMBER(MATCH("Not Find",$F2:F2,)),"",IFNA(VLOOKUP($F2,$B$5:$E$12,COLUMN(B1),0),"Not Find"))
 
Upvote 0
Book1.xlsx
ABCDEFGHI
1LookupValue1Value2Value3
2C88553
3HNot Find  
4E829340
5NameValue1Value2Value3
6A281065
7B238938
8C88553
9D795111
10E829340
11F937122
12G543692
Sheet1
Cell Formulas
RangeFormula
G2:I4G2=IF(ISNUMBER(MATCH("Not Find",$F2:F2,)),"",IFNA(VLOOKUP($F2,$B$5:$E$12,COLUMN(B1),0),"Not Find"))
Hi there
Thank you again

Can you tell me where went wrong?

1590620531699.png
 
Upvote 0

Forum statistics

Threads
1,215,049
Messages
6,122,864
Members
449,097
Latest member
dbomb1414

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