View Single Post
  #5   Report Post  
Maggie
 
Posts: n/a
Default Zero values in formula

CHRIS THANK YOU FOR YOUR RESPONCE HOWEVER, I AM LOOKING FOR THE FOLLOWING.
SORRY FOR THE CONFUSION.

A1=1 AND A2=1 AND WHEN I DIVIDE A1 BY A2 THEN IN A3 I GET 1. HOWEVER, WHEN
BOTH A1 AND A2 EQUAL ZERO THEN I WOULD LIKE A3 TO EQUAL ZERO. SO THERE STILL
NEEDS TO BE A DIVISION CALCULATION BUT WHEN THEY ARE BOTH ZERO IT WOULD THEN
BE ZERO IN A3. I HOPE THIS IS MORE CLEAR SOMETIMES I HAVE A HARD TIME GETTING
MY POINT ACROSS IN AN E-MAIL. THANKS AGAIN FOR YOUR ASSISTANCE.
--
Maggie


"Chip Pearson" wrote:

Maggie,

Try a formula like

=IF(A2=0,0,A1/A2)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Maggie" wrote in message
...
My formula is A1/A2 however if they are both Zero values it is
producing the
#DIV/O! If there are Zeros in A1 and A2 how do I get the
product to also be
Zero in A3?


--
Maggie