Avoiding answer zero by multiply

V

VenusY

Hi,
Please help me to solve my problem:

A1*A2*A3=A4

If the number for
A1=2,
A2=3,
A3=0,
then A4 answer will be zero.
How can i calculate it out with above formulation (A1*A2*A3=A4) by not
giving me the answer zero?

Thanks!!
 
P

Pecoflyer

VenusY;372051 said:
Hi,
Please help me to solve my problem:

A1*A2*A3=A4

If the number for
A1=2,
A2=3,
A3=0,
then A4 answer will be zero.
How can i calculate it out with above formulation (A1*A2*A3=A4) by not
giving me the answer zero?

Thanks!!

Do you mean that your answer should not display 0 ?
Thyen try =if(a1*a2*a3=0,"",a1*a2*a3)
 
B

Bernie Deitrick

Venus,

Array enter (enter using Ctrl-Shift-Enter)

=PRODUCT(IF(A1:A3<>0,A1:A3))

HTH,
Bernie
MS Excel MVP
 
V

venusy

Bernie,
Nope, this cant help me up.
the answer still showed zero instead of 6 (A1*A2).
 
V

venusy

Hi Pecoflyer,
Yes, i dont want answer show me zero or blank, only show me 6 (A1*A2).
 
P

Pecoflyer

Hi,
Bernie's formula works for me.
Did you enter the formula with Ctrl+Shift+Enter as recommended ?

venusy;372346 said:
Bernie,
Nope, this cant help me up.
the answer still showed zero instead of 6 (A1*A2).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top