+ Reply to Thread
Results 1 to 4 of 4

How to populate the cells in one sheet with data taken from a user selected second sheet

  1. #1
    Registered User
    Join Date
    05-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to populate the cells in one sheet with data taken from a user selected second sheet

    I have a Spread sheet containing multiple sheets. There is a user sheet and then multiple read only product sheets

    I want the user to be able to select a product name on the user sheet and then to auto populate other cells in this sheet with data taken from the corresponding product sheet.

    I can do this using the INDIRECT function

    For example I have a data validated list in cell B1 that the user selects a product from and, as the sheets are given the same name as the products, the following gives me the data shown on that sheet in cell B6

    INDIRECT($B$1&"!B6")

    And that's great but I want to now copy this code down to the next 100 rows and the B6 cell reference doesnt auto increment.

    So

    Is there a better way of doing this or can some one tell me how to easily copy, and auto increment, the code to other cells.

    Thanks
    Ian

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: How to populate the cells in one sheet with data taken from a user selected second she

    Can you upload sample file.
    There some many different way.

    It better have sample workbook to help you
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Registered User
    Join Date
    05-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to populate the cells in one sheet with data taken from a user selected second she

    Here you are.

    Note I have copied the Indirect equation down to demonstrate the problem. Ideally I would copy this equation down, and it would auto increment so that I would see -2, -3 ,-4 etc

    Thanks
    Ian
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: How to populate the cells in one sheet with data taken from a user selected second she

    Ok

    I had a good look at it.
    I think this formula that what you looking for.
    Sheet1 cell A4 =INDIRECT($B$2&"!A"&ROW(A2)) then copy down

+ 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