conditional formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm new at discussion groups - forgive me if I don't use correct wording.
I'm working w/ a payroll time sheet and want to use a conditional formula
that calculates and displays an amount only if there is worked hours in a
corresponding cell. Is this possible and if so, how do I set that up? I
need help A.S.A.P.!! Thanks a BUNCH!
 
General form will be along these lines:

in for example C1 put the following:

=IF(A1="","",A1*B1)

A1 = worked hours
B1=amount

If A1 is blank, leave result cell blank; otherwise multiply worked hours by
amount

Change cells to suit

HTH
 
A HUGE THANK YOU for answering so fast. I have another ? if I may: rather
than leaving amt cell blank - how can I have it display $0.00?
 
=IF(A1="",0,A1*B1)

pattyling said:
A HUGE THANK YOU for answering so fast. I have another ? if I may: rather
than leaving amt cell blank - how can I have it display $0.00?
 

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

Back
Top