+ Reply to Thread
Results 1 to 9 of 9

Multiple IF formula

  1. #1
    Forum Contributor
    Join Date
    11-25-2021
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    2,148

    Multiple IF formula

    Hello experts
    I need your expert suggestion to correct this formula.
    Thank you in advance.
    Attached Images Attached Images
    Last edited by RAJESH SHAH; 03-29-2023 at 09:27 AM. Reason: #Solved by Pepe Le Mokko

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Multiple IF formula

    After almost 800 posts you should know that a sheet is worth 1000 pictures...
    Remove the three parenthesis after the last " cancelled" and add two at the end of the formula

  3. #3
    Forum Contributor
    Join Date
    11-25-2021
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    2,148

    Re: Multiple IF formula

    Ok. This is the sample workbook.
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Multiple IF formula

    =IF(D2="URP";"B2C";IF(D2="Export";"Export";IF(D2="Cancelled";"Cancelled";"B2B"))) replace semi colons with commas if needed

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Multiple IF formula

    I think this might work better...

    =IF(D2="URP","B2C",IF(D2="Export","Export",IF(D2="Cancelled","Cancelled","B2B")))
    HTH
    Regards, Jeff

  6. #6
    Forum Contributor
    Join Date
    11-25-2021
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    2,148

    Re: Multiple IF formula

    Thankyou Pepe Le Mokko.

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Multiple IF formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  8. #8
    Forum Contributor
    Join Date
    11-25-2021
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    2,148

    Re: Multiple IF formula

    Thanks jeff. I replaced the : with commas and got it right.

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,070

    Re: Multiple IF formula

    Try, =IFERROR(LOOKUP(D2,{"Cancelled","Export","URP"},{"Cancelled","Export","B2C"}),"B2B")

+ 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] Excel Formula to return multiple values based off of multiple criteria
    By Chase Casey in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-15-2022, 09:21 AM
  2. Replies: 1
    Last Post: 02-12-2021, 07:21 PM
  3. [SOLVED] Retrieving multiple text strings based on multiple criteria (formula update)
    By McKneezy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2019, 08:52 PM
  4. [SOLVED] Formula to count matches between multiple columns on different sheets w/ multiple criteria
    By RICK JAMES in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-05-2019, 03:28 PM
  5. [SOLVED] Formula to count occurrences, multiple ranges, multiple criteria, with wildcard
    By TMMc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2017, 03:27 PM
  6. Replies: 12
    Last Post: 02-10-2014, 11:59 AM
  7. Replies: 0
    Last Post: 11-08-2012, 01:07 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