+ Reply to Thread
Results 1 to 2 of 2

Total Sheet to always add up certain persons expenses

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    1

    Total Sheet to always add up certain persons expenses

    Hi,

    I am sure that this has already been covered in another thread but after several hours of searching I can't find it so sorry.
    I have a spreadsheet with 13 sheets, Month 1, Month 2, Month 3 etc and a Totals sheet called Month 13. On these sheets I have a list of names in column A and various figures in columns B:Z.

    What I need is a formula or a macro that will add up the total amount of a certain persons totals from sheets month 1 to month 12. However over the year we will have new people added to the list and so the total sheet needs to be robust enough to change to include those. The way I think of it is:

    IF Month13!A3 = Month12!A3 then sum Month1!B3:Month12!B3
    IF Month13!A3 ≠ Month12!A3 then find Month13!A3 in Month12!A:A and return sum Month1!Bn:Month12!Bn

    The formula I have now is: =SUM('Month 1'!B3,'Month 2'!B3,'Month 3'!B3,'Month 4'!B3,'Month 5'!B3,'Month 6'!B3,'Month 7'!B3,'Month 8'!B3,'Month 9'!B3,'Month 10'!B3,'Month 11'!B3,'Month 12'!B3) But obviously this does not update as names are added. I have a VLOOKUP in place to update the list of names on the totals sheet but when a new name is added then the row numbers get changed in the totals sheet formula and that means my total for that person is incorrect.

    I'm sure there is a really simple way to do this and I just can't see it. Any help would be greatly appreciated!

    Thank you!

  2. #2
    Registered User
    Join Date
    08-30-2005
    Posts
    67

    Re: Total Sheet to always add up certain persons expenses

    Hi Wombie2903

    Check the atached file. The macro will update your list in Month 13 with any new name you add in whatever month. All you have to do is copy the SUM formulas into the new row.

    Cheers,
    Eduard
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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