Can anyone help with the following formula
I need to return a result in cell AC31 (formatted as %) based on the following;
If AA31 =0 then AB31/Z31
If AA31 <>0 then AB31/AA31
Ta
Can anyone help with the following formula
I need to return a result in cell AC31 (formatted as %) based on the following;
If AA31 =0 then AB31/Z31
If AA31 <>0 then AB31/AA31
Ta
Last edited by VBA Noob; 03-08-2007 at 06:52 PM.
Hi,
Then Format Cells Number Percentage![]()
Please Login or Register to view this content.
HTH
Carim
![]()
thanks for reply - this is the formula I too came up with but it doesnt seem to address the 2nd part where AA31 <>0 i.e. an either or scenario
PLease let me know if you need further explanation
Thanks
Sorry ...
But the if() function operates as follows ...
=IF(logical_test,value_if_true,value_if_false)
i.e. the two possibilities True and False resulting from the test ...
HTH
Carim
![]()
correct - it does work - many thanks
is there anyway that I can avoid the #div/0! sign when cells are blank?
Try...
=IF(AA31<>0,AB31/AA31,IF(Z31<>0,AB31/Z31,""))
Hope this helps!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks