+ Reply to Thread
Results 1 to 9 of 9

Index formula help required

  1. #1
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Index formula help required

    Hi all,

    I need a help in index formula. I have attached the test file. Let me explain the problem.

    Screen 1: This is the determining section. based on the value I have entered, the answers in C column, will be either YES or NO. SO we can have a sequence of answers like, No, No, No and Yes.
    excel 1.JPG

    Screen 2: Now I have a table with a mix answer sequence and have one Output column.
    excel 2.JPG

    Screen 3: Now, I want that based on the screen 1 answers, the function to match the sequence with screen 2 and pick up the value of Output column to the decision field.
    excel 3.JPG

    Can anyone help please??
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Index formula help required

    This formula is wrong:

    =INDEX(A2:C5,B10:F26,5)

    What are you expecting it to return?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Index formula help required

    Hi, thanks for your quick reply.

    I want that, based on the screen 1 answers, the function to match the sequence with screen 2 and pick up the value of "Output" column to the "decision" field.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Index formula help required

    Use this array formula:

    =INDEX($F$11:$F$26,MATCH(1,($B$11:$B$26=$C$2)*($C$11:$C$26=$C$3)*($D$11:$D$26=$C$4)*($E$11:$E$26=$C$5),0))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Index formula help required

    Yes, I know what it is meant to do, but what is the expected answer in that cell? Which output value and why?

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Index formula help required

    Perhaps if you put in a11 =B11&C11&D11&E11 and copy down then put the following in f2 =INDEX(F11:F26,MATCH(C2&C3&C4&C5,A11:A26,0))

    Although it is not so clear what you want

  7. #7
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Index formula help required

    Quote Originally Posted by AliGW View Post
    Yes, I know what it is meant to do, but what is the expected answer in that cell? Which output value and why?
    In the value field (F1), I will input the amount and based on the amount, the answers in the C column will change.

    Now I have a table given in B10 to F 26. There is a column for output. The result of the output should be shown in F2.
    Last edited by avikz; 04-04-2017 at 12:55 PM.

  8. #8
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Index formula help required

    Quote Originally Posted by Glenn Kennedy View Post
    Use this array formula:

    =INDEX($F$11:$F$26,MATCH(1,($B$11:$B$26=$C$2)*($C$11:$C$26=$C$3)*($D$11:$D$26=$C$4)*($E$11:$E$26=$C$5),0))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Your formula worked like Magic. Thanks a lot!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Index formula help required

    You're welcome... and thanks for adding rep.

+ 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: 5
    Last Post: 10-16-2016, 02:33 AM
  2. Replies: 14
    Last Post: 07-13-2016, 06:46 AM
  3. [SOLVED] Index & Match help required
    By DeeEmmEss in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-08-2015, 06:23 AM
  4. [SOLVED] Formula required (Index, Match)
    By nagesh.tvsr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-18-2014, 01:30 AM
  5. Index/Match Excel Formula assistance required
    By coyy in forum Excel General
    Replies: 3
    Last Post: 12-10-2012, 09:21 AM
  6. Index/Match Formula required
    By pauldaddyadams in forum Excel General
    Replies: 1
    Last Post: 01-27-2012, 06:45 AM
  7. Excel 2007 : INDEX/MATCH help required
    By 5foot9 in forum Excel General
    Replies: 1
    Last Post: 07-22-2011, 02:02 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