LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Help with If Sum statement - i think....

Well, whether by pivot table or formula, you ABSOLUTELY must have repeating
entries in column A. If you want to use formulas, SUMPRODUCT()s will work.

Assuming you're trying to sum Analysis tasks and "Analysis" is in column A
row 2 and the 'week' date is in B1, use this in B2

=SUMPRODUCT(--(PROJECTSHEET!A2:A100=A2),--(weeknum(PROJECTSHEET!D2:D100)=weeknum(B2)),PROJEC TSHEET!c2:c100)

That may have to be entered as an array formula, by pressing
Ctrl-Shift-Enter. You may need to look up WEEKNUM() in help, too. There is
an otpional parameter that tells Excel what day of the week is the START of
the week, and you may need that to get the dates right


"Scott_goddard" wrote:

This information is link from a Gantt chart within excel so i would rather
have something that work from linked cells as it would update its self....the
pivot wouldnt. Also the task wouldnt alway be in order, so the table would
have repeated weeks - think this would be an issue for the pvit...

Any more suggestion regarding the formula option???

"Duke Carey" wrote:

Needed to add that the week number should be used as a column label in your
pivot table

"Scott_goddard" wrote:

Hi,

I need to be able to do the following but i can not quite arrange the
formula corectly....

I have one sheet that has all the weeks in coulumns (for a project). In
another sheet i have this

A B C D E
Analysis Task 3 12/04/2010 14/04/2010
Task 5 15/04/2010 21/04/2010
Task 3 22/04/2010 26/04/2010
Task 10 27/04/2010 10/05/2010
Task 6 11/05/2010 18/05/2010
Analysis Task 2 11/05/2010 12/05/2010
Develop Task 4 13/05/2010 18/05/2010
Task 3.5 13/05/2010 18/05/2010
Analysis Task 1 13/05/2010 13/05/2010
Develop Task 2.5 14/05/2010 18/05/2010
Task 5.8 14/05/2010 21/05/2010
Analysis Task 2 14/05/2010 17/05/2010
Develop Task 3.8 18/05/2010 21/05/2010


I would like ini the calendar sheet to sum by week and by resources the
amount of hours being used...any ideas?

Thought this might work....but not sure...

Sumif(calendarsheet D1,calendarE1={projectsheet D1:D6, project sheet
E1:E6}and{
project sheet"analysis","develop",project}*(projectsheetC1 :C6)



 
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
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


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