+ Reply to Thread
Results 1 to 2 of 2

Looking up a string value for multiple adjacent cells

  1. #1
    Registered User
    Join Date
    05-15-2019
    Location
    United States
    MS-Off Ver
    365
    Posts
    8

    Looking up a string value for multiple adjacent cells

    Hello,

    I am trying to achieve the desired result in the attachment from the top default. I need to mine a value string like in F3 for a value that may be in A5:D5. Any value that is mined needs to fall into the same level as it's under in sheet 1 and if it is before level 4 all cells after it need to be left blank. Please note that the value from the string in sheet 2 is irrespective of the row in sheet 1. This is a model for sheets with about 50,000 rows so I would love an automated way to do this. Any advice? Thank you!

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Looking up a string value for multiple adjacent cells

    Hi

    in G3 to be copied across

    =IFERROR(LOOKUP(-1,-SEARCH(INDEX($A$3:$D$5,,MATCH(G$2,$A$2:$D$2,0)),$F3),INDEX($A$3:$D$5,,MATCH(G$2,$A$2:$D$2,0))),"")

    Regards
    Attached Files Attached Files
    Last edited by canapone; 05-15-2019 at 10:06 AM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

+ 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. Select multiple multiple cells adjacent to a date and populate a table
    By fedeboja in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-21-2018, 05:51 PM
  2. [SOLVED] Split a string in a cell and copy splitted characters to adjacent cells
    By buhnen in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-17-2017, 02:01 PM
  3. Replies: 3
    Last Post: 12-10-2015, 12:53 PM
  4. Replies: 10
    Last Post: 11-28-2012, 08:06 AM
  5. Replies: 4
    Last Post: 01-13-2012, 07:39 AM
  6. matching string from a list and copying adjacent cells
    By Derivatives in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2011, 11:07 AM
  7. Copy formulas to adjacent columns - multiple cells and multiple sheets
    By swanseaexcel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-12-2011, 06:21 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