9tanstaafl9
Well-known Member
- Joined
- Mar 23, 2008
- Messages
- 535
I've been stumped for 3 days now and am resorting to begging for help.
This EXACT same formula (put there with a filldown) works perfectly for most rows, but on some it generates the Div/0 error and I don't know why.
Here is my formula:
Which I simplified to this in order to see the Div/0 error:
The cells the formula is referencing in columns F and C have values. Those values are based on formulas, but I tried just typing in hard values and setting the calculation to automatic and it didn't help. I also tried changing the value in A119 to be the same as one of the earlier rows that did work, and that did make the formula work just fine.
A119 = 3020.000 (shows up in formula bar as 3020 and is formatted as a number on both sheets and there are no duplicates. Could the lack of zeroes be a problem for the vlookup?
Dollars per hour is currently set to 33, and hours per day is set to 8.
I just don't know what else to try.
ANY ADVICE on how to troubleshoot this issue would be greatly appreciated. I can't post the spreadsheet as it is all secret stuff that I'd be in big trouble for sharing.
This EXACT same formula (put there with a filldown) works perfectly for most rows, but on some it generates the Div/0 error and I don't know why.
Here is my formula:
Code:
=IF(ISERROR(VLOOKUP($A119,'Input Estimate'!A:F,6)/((VLOOKUP($A119,'Input Estimate'!A:C,3)/DollarsPerHour)/HoursPerDay)),0,VLOOKUP($A119,'Input Estimate'!A:F,6)/((VLOOKUP($A119,'Input Estimate'!A:C,3)/DollarsPerHour)/HoursPerDay))
Which I simplified to this in order to see the Div/0 error:
Code:
=VLOOKUP($A119,'Input Estimate'!A:F,6)/((VLOOKUP($A119,'Input Estimate'!A:C,3)/DollarsPerHour)/HoursPerDay)
The cells the formula is referencing in columns F and C have values. Those values are based on formulas, but I tried just typing in hard values and setting the calculation to automatic and it didn't help. I also tried changing the value in A119 to be the same as one of the earlier rows that did work, and that did make the formula work just fine.
A119 = 3020.000 (shows up in formula bar as 3020 and is formatted as a number on both sheets and there are no duplicates. Could the lack of zeroes be a problem for the vlookup?
Dollars per hour is currently set to 33, and hours per day is set to 8.
I just don't know what else to try.
ANY ADVICE on how to troubleshoot this issue would be greatly appreciated. I can't post the spreadsheet as it is all secret stuff that I'd be in big trouble for sharing.
Last edited: