NA Response

Figjam

New Member
Joined
Jul 16, 2013
Messages
9
Please can someone assist, I don't think I'm a million miles away from the correct formula but I'm obviously missing something! In my formula I'm trying to combine a IF(AND with a VLOOKUP(CONCATENATE but get the return of NA, which generally I would use ISNA or IFERROR but unsure how this fits in combining the two types above? Please help - full formula is -
=IF(AND(VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]Work Orders'!$M:$O,2,FALSE)>0),( VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]Work Orders'!$M:$O,2,FALSE)), IF(AND(VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]Work Orders'!$M:$O,2,FALSE)=<0, (VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]Blending Plan'!$C:$D,2,FALSE)>0), (VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]Blending Plan'!$C:$D,2,FALSE)-(VLOOKUP(CONCATENATE(W$6,$A9),'[MRP DATA 2013 v1.xlsx]WO Completed'!$K:$L,2,FALSE))</SPAN>
:eek:
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to Mr Excel, Figjam!

I have to say, that's a lot of evaluating for one formula.

My first suggestion would be to change your CONCATENATE(W$6,$A9) to simply W$6&$A9 and change the FALSEs in your VLOOKUP formula to 0s. That would save you over 100 characters alone.

Second, is it feasible to store your lookup values in hidden helper columns and just have your formula reference them from the same worksheet? If not, I would suggest using Dunn's V function. You can find the code and an example of its use in this thread (see specifically posts #5 and #10):

http://www.mrexcel.com/forum/excel-questions/676833-using-iferror-conjunction-array-formula.html

I think if you try incorporating some of that, it will make the addition of IFERROR or ISNA simpler.
 
Upvote 0
Thanks Wookie,

I definately change those in my formulas straight away, I presume they are simplier and therefore quicker for the process????

I'll take a look at the posts.

Thanks

Figjam
 
Upvote 0
You're welcome, Figjam. Although I'm not sure whether those changes will improve processing speed, they certainly do save some room in the formula bar.

Good luck!
 
Upvote 0

Forum statistics

Threads
1,221,525
Messages
6,160,329
Members
451,637
Latest member
hvp2262

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