+ Reply to Thread
Results 1 to 4 of 4

IF statement starting with text - multiple criteria

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    SF
    MS-Off Ver
    Excel for Mac 2011 Version 14.2.4
    Posts
    4

    Question IF statement starting with text - multiple criteria

    I am trying to write a formula where if the first letter of a word starts with certain letters, then the formula would populate the cell with either "Economy" or "Other".

    For example, if the text starts with the letter "S" or "U" or" "E" then populate with "Economy", if not then "Other".

    I've only been able to figure out this much...I can't figure out the rest.

    =IF(LEFT(E317262,1)="S","Economy","Other")

    Thanks so much for your help.

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

    Re: IF statement starting with text - multiple criteria

    One way...

    =IF(OR(LEFT(A1,1)={"S","U","E"}),"Economy","Other")
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    SF
    MS-Off Ver
    Excel for Mac 2011 Version 14.2.4
    Posts
    4

    Re: IF statement starting with text - multiple criteria

    Thank you! You've saved me gobs of time. I'm going to post one formula I can't figure out that's been crippling me.

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

    Re: IF statement starting with text - multiple criteria

    You are very welcome, glad it worked out for you and thanks for the feedback

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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