Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Can you put two functions in one cell?

On Tue, 21 Feb 2006 03:08:28 -0800, "daduce_2"
wrote:

Yes, your right I left that part out. Can you get the same cell to put
overtime hours or if less than 40, put those hours also.
Thanx for the response
chris

"Ron Rosenfeld" wrote:

On Mon, 20 Feb 2006 19:06:31 -0800, "daduce_2"
wrote:

I am trying to get one cell to add hours worked, and if over 40 hours, add
the number of hours to that cell. The only way I can see to do it is to have
2 functions in one cell. Is this possible?


What do you want to have show in the cell if there are 40 or fewer hours?

If you just want to count overtime hours, then

=MAX(0,Hrs_Worked - 40)

You can format to not show the zero, if you wish.


--ron


Well, you could do something like:

=IF(Hrs_Worked40, Hrs_Worked-40, Hrs_Worked)

but how would you know if the number being displayed was the regular time or
the overtime hours. IOW, how would you want to differentiate between the
person who worked 20 hrs and the person who worked 60 hrs. Using your
specifications, the cell would show 20 in both instances.


--ron
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
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
Combine functions into one cell [email protected] Excel Worksheet Functions 2 August 16th 05 07:09 PM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
How can I copy cell formats in functions? Twitty Kitty Excel Worksheet Functions 3 July 24th 05 12:26 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 10:24 AM.

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"