+ Reply to Thread
Results 1 to 9 of 9

returning table data based on 3 criteria using INDEX and nested IF

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    returning table data based on 3 criteria using INDEX and nested IF

    I have carried out the same steps as per the instructions via the following youtube video but i cannot seem to the formula to work when i add in a 3rd IF criteria

    I tried to adapt to a IF(AND... but this did not work for me either

    Can anybody help me with this as i really need to get this to work

    the formula looks like this

    a. using IF(... for 3 criteria
    Please Login or Register  to view this content.
    b. using IF(AND...
    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    06-05-2015
    Location
    Manchester, UK
    MS-Off Ver
    2016
    Posts
    94

    Re: returning table data based on 3 criteria using INDEX and nested IF

    This isn't how you nest multiple criteria in an IF statement. The IF statement should take the following form:

    =IF(criteria, value if true, value if false)

    But yours looks like so:

    =IF(criteria, value if true, value if false, new if statement...

    You need to nest your IF statements correctly, but to help it would be useful to upload a sample workbook with sensitive data removed.

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    Manchester, UK
    MS-Off Ver
    2016
    Posts
    94

    Re: returning table data based on 3 criteria using INDEX and nested IF

    Or alternatively you could do it like so:

    =IF(AND(criteria1, criteria2, criteria3),value if true, value if false)

  4. #4
    Registered User
    Join Date
    06-10-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    Re: returning table data based on 3 criteria using INDEX and nested IF

    hi seasider89,

    thanks for your response

    a. re correct nesting of IF criteria, according to the formula excel bar i am correctly nesting my 3 IF tests

    b. i have tried using the IF(AND as part of this nested formula as it sounds like the way to go but i cant get this to work at all

    i have attached a sample spreadsheet which shows this problem and what io am trying to achieve

  5. #5
    Registered User
    Join Date
    06-10-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    Re: returning table data based on 3 criteria using INDEX and nested IF

    how do i upload a file? sorry i am new to this site and cannot see the upload file button

  6. #6
    Registered User
    Join Date
    06-10-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    Re: returning table data based on 3 criteria using INDEX and nested IF

    test-list.xlsx

    see attached test file to see what i am trying to achieve

    any help would be welcome, thanks

  7. #7
    Registered User
    Join Date
    06-10-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    Re: returning table data based on 3 criteria using INDEX and nested IF

    is anybody able to help me with this?

  8. #8
    Registered User
    Join Date
    06-05-2015
    Location
    Manchester, UK
    MS-Off Ver
    2016
    Posts
    94

    Re: returning table data based on 3 criteria using INDEX and nested IF

    Can you explain what exactly you are trying to acheive with the formula, and based on the data what you expect the correct formula to return?

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: returning table data based on 3 criteria using INDEX and nested IF

    There is a small error, one of the ranges stretches all the way to 17.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

+ 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. [SOLVED] Index, Match, or VLoopup? Returning a table value based on criteria from two drop down's
    By jkwlvsky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2015, 06:40 PM
  2. [SOLVED] Nested Sumif's or how to sum data based on nested criteria
    By dlietz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2014, 11:36 AM
  3. Returning data in one table based on the values from another table
    By excelignorant in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-24-2013, 04:12 AM
  4. Index Match based on 2 Criteria only returning 1 match
    By stsanders22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 11:26 PM
  5. Returning multiple rows of data based on certain criteria
    By ghurhu in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-19-2012, 03:54 AM

Tags for this Thread

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