Formula

E

ED

I would like to display the total hours worked for the year but not more than
the estimated hours. What kind of formula would I use?
 
P

Peo Sjoblom

Use MIN

=MIN(est,total)

will return total if less than estimate else est will be retruned
 
R

RagDyeR

Total hours in A20
Estimated hours in B20

=MIN(A20,B20)
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

I would like to display the total hours worked for the year but not more
than
the estimated hours. What kind of formula would I use?
 
E

ED

That formula worked. Thank you. But now I have to complete this formula
only if a certain cell is filled out. How would I do that.
 
P

Peo Sjoblom

The formula I posted checks if the cell (X18) is not blank, if not blank it
will return the MIN formula if blank it will return blank. What does X18
contain? Check with

=LEN(X18)
 

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