+ Reply to Thread
Results 1 to 5 of 5

Adding another true_value to an IF Formula

  1. #1
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Adding another true_value to an IF Formula

    Hello all,
    Im trying to add another true_value onto this following formula:

    =IF(OR(RIGHT(A2,5)={"396OL","400OL"}),"101OL",RIGHT(A2,5))

    I have attached a sample workbook. On the left side is my current formula and on the right will be result I'd like to achieve.

    My current formula will do the following
    396OL will convert to 101OL
    400OL will convert to 101OL
    If false then keep the last 5 values from the original code.

    But Id like to place in the following true_value:
    If 413OL then convert to 103OL NOT 101OL
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: Adding another true_value to an IF Formula

    Try another IF nested in previous one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

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

    Re: Adding another true_value to an IF Formula

    One way... in G2:

    =IF(F2="","",IFERROR(LOOKUP(RIGHT(F2,5),{"396OL","400OL","413OL"},{"101OL","101OL","103OL"}),RIGHT(F2,5)))
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 11-02-2018 at 04:42 AM.
    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

  4. #4
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Adding another true_value to an IF Formula

    Thank you to both of you, much appreciated!

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,640

    Re: Adding another true_value to an IF Formula

    Glad to hear that, and thanks for marking thread solved and for reputation point

+ 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: 4
    Last Post: 08-06-2018, 07:54 AM
  2. Adding Hyperlink formula to existing formula
    By Shawna11 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-18-2018, 01:46 PM
  3. Adding a Date Formula to existing formula
    By bdav1216 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2016, 08:21 PM
  4. [SOLVED] Formula for adding a percentage from one cell and adding the total of 2 others
    By Kandra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 06:48 AM
  5. adding Indirect formula to my current sum if array formula
    By Eastbay2 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-13-2013, 09:41 AM
  6. Replies: 1
    Last Post: 02-24-2013, 06:27 PM
  7. Replies: 8
    Last Post: 03-21-2012, 12:04 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