+ Reply to Thread
Results 1 to 5 of 5

Text values to numeric in a new cell

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2011 Mac
    Posts
    5

    Wink Text values to numeric in a new cell

    Good evening.
    After 3 hours I give up. Being a total newbie I have to surrender and ask for a litte help. I have a drop down in my spreadsheet with the values YES, NO, PARTIAL and N/A. Based on the selection I need to make numeric output to another cell where YES=100, NO=0, Partial=50 and N/A="" (I need the values to calculate some scoring) I have been looking a lot at the IF function, but fail to understand how to use several values. Any idea are highly appreciatedplease....

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Text values to numeric in a new cell

    a
    b
    c
    2
    n/a b2: =lookup(a2, {"n/a";"no";"partial";"yes"}, {"",0,50,100})
    3
    no
    0
    4
    partial
    50
    5
    yes
    100
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-14-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2011 Mac
    Posts
    5

    Re: Text values to numeric in a new cell

    Thank you soo much shg. I will try it right away..

  4. #4
    Registered User
    Join Date
    02-14-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2011 Mac
    Posts
    5

    Re: Text values to numeric in a new cell

    Dear Shg - I feel stupid. I canīt figure it out. I have attached the simple spreadsheet. Can you show me how to make it work?. Sorry...
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Text values to numeric in a new cell

    B
    C
    D
    1
    YES
    2
    NO
    3
    PARTIAL
    4
    N/A
    5
    6
    **
    7
    NO
    0
    C7: =LOOKUP(B7, {"n/a";"no";"partial";"yes"}, {"",0,50,100})
    8
    NO
    0
    9
    YES
    100
    10
    PARTIAL
    50
    11
    PARTIAL
    50
    12
    N/A
    13
    YES
    100
    14
    N/A
    15
    YES
    100

+ 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. Applying Formula to assign numeric values to text values in sequential order
    By jmshanahan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-15-2016, 03:04 PM
  2. Replies: 2
    Last Post: 03-01-2016, 08:01 PM
  3. Extract numeric value from a cell where Text and Numeric combined in a cell
    By Chandrahaas in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-07-2014, 10:58 AM
  4. Convert Text Values to Specific Numeric Values
    By lmp101010 in forum Excel General
    Replies: 5
    Last Post: 09-06-2014, 04:00 PM
  5. [SOLVED] Makro with if condition to check for numeric and text values in a cell range
    By Postlki1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2013, 07:53 AM
  6. [SOLVED] Seperate limited text from a cell contaning alpha numeric values
    By Varun13 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-19-2012, 01:43 PM
  7. Applying numeric values in one cell based on text in another
    By Chi_TechWriter in forum Excel General
    Replies: 3
    Last Post: 02-03-2006, 04:15 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