+ Reply to Thread
Results 1 to 4 of 4

help on simple IF formula

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    59

    help on simple IF formula

    Hi Guys, happy new year.

    Just wanted to ask help. I wanted to get the value on the 2nd column if i will encode the code on the first column. please refer to the table below. Thanks a lot.

    1st column 2nd column
    ME or S 50,000.00
    ME1 or S1 75,000.00
    ME2 or S2 100,000.00
    ME3 or S3 125,000.00
    ME4 or S4 150,000.00

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

    Re: help on simple IF formula

    Your layout is not sensible. Don't put two possible values in one cell - list them separately - then it's just a case of a simple VLOOKUP or INDEX MATCH.
    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.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: help on simple IF formula

    Assume A1= M,M1,M2,M3,M4 or S,S1,S2,S3,S4

    Try

    B1
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: help on simple IF formula

    Or try:

    =CHOOSE(IFERROR(RIGHT(A1,1)+1,1),50000,75000,100000,125000,150000)

+ 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. Simple Formula When Input for Formula is null
    By ulala2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-25-2017, 10:27 AM
  2. Simple If/Min Formula
    By Aussibuilder50000 in forum Excel General
    Replies: 3
    Last Post: 02-12-2017, 02:06 AM
  3. [SOLVED] Simple IF formula
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2014, 05:31 PM
  4. Simple 'IF' formula
    By sandeepafpl in forum Excel General
    Replies: 2
    Last Post: 12-29-2012, 01:38 AM
  5. Replies: 4
    Last Post: 12-07-2012, 11:49 AM
  6. [SOLVED] Formula--rather simple one
    By WandaSG in forum Excel General
    Replies: 5
    Last Post: 01-19-2006, 12:45 PM
  7. Simple formula help
    By CLR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 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