Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2016, 05:45 AM
OTPM OTPM is offline Another SUMIF Windows 7 32bit Another SUMIF Office 2010 32bit
Expert
Another SUMIF
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default Another SUMIF

Hi All
I thought Jeffrey Brown had resolved my issue but it does not appear to be so (sorry Jeffrey). I attach a sample workbook detailing my issue.
If you look at the second sheet in the workbook I have annotated what the figures should be for each month.


Any help appreciated.
Thanks in anticipation.
Tony

Edit Mod: thread relatted to https://www.msofficeforums.com/excel...lp-sumifs.html
Attached Files
File Type: xlsm Sample Resource Pool Availability Template.xlsm (81.9 KB, 15 views)

Last edited by Pecoflyer; 06-06-2016 at 12:08 AM. Reason: Added link
Reply With Quote
  #2  
Old 06-03-2016, 03:44 PM
jeffreybrown jeffreybrown is offline Another SUMIF Windows Vista Another SUMIF Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

I'm afraid I do not understand how you come up with your figures...

If you could explain how you get...

I see two Apr 16 in Business Support which would total -- >> 26

I see one May 16 in Enterprise Information Mgmt which would total -- >> 12

There are just three inputs and no Jun 16

How do you get 44 for Business support in May 16 and how do you get anything at all for Jun 16 when there is no Jun 16?
Reply With Quote
  #3  
Old 06-05-2016, 09:54 AM
OTPM OTPM is offline Another SUMIF Windows 7 32bit Another SUMIF Office 2010 32bit
Expert
Another SUMIF
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi Jeffrey
Sorry, my calculations were not completely correct. Please see revised sample workbook.
Basically I need to calculate the number of working days for each month for each Skillset between the Start and End dates for each activity on sheet 1.
Hope this helps.
Kind regards
Tony
Attached Files
File Type: xlsm Sample Resource Pool Availability Template.xlsm (82.0 KB, 13 views)
Reply With Quote
  #4  
Old 06-05-2016, 11:40 AM
jeffreybrown jeffreybrown is offline Another SUMIF Windows Vista Another SUMIF Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Tony,

Before I begin to craft a formula for your query, please explain to me how you arrive at 8 and 19 for J7 and J8 respectively?
Reply With Quote
  #5  
Old 06-05-2016, 12:42 PM
OTPM OTPM is offline Another SUMIF Windows 7 32bit Another SUMIF Office 2010 32bit
Expert
Another SUMIF
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Thumbs down

Hi Jeffrey
J8:
For the task on Sheet1!Row 5 the number of working days between 1 June 16 and the task end date is "3".
Then I add the number of working days between 1 June and the task end date for Sheet 1!Row 6 which is "16".
This makes a total of 19 days for Business Support for June.
J7:
For the task on Sheet1!Row 7 the number of working days between 1 June and the task end date is "8".
This makes a total of 8 working days in June.
Hope this helps.
Thanks Jeffrey.
Tony
Reply With Quote
  #6  
Old 06-05-2016, 01:37 PM
jeffreybrown jeffreybrown is offline Another SUMIF Windows Vista Another SUMIF Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Okay, I can see what you are asking now, but I wish you had told me you were shifting gears in your quest for a different answer from the previous answer in post #7.

I'm afraid I do not have an answer for this query, but hopefully with a bump to the top somebody else can step in.

BTW: Unless I am just totally off, not sure how you get "16" from 1 Jun to 22 Jun?

Maybe this should have been a separate thread as it changed directions.
Reply With Quote
  #7  
Old 06-06-2016, 03:00 AM
OTPM OTPM is offline Another SUMIF Windows 7 32bit Another SUMIF Office 2010 32bit
Expert
Another SUMIF
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi Jeffrey
Apologies for not making my "challenge" clearer in the first place.
The number of working days between the 1st and 22nd June is 16 (excluding weekends).
many thanks for your help to date.
Tony

ps: I just stumbled across the www.cpearson.com website which gives me a solution for a single row as follows:
=MAX(0,NETWORKDAYS(MAX(C$1,Sheet1!$E5),MIN(DATE(YE AR(C$1),MONTH(C$1)+1,0),Sheet1!$F5)))
This works exactly as I need it but my challenge is how to wrap this in a SUMPRODUCT function so I get a total for all skillsets.
Any help appreciated Jeffrey.
Thanks
Tony
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA sumif Nisio07 Excel Programming 0 02-26-2016 07:53 AM
Need help sumif with variable for VBA jingo Excel Programming 4 01-23-2014 11:02 AM
Another SUMIF Average if and sumif jennamae Excel 4 01-17-2014 05:10 AM
Help! 'SUMIF' Formulas dave1372 Excel 2 09-08-2011 07:05 AM
Another SUMIF Multiple criteria in SUMIF? pumpkin head Excel 1 02-17-2006 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft