+ Reply to Thread
Results 1 to 3 of 3

Populate row of cells on one sheet depending on value in one cell on other sheet

  1. #1
    Forum Contributor
    Join Date
    11-24-2013
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    104

    Populate row of cells on one sheet depending on value in one cell on other sheet

    Hi guys

    Can anyone help with the attached spreadsheet?

    I want to populate "selections" sheet with data from the previous sheet (it will be the date) depending on the value of a cell in column G. You will see I have already got the data from 27th April into my selections sheet but wondered if it can be done by a formula to save me copy and paste time?

    Many Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Populate row of cells on one sheet depending on value in one cell on other sheet

    That will be fiddly with a formula as the number of matches varies for each day on your Selections spreadsheet.
    If you have the dates in column A and the same number of matches per day that would simplify things.
    As it stands now VBA would be your best solution.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Populate row of cells on one sheet depending on value in one cell on other sheet

    What determine teh values in G? where do they come from and how do they get there?

    This will pull what you want, based on the date you enter inA675. Copy across and down as far as needed
    =INDEX(INDIRECT("'"&"*"&$A$675&"'!$A:$L"),MATCH(Selections!$G677,INDIRECT("'"&"*"&$A$675&"'!$G:$G"),0),COLUMN(A1))

    For the next date, you will need to change the $A$675 reference
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Lock certain cells in a row, depending on another cell in the same row, & apply to sheet
    By rosemaryfraser in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2016, 05:47 PM
  2. [SOLVED] IF forumla - need to populate a cell on one sheet depending on range of cells in another
    By Emma2902 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-14-2012, 07:43 AM
  3. Populate Data From One Sheet to Another Depending on Multiple Conditions
    By Moco123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2012, 01:43 PM
  4. Replies: 3
    Last Post: 05-03-2012, 11:01 AM
  5. Replies: 4
    Last Post: 03-01-2012, 01:05 PM

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