Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Curtis
 
Posts: n/a
Default Multiple Condition Help needed....

I currently use the following formula to track employee earnings.

=SUMPRODUCT(('2004-JAN_05'!$C$2:$C$20000=$A43)*('2004-JAN_05'!$J$2:$J$200000)*'2004-JAN_05'!$J$2:$J$20000)

Where
Column C represents the emplyee
Column J represents the earnings

I need to add another condition that adds the month to the criteria ( that
would be in cloumn B). Note cloumn B contains days for any given month so I
need to total all earnings by employee by month.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Multiple Condition Help needed....


Curtis,

For January.

=SUMPRODUCT(('2004-JAN_05'!$C$2:$C$20000=$A43)*('2004-JAN_05'!$J$2:$J$200000)*(month('2004-JAN_05'!$B$2:$B$20000)=1)*('2004-JAN_05'!$J$2:$J$20000))

Change the =1 in the second condition to match the month number for
Feb-December. (2-12).


HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522800

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
Multiple condition help needed Curtis Excel Worksheet Functions 6 January 16th 06 01:41 AM
help needed on "sumif function with multiple ifs" sangee Excel Discussion (Misc queries) 2 December 16th 05 03:41 PM
conditional formatting - multiple condition jenhow Excel Discussion (Misc queries) 5 August 17th 05 02:45 PM
Counting Across Multiple Ranges, Based on Condition Stacy Excel Worksheet Functions 2 June 22nd 05 08:35 PM
Is it possible to specify multiple condition with SUMIF? Daniel Excel Worksheet Functions 1 November 17th 04 01:38 AM


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