Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default How can I use the SUMIF function using multiple criteria

I was working on this one yesterday but it's fallen to page 2 (under the same
subject title), so i posted a followup today.

I would like to be able to pull the average hours over and have them fill in
my spreadsheet under the dates they are being divided by (start & End dates)

On Sheet2 I have all the work centers listed in column A and starting in
column C row 1, I have the dates running sequentially, starting on 3/2/09
and running through the end of the year.

The formula I'm looking for would need to be able to take the available
hours on a given work center from Sheet1and split them up equally between the
start and end date (columns A & B on Sheet1). Then put those hours on the
spreadsheet under the correct work center and under the dates listed on
Sheet2 row 1.

Column A Column B Column C Column D
Column E
Row1 Start Date End Date work center total hours
average hrs
row 2 3/2/09 3/6/09 18 bench 10
2

So on my spreadsheet it would show 2 hours under columns C (3/2/09) through
column G (3/6/09) it would show 2 hours for each day in the row that has work
center (18 bench). There may be multiple start and end dates that overlap
within each work center.

I hope you can help with this!
--
SRC
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default How can I use the SUMIF function using multiple criteria

Can't be done with SUMIF, but I believe this is what you're looking for:
=SUMPRODUCT((Sheet1!$C$2:$C$5=$A2)*(Sheet1!$A$2:$A $5<=B$1)*(Sheet1!$B$2:$B$5=B$1)*(Sheet1!$E$2:$E$5 ))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Steve" wrote:

I was working on this one yesterday but it's fallen to page 2 (under the same
subject title), so i posted a followup today.

I would like to be able to pull the average hours over and have them fill in
my spreadsheet under the dates they are being divided by (start & End dates)

On Sheet2 I have all the work centers listed in column A and starting in
column C row 1, I have the dates running sequentially, starting on 3/2/09
and running through the end of the year.

The formula I'm looking for would need to be able to take the available
hours on a given work center from Sheet1and split them up equally between the
start and end date (columns A & B on Sheet1). Then put those hours on the
spreadsheet under the correct work center and under the dates listed on
Sheet2 row 1.

Column A Column B Column C Column D
Column E
Row1 Start Date End Date work center total hours
average hrs
row 2 3/2/09 3/6/09 18 bench 10
2

So on my spreadsheet it would show 2 hours under columns C (3/2/09) through
column G (3/6/09) it would show 2 hours for each day in the row that has work
center (18 bench). There may be multiple start and end dates that overlap
within each work center.

I hope you can help with this!
--
SRC

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
How can I use the SUMIF function using multiple criteria Steve Excel Worksheet Functions 11 March 4th 09 02:53 AM
SUMPRODUCT / SUMIF on Multiple Worksheets with Multiple Criteria kazoo Excel Discussion (Misc queries) 2 August 21st 08 06:22 PM
Using SUMIF function with multiple criteria for Aging josnah Excel Worksheet Functions 2 June 4th 06 10:18 AM
Sumif function with multiple criteria Bobito Excel Worksheet Functions 4 November 29th 05 04:47 PM
SumIf Function using multiple criteria Jamie A Miller Excel Worksheet Functions 1 February 4th 05 05:14 PM


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