Help with a function

A

Anubis.Ice

Hey guys, Im new here. I need help with a project that I'm working at
for school. I'm having problems on getting the "IF Function" right.

The book said" IF(Gross Pay - Dependents * 38.46 ) > 0, =20% * (Gross
Pay - Dependents * 38.46 ), = 0 "

The way I wrote down the formula was " =if((f4-d4 * 38.46) > 0, =20% *
(f4-d4
* 38.46 ), = 0) "

If i read down that way I just get a error that incorrect, I always
try
" =if(f4-d4*38.46) > 0, =20% * (f4-d4 *38.46), = 0 " still give me a
error.

I hope if there anyone can help me with this?
 
I

Infinity

Not sure but try taking off the unnecessary spaces and equal sign and
try again.

=if((f4-d4*38.46)>0,20%*(f4-d4*38.46 ),0)
 
G

Guest

Hi Anubis.Ice,

What is it that you want to happen if...or not...?
Is 38.46 multiplied after the subtraction or before?
20%?
Additionally, you are missing some commas, and probably some () too.

Please explain in more detail.
 
T

Tom Ogilvy

=if((f4-d4*38.46) > 0, 20% * (f4-d4 *38.46),0)

or
=max(0,20% * (f4-d4 *38.46))
 
A

Anubis.Ice

yo that work man, thanks for that, I been trying to figure that out for
the past two hours. thank again
 

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 formulas 2
How do I write a IF function formula? 4
IF functions 3
Multiplication problem- Please Help! 8
need help on MAX 12
Can I move the cursor on error?? 3
formula help 2
Problem with Goalseek Macro 5

Top