LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Totally confused by SUMIF

I am putting together a timesheet - see example

Col D Col E
11 Time In 8:30 AM
12 Time Out 12:30 PM
13 Hours 4.0
14 Rate 1.5
15 Meal Break
16 Time In 1:00 PM
17 Time Out 3:00 PM
18 Hours 2.0
19 Rate 2.0
20 Total @ 1.5 0.5
21 Total @ 2.0 6.0

In E20, I wanted to calculate the number of hours worked where rate = 1.5
(similar for E21 but for rate=2.0)

I tried SUMIF, but it gave odd results (results expected should have been 4
hours @ 1.5 and 2 hours @ 2.0) using =SUMIF(E11:E19,1.5,E13) and
=SUMIF(E11:E19,2.0,E13) respectively.

A) - I cannot have more than 2 cells in the sumrange as they are not adjacent
B) - SUMIF results are dependent upon results of other formulae in the cells
C) - results not expected

Help anyone? Sorry if this is clear as mud.


Its a bit complicated but
 
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
Help! Totally Grey Sheet nabanco Excel Worksheet Functions 2 August 2nd 07 07:16 PM
Totally wierd Fritz Excel Worksheet Functions 4 July 23rd 07 01:44 PM
Finding text in one field, and then totally another Tom D[_3_] Excel Worksheet Functions 1 April 27th 07 12:57 AM
Totally Stumped Sondra Excel Discussion (Misc queries) 3 February 15th 06 02:01 PM
Help!!! Pivot table from mac goes totally blank on pc. [email protected] Excel Discussion (Misc queries) 0 May 31st 05 09:30 PM


All times are GMT +1. The time now is 01:06 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"