+ Reply to Thread
Results 1 to 6 of 6

Summing the monthly costs of a project

  1. #1
    Registered User
    Join Date
    08-15-2014
    Location
    London, England
    MS-Off Ver
    Microsoft 2010
    Posts
    6

    Summing the monthly costs of a project

    Hi,

    I am relatively new to excel.

    I have a workbook that consists of two tabs; Tab1 is a table to display the data in tab2, Tab2 contains columns of data that has been exported from another programme, the exported data is updated on a weekly basis so the row locations may change but the columns will always remain the same.

    The columns within the table tab (Tab 1) are:
    PROJECT NUMBER PROJECT NAME January February March April May June July………

    What I am trying to do is calculate the total (current) cost of each project for each month, I know the formula =SUMIF('IFS '!I:S,A8,'IFS '!S:S) sums the total cost for each project so that part works but when I try to specify only find the costs for Project A in April I keep getting #value

    This is the formula I am using

    =SUM(IF((MONTH('IFS'!C2:C200)=4),('IFS '!I:S,A8,'IFS '!S:S),0))

    =SUM(IF((MONTH('IFS'!C2:C200)=4) – to look up all costs for April but I keep getting #Value

    Column C in (tab 2) is a date, the format is 01/04/14 I did try searching for “April” but it would not find it after I had changed the format as Excel still saw the date as 01/04/14

    Column S in (tab 2) is the cost

    Any advice on how to fix the formula is much appreciated.

    Please ask any questions if I have not explained myself very well and thank you in advance for your help.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Summing the monthly costs of a project

    Try this...

    =SUMPRODUCT(--(MONTH(IFS!C2:C200)=4),--('IFS '!I:S=A8),'IFS '!S:S)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Summing the monthly costs of a project

    Maybe

    =SUMPRODUCT((MONTH('IFS'!C2:C200)=4))*(S2:S200))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    08-15-2014
    Location
    London, England
    MS-Off Ver
    Microsoft 2010
    Posts
    6

    Re: Summing the monthly costs of a project

    Sixthsense thank you for your prompt reply
    I have tried using the formula you have given and when I add it to the spreadsheet first it opens a folder searching for a file and then when I click “cancel” it comes up with #Ref what would I need to change do you think.
    Sorry as I said I am still relatively new to excel.

    Special-K - Thank you for your reply but I need it to search for the monthly costs incurred for each project number.

    Kind Regards

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Summing the monthly costs of a project

    It will work fine if IFS is available in the current workbook.

    Else keep the source workbook in open and add the file name in front of the sheet name like this

    [MyFile.xlsm]IFS!$A$1

  6. #6
    Registered User
    Join Date
    08-15-2014
    Location
    London, England
    MS-Off Ver
    Microsoft 2010
    Posts
    6

    Re: Summing the monthly costs of a project

    Thanks for all your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 07-28-2014, 08:57 PM
  2. Sum project costs by calendar year
    By eclose in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-12-2013, 12:16 PM
  3. Replies: 1
    Last Post: 08-19-2012, 08:19 AM
  4. calculate costs for the whole project
    By Steel_lady in forum Excel General
    Replies: 3
    Last Post: 02-19-2008, 06:28 AM
  5. average monthly costs for the past three months and forcast by 1%
    By Bjones in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2007, 09:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1