#NA issues.

Hatter

New Member
Joined
Apr 12, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I have the following formulas in which I need blanks which works but having issues with #NA and cannot find the correct formulas - =IF(VLOOKUP(A10,'Film Stock Report (2)'!A:Y,25,0)=0,"",VLOOKUP(A10,'Film Stock Report (2)'!A:Y,25,0)) & =IF(VLOOKUP(A6,'Film Stock Report (2)'!A:Z,26,0)='Film Stock Report (2)'!$Z$3,$Z$3,'Film Stock Report (2)'!Z6)
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
If the first VLOOKUP fails, do you still want to perform the second one? Also, what if the second fails and the first one doesn't?
 
Upvote 0
I am also unclear as to whether they are 2 separate formulas or not and the 2nd one doesn't really seem to make sense (at a mininum shouldn't the 2nd $Z$3 not also refer to the other sheet).
For your first formula how about something like this:
Excel Formula:
=LET(getVal ,XLOOKUP(A10, 'Film Stock Report (2)'!A:A, 'Film Stock Report (2)'!Y:Y, ""),
     IF(getVal="", "", getVal))
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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