+ Reply to Thread
Results 1 to 5 of 5

Index across multiple sheets returning multiple values

  1. #1
    Registered User
    Join Date
    03-14-2014
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Index across multiple sheets returning multiple values

    Index across multiple sheets returning multiple values
    Hi all,

    I am building a payroll workbook and I need to build a sheet that will allow me to choose an employee name and the formula will return all the data related to this employee. I found this forumla to do this:
    =IF(ROWS(...)<=...;INDEX(INDIRECT(...);SMALL(IF(...=...;ROW(...)-ROW(...)+1);ROWS(...)));"")

    But in my workbook, the data is on multiple sheets . How do I adapt this formula to look into 12 sheets?

    Hopefully, that data would be returned in order of the date of the pay.

    Thanks for your help

    file: Test formula on payroll_v3.xlsx


    ps: the sheet names are in french on my computer. sorry if it make some confusion.
    Last edited by Joak; 03-21-2014 at 11:23 AM.

  2. #2
    Registered User
    Join Date
    03-14-2014
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Index across multiple sheets returning multiple values

    the file: Test formula on payroll_v3.xlsx
    Thanks!

  3. #3
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Index across multiple sheets returning multiple values

    Hi, Joak

    From what i see your formula work well on my excel with little change on sheet name.

    Check what result on this formula
    Please Login or Register  to view this content.
    then change your sheet name exactly with that result.

    On my excel "08-02-2014" the result is "Feb", so I will change all tab with "Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec" for 3 digit month.

    Or may be I miss something what exactly what you want?
    Last edited by SDCh; 03-21-2014 at 12:06 PM.
    Click (*) if you received helpful response.

    Regards,
    David

  4. #4
    Registered User
    Join Date
    03-14-2014
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Index across multiple sheets returning multiple values

    Hi SDCh,

    Thanks for your help.

    The formula in "payslip" sheet works find, thans to the help of hemesh on this forum.

    The formula im looking to develop now is on the sheet "Total_employee".
    It would look for an employee name across all the sheets (jan, feb and march) and give all the data related to this employee.

  5. #5
    Registered User
    Join Date
    03-14-2014
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Index across multiple sheets returning multiple values

    I finally found a way around.
    Each employee have no more then 6 rows per month. In my total_employee sheet, I entered the formula for each of the 12 sheets separately. Each sub-table as 6 rows. The total table as 12x6 rows. The result is okay. It return the good data, but with a lot of empty rows. I then applied a macro hiding the empty rows. It will do the job.

    But I still looking for a formula that will allow doing INDEX across multiple sheets and returning multiple values. If it is possible. Thank you for your help. See ya.

+ 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. Index across multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2014, 11:15 AM
  2. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  3. Returning values from multiple sheets
    By KevinThomas in forum Excel General
    Replies: 0
    Last Post: 12-02-2010, 10:39 AM
  4. Replies: 2
    Last Post: 05-05-2010, 06:01 PM
  5. Returning MULTIPLE values with Index and Match
    By Fly in forum Excel General
    Replies: 1
    Last Post: 06-01-2006, 12:55 PM

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