N/A Error

Simmo9

New Member
Joined
Mar 6, 2009
Messages
6
I am using the following vlookup to return a value for some run rates of production lines. however, when i update my master data' and a product line de-lists, i am left with an N/A error which corrupts further data. Can anybody help with a simple update that would return the value 0?

=IF(SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68>0,SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68+($P68/60),SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68)

Many Thanks
Simmo9
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
erm, that's not a VLOOKUP function?

Also, is your Uniq named range the same size as a complete column? The 1st and 3rd arguments of SUMIF must be the same dimension otherwise you'll get unexpected results.
 
Upvote 0
Sorry - i was in the middle of writing a vlookup function!! Unable to multi task!

Thanks for the swift reply, yes, the uniq reference is the full size of a column.

forgive my ignorance, i have inherited some spreadsheets, and i'm still getting to grips with all the formulas - clearly the last guy here was more advanced than myself!
 
Upvote 0
It won't be very pretty to de-error that formula unless you are using Excel 2007.

Is the #N/A coming from the SUMIF or from one of $A68, AU$2, $E68 or $P68?
 
Upvote 0
No such look, using excel '03!

It is a response to the sumif as the other arguments are fine.
 
Upvote 0
Then

=IF(ISNA(SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)),0,IF(SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68>0,SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68+($P68/60),SUMIF(Uniq,$A68&AU$2,'Forecasted Requirement'!$G:$G)/$E68))
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,797
Members
449,048
Latest member
greyangel23

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