+ Reply to Thread
Results 1 to 6 of 6

Finding where a given value appears on a row of dynamic data and entering data below it

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    87

    Finding where a given value appears on a row of dynamic data and entering data below it

    Hi

    I have a worksheet that has times on row one that change on a daily basis eg A1 would have 6:00 AM , B1 would be 7:00 AM and so on up to 12:00AM.
    Tomorrow, A1 could be 10:00 AM, B1 would be 11:00 am and so on. The time period in all cases is a total of 18 hours.

    I have data that needs to be entered at 7 am, 10am, 1pm and 4pm each day. As stated above, the location of the cells with these times moves every day,
    so im looking for help with code that will:

    1. Find out where eg 7am is located on row 1
    2. In row 2, enter the corresponding data for that time. This is entered manually on another sheet.

    i have attached a workbook which i hope illustrates the situation.

    many thanks.CustProblem.xlsx

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Finding where a given value appears on a row of dynamic data and entering data below i

    Pl see attached file with formula.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Finding where a given value appears on a row of dynamic data and entering data below i

    hi

    Many thanks for the quick response and solution! i think this will work!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Finding where a given value appears on a row of dynamic data and entering data below i

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Finding where a given value appears on a row of dynamic data and entering data below i

    A formula is better for this task, but if you fancy a code.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-19-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Finding where a given value appears on a row of dynamic data and entering data below i

    hi

    Thanks guys, AB33, i agree..a formula is better. Used the "index match" option. Cheers guys

+ 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. Replies: 12
    Last Post: 04-30-2013, 05:40 PM
  2. Finding the Min Positive Value of Dynamic Data
    By GriefEriksson in forum Excel General
    Replies: 4
    Last Post: 11-03-2009, 01:24 PM
  3. [SOLVED] ENTER DATA EXCELL SO RELATED DATA APPEARS
    By VICKIO66 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. ENTER DATA EXCELL SO RELATED DATA APPEARS
    By VICKIO66 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  5. ENTER DATA EXCELL SO RELATED DATA APPEARS
    By VICKIO66 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 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