+ Reply to Thread
Results 1 to 6 of 6

Summing across multiple worksheets with criteria

  1. #1
    Registered User
    Join Date
    09-30-2008
    Location
    Indonesia
    Posts
    3

    Summing across multiple worksheets with criteria

    I have multiple worksheets that track 12 months revenue for each shop. One customer is assigned to each of the month.
    I would need to have a consolidated 12 month revenue for each of the customer in a separate sheet. In the attachment, I am using If function to sum, work fine for 3 shops and 4 customers. But the actual model will have 35 shops and 25 customers. There must be an easier way to do this.

    Appreciate any suggestion. .
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Summing across multiple worksheets with criteria

    define a name "Shops" with all shops
    Please Login or Register  to view this content.
    Note the comma's semi-colons
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Summing across multiple worksheets with criteria

    I modified your sheet. Easier. Look at the names List for "Shops"
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-30-2008
    Location
    Indonesia
    Posts
    3

    re: Summing across multiple worksheets with criteria

    Thanks rwgrietveld for the enlightenment.
    The formula works fine in the cell you modified.
    Now a new problem, how do I copy the formula to other cells since the Reference cell are entered as text in order for the INDIRECT function to work?

    Please Login or Register  to view this content.
    =SUMPRODUCT(COUNTIF(INDIRECT("'"&Shops&"'!$D$3"),RIGHT(B2,3)),SUMIF(INDIRECT("'"&Shops&"'!$D$4"),">0"))
    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Summing across multiple worksheets with criteria

    Dear HamnEgg,

    To be honest with you, I think your worksheet are not ordered very properly. Please try to find a way that all data is more logical grouped and you can use this function, maybe with an offset in it.

  6. #6
    Registered User
    Join Date
    09-30-2008
    Location
    Indonesia
    Posts
    3

    re: Summing across multiple worksheets with criteria

    You are absolutely right.
    The template is originally use to plan revenue by shop only. I am exploring a way to allocate the revenue by customer too.

    Anyway, thanks you assistance and advice.
    Really appreciate.

+ 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. Summing Based on Multiple Criteria
    By SJT in forum Excel General
    Replies: 4
    Last Post: 02-12-2015, 01:31 AM
  2. Replies: 8
    Last Post: 10-19-2012, 01:38 PM
  3. Summing multiple entries with the same criteria
    By boobavon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-12-2008, 03:38 PM
  4. multiple criteria for index and match against multiple worksheets
    By reggie1000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2007, 10:41 AM
  5. Summing same cell on multiple worksheets
    By Aussie_Striker in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2007, 07:31 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