+ Reply to Thread
Results 1 to 9 of 9

Vlookup and Nested Ifs

  1. #1
    Registered User
    Join Date
    01-24-2018
    Location
    Kansas City
    MS-Off Ver
    2016
    Posts
    7

    Vlookup and Nested Ifs

    I need to return a value (thinking vlookup here), then if the value is not found, I have a series of nested ifs. How do I combine into one formula?
    Last edited by AliGW; 10-01-2019 at 12:50 AM. Reason: Solved tag added - no need to edit thread title or add solved to post. Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Vlookup and Nested Ifs

    Use IFERROR
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Vlookup and Nested Ifs

    That is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-24-2018
    Location
    Kansas City
    MS-Off Ver
    2016
    Posts
    7
    Quote Originally Posted by TMS View Post
    Use IFERROR
    Wow - that was easy enough! Now, what formula can be combined with that formula to return either the result of that formula or the best data option/score from a series of similar formulas? I’m assigning a score of A thru D based on three measures (ifs), need to assign only one final score (the best of the three), but replace that with the score from an exception table (vlookup) if present.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Vlookup and Nested Ifs

    If the VLOOKUP doesn't error, that's what you get. If it does, error, you get your nested if formula.

    https://support.office.com/en-gb/art...6-63f3e417f611

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Vlookup and Nested Ifs

    Sorry, I may have misunderstood your question. Maybe use numeric values rather than alpha and then you could use MAX.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Vlookup and Nested Ifs

    I think you need to mark this solved and follow up the rider in your other (specific) thread on the subject. Otherwise one or the other might be considered a duplicate and closed.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  8. #8
    Registered User
    Join Date
    01-24-2018
    Location
    Kansas City
    MS-Off Ver
    2016
    Posts
    7
    Quote Originally Posted by TMS View Post
    Sorry, I may have misunderstood your question. Maybe use numeric values rather than alpha and then you could use MAX.
    I thought about MAX... Having a final score of A thru D is non-negotiable. I’m looking for a single, clean formula, but perhaps just need to separate. I’m not an Excel ninja - just a forum solution thief! Thanks!

  9. #9
    Registered User
    Join Date
    01-24-2018
    Location
    Kansas City
    MS-Off Ver
    2016
    Posts
    7
    Quote Originally Posted by TMS View Post
    I think you need to mark this solved and follow up the rider in your other (specific) thread on the subject. Otherwise one or the other might be considered a duplicate and closed.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
    Do you have suggestions for marking as solved via mobile?

+ 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. Trying to Convert Excel nested IF to Access nested IIF
    By bbeards in forum Access Tables & Databases
    Replies: 5
    Last Post: 10-10-2018, 10:33 PM
  2. [SOLVED] Nested IF and nested Concatenation formula
    By VisionSmart in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-09-2018, 08:00 AM
  3. [SOLVED] Nested vlookup or nested IFAND function?
    By jeptik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2017, 02:27 AM
  4. Easier Way To Decipher Nested Nested IF's
    By Vladamir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2015, 03:37 PM
  5. [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
  6. How to reduces Nested IF code(144 Nested IF) to achive same functionality
    By jobseeker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2014, 09:45 AM
  7. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 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