+ Reply to Thread
Results 1 to 5 of 5

Match Index not working.

  1. #1
    Registered User
    Join Date
    01-23-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    18

    Match Index not working.

    Hello,

    Please Login or Register  to view this content.
    I need a macro with above formula for my large file to be executed with ease, I need to add one more condition but i am unable to do that, like
    1. $B$1:$B$15=2001, (already there)
    2. $B$1:$B$15=1001, (already there) &
    3. $B$1:$B$15=1101, (add new)

    How to add that?
    data file attached.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Match Index not working.

    Instead of asking correction in your formula, please explain us what you are trying to do for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  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,929

    Re: Match Index not working.

    If the above already works, then maybe this?

    {=IFERROR(INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=2001,$C$1:$C$15),0)),IFERROR(INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=1001,$C$1:$C$15),0)),INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=1101,$C$1:$C$15),0)))}
    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

  4. #4
    Registered User
    Join Date
    01-23-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Match Index not working.

    Quote Originally Posted by FDibbins View Post
    If the above already works, then maybe this?

    {=IFERROR(INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=2001,$C$1:$C$15),0)),IFERROR(INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=1001,$C$1:$C$15),0)),INDEX($A$1:$A$15,MATCH(C2,IF($B$1:$B$15=1101,$C$1:$C$15),0)))}
    Thanks it has resolved one thing, how about having a macro which will ease my work, i have attached the data file for reference, Please have a look.
    Thanks in advance for your support.

  5. #5
    Registered User
    Join Date
    01-23-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Match Index not working.

    Quote Originally Posted by :) Sixthsense :) View Post
    Instead of asking correction in your formula, please explain us what you are trying to do for better understanding
    I need to have macro which will speed up work on the sheet instead of dragging this formula, macro will do all the correction on a go,

+ 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