PC Review


Reply
Thread Tools Rate Thread

How can I use the SUMIF function using multiple criteria

 
 
Steve
Guest
Posts: n/a
 
      3rd Mar 2009
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 With Quote
 
 
 
 
Luke M
Guest
Posts: n/a
 
      4th Mar 2009
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I use the SUMIF function using multiple criteria Steve Microsoft Excel Worksheet Functions 11 4th Mar 2009 02:53 AM
Multiple Criteria for SumIf function vgarrow@carletonls.com Microsoft Excel Discussion 6 10th May 2006 04:04 PM
Sumif function with multiple criteria =?Utf-8?B?Qm9iaXRv?= Microsoft Excel Worksheet Functions 4 29th Nov 2005 04:47 PM
SumIf Function using multiple criteria =?Utf-8?B?SmFtaWUgQSBNaWxsZXI=?= Microsoft Excel Worksheet Functions 1 4th Feb 2005 05:14 PM
SUMIF function - multiple criteria VERONICA Microsoft Excel Misc 1 2nd Mar 2004 06:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:49 PM.