Formula

P

pyrenees33

Does anyone know how to create a "IF THEN" formula? I need something simple
but I am getting errors. I need 2 cells to multiply each other IF another
cell is greater than 0. I need the entire column drafted for such a IF THEN
formula. So column "A" for instance from A1 through A40 lets say if any cell
in that range (lets use A12 for example) is greater than 0 then B12 x C12
 
T

tim m

=IF(A1>0,B1*C1,"")

This formula looks at A1, if it is greater than zero it does the
multiplication, if not it sticks a blank on the cell.
 
P

pyrenees

Excellent so far but how do I get the entire column "A" to recognize the
formula for each respective cell? Meaning A2, A3, A4 etc how do I get each of
these cells to calculate B2*C2; B3*C3; B4*C4 etc
 
T

tim m

After i posted the formula I realized i hadn't put that part in.

You should just have to copy if down the column as far as your data runs.
It will automatically change the formula for you. (As in it will increment
the formula from A1 B1 and C1 to A2 B2 and C2 in the formula)
 
P

pyrenees

It worked. Seems to be working fine. Thank you Tim! Just one other question,
the formula below works and gives me a total it just gives me a total in
$0.00 and $0.00 is not what I want. How do I remove the $ and just have a
value?


=COUNTIF(D3:D44,"TM")
 
D

David Biddulph

Format the cell appropriately.
--
David Biddulph

pyrenees said:
It worked. Seems to be working fine. Thank you Tim! Just one other
question,
the formula below works and gives me a total it just gives me a total in
$0.00 and $0.00 is not what I want. How do I remove the $ and just have a
value?


=COUNTIF(D3:D44,"TM")
 

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

Similar Threads

IF THEN formula 4
Excel Need Countifs Formula Help 0
Formula with blanks 5
IF formula 5
Add Condition to Formula 2
Formula 12
#N/A part deux 4
IF AND VLOOKUP formula needed 1

Top