Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Fred
 
Posts: n/a
Default Sumif of Sumif perhaps?

I have a rather large spreadsheet of Project Manager data that I want
to use to generate a pivot report from, however in the Pivot I want to
create %'ages of the subtotals. All that I understand as there are
several threads that give me sufficienf pointers.

What i'm stuggling with is the SUMIF side of it. My data layout (or a
cut-down version of it) is as follows

A B C D ----------- O
P---- AA
Project Project Team Forecast Forecast Sumif
Sumif
Manager Name Name Days - Jan Days- Dec Jan Dec

Each project can have any of up to 20 different teams working on it
A Project can be managed by any 1 of 15 Project Managers
Each Project Manager can be managing up to 15 projects at any one time

What I want to produce in my pivot is a report showing the %'age of a
working month each Project manager is spending on each of his projects.
But I only want to include the forecast time for the Project
Management team, not any of the other 20 or so teams that may be
present.

My attempt at the sumif went as follows
=IF($B2="Proj - Project Management -
EU",SUMIF($A$2:$A$587,$A2,D$2:D$587),0)
in columns P thru AA for columns D thru O.

That worked, after a fashion, but included all the forecast data for
every team rather than just the Project Managers, which I (perhaps
optimistically) thought the IF would filter out for me.

Any help would be much appreciated.

Regards
Fred

  #2   Report Post  
Posted to microsoft.public.excel.misc
robert111
 
Posts: n/a
Default Sumif of Sumif perhaps?


i find that for complex multiple extraction, the sumproduct function is
better and easier


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=527189

  #3   Report Post  
Posted to microsoft.public.excel.misc
Fred
 
Posts: n/a
Default Sumif of Sumif perhaps?

OK I have a sort of solution, using 2 additional columns for each month
in the original data,

In columns P - AA I used a formula to get only the values for the
Project Managers forecasts
=IF(C2="Proj - Project Management - EU",D2,0)

and then in columns AB - AM I used a SUMIF to calculate the %'age
allocated to each project for each month.
=IF(ISERROR(P2/SUMIF($A$2:$A$1000,$A2,P$2:P$1000)),0,(P2/SUMIF($A$2:$A$1000,$A2,P$2:P$1000)))

A B C D -------- O
P---- AA AB --- AM
Project Project Team Forecast Forecast Sumif Sumif
% %
Manager Name Name Days-Jan Days-Dec Jan Dec
Jan Dec

And then simply pivoted the data to get the desired results.

Not the prettiest of solutions I admit, but it worked.

Can someone explain how Robert's suggestion to use SumProduct would
have been used in this instance as I don't follow the logic of
multiplying two text values to come up with something meaningful.

Regards
Fred

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 to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"