+ Reply to Thread
Results 1 to 4 of 4

Indirect and lookup across several worksheet tabs

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Inverness, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Indirect and lookup across several worksheet tabs

    I've confused myself tonight, can someone help?

    I have a spreadsheet with tabs for each month with data such as the following on each tab.

    Name Rate 1 Rate 2 Rate 3 Rate 4
    Adam 5 2 4 0
    Jane 0 3 4 2
    Bob 1 1 2 3

    I want to be able to have a summary tab which calculates a total for each rate for each person for all months.
    The summary tab would be in alphabetical order, as each tab may have different names in different orders.
    How would I do this please?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Indirect and lookup across several worksheet tabs

    Hi,

    Very difficult to know for sure without seeing your actual workbook, though try to adapt this to suit your requirements:

    First go to Name Manager (Formulas tab) and define:

    Name: SheetNames
    Refers to: ={"Jan";"Feb";"Mar"}

    (Or whatever happen to be the sheet names in question.)

    Assuming that:

    1) You have e.g. "Adam" in cell A2 of your summary sheet, with headers in row 1 (Rate1 in B1, Rate2 in C1, etc.)
    2) Each of the individual sheets has names in column A with Rate1 in column B, Rate2 in column C, etc.

    then this formula in B2 of your summary sheet:

    =SUMPRODUCT(SUMIF(INDIRECT("'"&SheetNames&"'!A:A"),$A2,INDIRECT("'"&SheetNames&"'!"&CELL("address",B:B))))

    Copy to the right to give equivalent sums for Rate2, Rate3, etc.

    Also copy down to give equivalent sums for the entries in A3, A4, etc. (e.g. "Bob", "Jane", etc.).

    Regards
    Last edited by XOR LX; 11-19-2018 at 06:07 PM.
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Inverness, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Indirect and lookup across several worksheet tabs

    Spot on, thanks so much for your assistance XOR LX

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Indirect and lookup across several worksheet tabs

    No worries.

    Reply here if you come across any issues.

    Cheers

+ 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. [SOLVED] Indirect Lookup Other Worksheet
    By kent97 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2016, 06:47 AM
  2. [SOLVED] Renaming Worksheet Tabs with Tabs Existing Name + Today's Date
    By longbow007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2016, 09:51 PM
  3. Replies: 3
    Last Post: 06-19-2014, 10:30 AM
  4. Indirect Sum between two tabs issue
    By cloakedgerb in forum Excel General
    Replies: 7
    Last Post: 03-14-2014, 07:01 PM
  5. [SOLVED] Indirect lookup to diffent tab (worksheet) with a sumif
    By namluke in forum Excel General
    Replies: 1
    Last Post: 12-22-2013, 04:54 AM
  6. Replies: 6
    Last Post: 02-01-2012, 05:29 PM
  7. [SOLVED] Indirect formula using Data Validation List of Worksheet Tabs
    By Scott in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2005, 11:10 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