Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default how i can make formula

i want to make a formula for time sheet if a employee do over time like
3,4,3.4,3,4 but we have to show 2,2,2,2,2,2 and remaining 9 add in next cell
show as bonus is this possible?
--
MoinnioM
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default how i can make formula

Maybe this will help give you some ideas.

Your original values in row 2, from A2 to F2, as

3 4 3 4 3 4
in G2 (right after last 4), formula is =SUM(A2:F2) and should show 21
in next row (row 3) put this formula into A3
=MIN(A2,2)
and fill that all the way to F3: all should show 2
in G3 the formula is =SUM(A3:F3) and should show 12
in H3 (bonus cell) the formula is =G2-G3

You would always enter the actual hours into row 2 in this example.

"moin" wrote:

i want to make a formula for time sheet if a employee do over time like
3,4,3.4,3,4 but we have to show 2,2,2,2,2,2 and remaining 9 add in next cell
show as bonus is this possible?
--
MoinnioM

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
Make zero formula Beep Beep Excel Discussion (Misc queries) 1 June 6th 07 02:43 PM
How do I make a formula read a result rather than a formula Chris Excel Discussion (Misc queries) 7 June 20th 06 10:56 PM
how to make formula moko Excel Worksheet Functions 3 April 19th 06 05:23 AM
How do I make this formula? adam2dot0 Excel Discussion (Misc queries) 1 December 10th 05 09:22 AM
how do I make My formula bar appear leppenj Excel Discussion (Misc queries) 1 August 12th 05 07:28 PM


All times are GMT +1. The time now is 02:01 AM.

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

About Us

"It's about Microsoft Excel"