#div/0!

Silo

Active Member
Joined
Mar 8, 2004
Messages
447
Hello Everyone

I like some help with this formula...

If there's a zero in the table array 'Acc & Data'!$A:$I,9 or WAA!$A:$F,6 this returns a #DIV/0!

I try editing this with ISNA, but I get an error saying I entered too many arguments


=IF(D30>=$D$5,"New Hire",IF(A30=0,"",VLOOKUP(A30,'Acc & Data'!$A:$I,9,0)/VLOOKUP(A30,WAA!$A:$F,6,0)))

Any thoughts?

:)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I'm assuming you dont want it to display the errors:

Assuming A5 is 10 and C2 is 0:

If you have Excel 2007+ you can use =IFERROR(A5/C2,"") which returns a blank.

If you have excel 2003 or older you can use =IF(ISERROR(A5/C2),"",A5/C2) which will test if it's an error, and if it is displays a blank, otherwise does the formula.

Just replace A5/C2 with your formula. Is that what you were looking for?
 
Upvote 0
Hello Everyone

I like some help with this formula...

If there's a zero in the table array 'Acc & Data'!$A:$I,9 or WAA!$A:$F,6 this returns a #DIV/0!

I try editing this with ISNA, but I get an error saying I entered too many arguments


=IF(D30>=$D$5,"New Hire",IF(A30=0,"",VLOOKUP(A30,'Acc & Data'!$A:$I,9,0)/VLOOKUP(A30,WAA!$A:$F,6,0)))

Any thoughts?

:)

If you want 0 instead of #DIV/0!...

On Excel 2007 or later...
Code:
=IFERROR(IF(D30>=$D$5,"New Hire",IF(A30=0,"",
   VLOOKUP(A30,'Acc & Data'!$A:$I,9,0)/VLOOKUP(A30,WAA!$A:$F,6,0))),0)

Otherwise...
Code:
=LOOKUP(9.99999999999999E+307,CHOOSE({1,2},0,
    IF(D30>=$D$5,"New Hire",IF(A30=0,"",
      VLOOKUP(A30,'Acc & Data'!$A:$I,9,0)/
        VLOOKUP(A30,WAA!$A:$F,6,0)))))
 
Upvote 0

Forum statistics

Threads
1,224,591
Messages
6,179,766
Members
452,940
Latest member
rootytrip

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