+ Reply to Thread
Results 1 to 3 of 3

If function

  1. #1
    Registered User
    Join Date
    08-25-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    If function

    Hello......

    I need help with below spreadsheet

    12345876
    17889899
    18899755
    88999987
    66778889
    77776556
    How do I write an if function that states if A2 begins with 1 then B2 should be SPA if A2 begins with 8 then B2 is GBP etc.
    Last edited by Annbc; 07-04-2014 at 11:30 PM. Reason: spelling error

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: If function

    =if(left(a2,1)*1=1,"SPA",if(left(a2,1)*1=8,"GBP",""))
    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    08-25-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: If function

    Thanks it worked.

+ 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