#1   Report Post  
Posted to microsoft.public.excel.newusers
ED
 
Posts: n/a
Default Formula

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?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Formula

Use MIN

=MIN(est,total)

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

--

Regards,

Peo Sjoblom


"ED" wrote in message
...
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?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
RagDyeR
 
Posts: n/a
Default Formula

Total hours in A20
Estimated hours in B20

=MIN(A20,B20)
--

HTH,

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

"ED" wrote in message
...
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?


  #4   Report Post  
Posted to microsoft.public.excel.newusers
ED
 
Posts: n/a
Default Formula

Thank you very much.

"RagDyeR" wrote:

Total hours in A20
Estimated hours in B20

=MIN(A20,B20)
--

HTH,

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

"ED" wrote in message
...
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?



  #5   Report Post  
Posted to microsoft.public.excel.newusers
ED
 
Posts: n/a
Default Formula

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.

"ED" wrote:

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?



  #6   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Formula

=IF(cell<"",formula,"")

--

Regards,

Peo Sjoblom

"ED" wrote in message
...
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.

"ED" wrote:

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?



  #7   Report Post  
Posted to microsoft.public.excel.newusers
ED
 
Posts: n/a
Default Formula

It didnt' work. What I entered is
=IF(X18<"",MIN(S18,C18),"")

"ED" wrote:

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?

  #8   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Formula

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)




--

Regards,

Peo Sjoblom


"ED" wrote in message
...
It didnt' work. What I entered is
=IF(X18<"",MIN(S18,C18),"")

"ED" wrote:

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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"