IFs with IFNA and a vlookup

Status
Not open for further replies.

b19upj

New Member
Joined
Oct 3, 2014
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hi,
I think this should be a simple one but it doesn't seem to be working for me.
There is a list of numbers in column A. On the next tab there is a list of the largest 5 numbers from Column A.
The largest 5 numbers are in column D. Next to each of them (in column E). I want to write "Exp" if the number came from the previous tab Column A rows 9-108 and "Inc" if the number came from the previous tab Column A rows 111-160. If nothing is listed in Column D (ie there were only 3 numbers so no largest 4 or 5th place), then instead of NA, leave blank.
I hope that is clear but am unsure if it is.
My formulae that isn't working is:
=IFNA(IFS(Vlookup(D1,'Prev tab'!$A$9:$A$108,1,FALSE),"Exp",Vlookup(D1,'Prev tab'!$A$111:$A$160,1,FALSE),"Inc",),"")

TIA
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Status
Not open for further replies.

Forum statistics

Threads
1,214,832
Messages
6,121,845
Members
449,051
Latest member
excelquestion515

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