How to reference IFNA across 3 or more criterias

questforexcel

Board Regular
Joined
Jan 18, 2019
Messages
128
Office Version
  1. 2013
Platform
  1. Windows
Hi All,

I need my formula to look across multiple sheets if it does not find value in the current sheet.

So my current formula is

=IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),VLOOKUP(I4,Sheet3!$A$2:$D$10,2,0))

I want this to search across 3 or more data sheets, but i get an error.

=IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet3!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0)))

Could you please guide and help on how to fix this.

Thank you,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
try this, I think you are missing the second argument for the last IFNA.
Excel Formula:
=IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet3!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),0)))
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you have 365 another option is
Excel Formula:
=IFNA(VLOOKUP(I4,VSTACK(Sheet1!$A$2:$D$10,Sheet2!$A$2:$D$10,Sheet3!$A$2:$D$10),2,0),"")
 
Upvote 0
try this, I think you are missing the second argument for the last IFNA.
Excel Formula:
=IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet3!$A$2:$D$10,2,0),IFNA(VLOOKUP(I4,Sheet1!$A$2:$D$10,2,0),0)))
Thank you, it worked. Although it keeps returning 0 value for the re
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you have 365 another option is
Excel Formula:
=IFNA(VLOOKUP(I4,VSTACK(Sheet1!$A$2:$D$10,Sheet2!$A$2:$D$10,Sheet3!$A$2:$D$10),2,0),"")

Thank you, I just updated and saved that.
 
Upvote 0
What do you want if I4 is not found on the other sheets?
 
Upvote 0
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

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