+ Reply to Thread
Results 1 to 2 of 2

Search and sum

  1. #1
    Registered User
    Join Date
    07-17-2008
    Location
    Franklin, TN
    Posts
    3

    Search and sum

    OK, I have tried to simplify this a little bit, hopefully there is something to work for this.

    I have worksheet 1 column A that has a list of names. What I would like is for something to search through all the other worksheets in column A and anywhere that it finds the same name, it will sum up column E through column J for the row that it found that name in and display the total on worksheet 1 again.

    Is that possible? Thanks.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you can create a new column in each of the sheets that totals each row from E to J, then here is a formula method....

    First do as above and in say column K of each sheet sum values from columns E to J.

    Then in the summary sheet, list the names of the sheets somewhere and name this list "TabNames". You do this by going to Insert|Name|Define.. enter "TabNames" (without quotes) in the Names in this workbook field. Then enter the range in the Refers to field.

    Then use formula:
    =SUMPRODUCT(SUMIF(INDIRECT("'"&TabNames&"'!A2:A100"),A2,INDIRECT("'"&TabNames&"'!K2:K100")))

    where A2:A100 is the range in each sheet to check for matches and K2:K100 is the sum range.

    A2 is the cell in the Summary sheet to look for within other sheets.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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