+ Reply to Thread
Results 1 to 4 of 4

Alternative for nested IF with OR

  1. #1
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Alternative for nested IF with OR

    Hi All,

    is there any other alternative for this matter, (sample attached). more names, group to be added & what im doing is just nested IF with OR
    Please Login or Register  to view this content.
    IFS would be great solution but unfortunately, my office is Excel 2016.

    Thank-You very much
    Attached Files Attached Files

  2. #2
    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,933

    Re: Alternative for nested IF with OR

    Your sample is fairly cryptic. If thats all you are doing, I see nothing wrong with that.

    If you will be having a LOT more options, perhaps a small lookup table, then use vlookup()?
    E
    F
    4
    a ab
    5
    b ab
    6
    c cd
    7
    d cd


    for the extract...
    =IFERROR(VLOOKUP(C4,$E$4:$F$7,2,0),"EE")
    copied down
    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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Alternative for nested IF with OR

    If it ain't broke ...

    There isn't going to be anything shorter for the scenario you have given.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Re: Alternative for nested IF with OR

    Hi, FDibbins, AliGW,

    I am thanking you both for the input. I guess, i will just go ahead use this function.
    will mark this thread to Solved

    Thank-You very much.

+ 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] VBA: Alternative of Nested if required
    By Punnam in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 04-27-2019, 12:51 AM
  2. Too many Nested IF Statements... Alternative?
    By fferro09 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-15-2016, 01:06 PM
  3. [SOLVED] Alternative to Nested if Formula
    By Dlinen in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-30-2016, 03:00 AM
  4. [SOLVED] Nested If Alternative?
    By Waterville in forum Excel General
    Replies: 6
    Last Post: 05-03-2014, 07:00 PM
  5. [SOLVED] Alternative to Nested IF Statement
    By ahs004 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2013, 07:58 AM
  6. alternative to too many nested IF statements
    By lintcoop in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-06-2009, 04:23 PM
  7. is there a db alternative to nested if then?
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2009, 10:59 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