+ Reply to Thread
Results 1 to 3 of 3

Trouble with Index(match) - I think!

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    25

    Trouble with Index(match) - I think!

    I am struggling to figure this out, and am turning to the gurus for assistance.

    I have a sample workbook I have attached which hopefully helps.

    Essentially, I have two pages, an input sheet and a load sheet with various random data used to load into a 3rd party system.

    The input sheet contains various info and is used to fill in the load sheet.

    In this example, I am trying to get #Load-Location!F5 to match the name in I2:I7 on the #Input-Location IF and ONLY IF one of the cells in B2:B7 is unhashed(Blank). At the same time, the info in #Load_location!F5 is concatenated with #Load_location!H7.

    I can only get it to work if I leave the "#" in the formula I currently have in #Load-Location!F5 (=INDEX('#Input-Location'!I2:I7,(MATCH("#",'#Input-Location'!B2:B7,0))), if I try to make the MATCH(""....) I get a #N/A returned.

    Hopefully someone smarter than I can figure out a solution.

    I thank you all in advance.

    v/r

    Tim
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Trouble with Index(match) - I think!

    Quote Originally Posted by n3mcx1 View Post
    In this example, I am trying to get #Load-Location!F5 to match the name in I2:I7 on the #Input-Location IF and ONLY IF one of the cells in B2:B7 is unhashed(Blank). At the same time, the info in #Load_location!F5 is concatenated with #Load_location!H7.

    I can only get it to work if I leave the "#" in the formula I currently have in #Load-Location!F5 (=INDEX('#Input-Location'!I2:I7,(MATCH("#",'#Input-Location'!B2:B7,0))), if I try to make the MATCH(""....) I get a #N/A returned.

    Tim
    If i am not wrong you are trying to match blank cell in B2:B7 and want to return Corresponding cells value from I2:I7, if so than you can use
    copy paste below then hold control and shift together and then hit enter.
    =IFERROR(INDEX('#Input-Location'!I2:I7,MATCH(TRUE,'#Input-Location'!B2:B7="",0)),"")
    if there are no blanks in B2:B7 then above formula will remain blank.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Trouble with Index(match) - I think!

    Thanks Hemesh.

    This worked well for my sample spreadsheet, but when I went to put it the real spreadsheet it didn't work at all. I think I have some cell formatting issues, and am investigating further.

    In principal, it should work both places.

    Thanks again for your help.

    tks,

    Tim

+ 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. Trouble with Index-Match getting #REF!
    By KellyAustralia in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-20-2014, 03:14 AM
  2. [SOLVED] INDEX MATCH Trouble
    By jjislas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 03:46 PM
  3. Trouble with index and match formula
    By mrggutz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2013, 11:02 PM
  4. [SOLVED] Trouble with Index and match formula
    By mdot218 in forum Excel General
    Replies: 2
    Last Post: 04-03-2012, 10:41 AM
  5. INDEX(...MATCH(IF...))) Function trouble
    By reaper_2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2011, 02:19 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