+ Reply to Thread
Results 1 to 3 of 3

Text to equal value in separate cell

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Text to equal value in separate cell

    Hi,

    I am creating a spreadsheet for building audits. In one column called "Condition" I have a drop down list to choose the condition of items in the building.

    The three options are: Good, Average and Poor. I need these options to have a numerical value that will automatically appear in the "Rating" column.

    Good = 1
    Average = 2
    Poor = 3

    For example: Once I have selected "Average" in condition column I need the rating column to contain a 2 excel.JPG

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Text to equal value in separate cell

    take a look at the attachment and figure out for yourself if it is humanly possible to see what is in it.

    as far as your issue is concerned (going by the text), you can use a simple IF statement to get your desired result. if Condition is in A1, you can use something like the following in B1:

    =if(a1="Good",1,if(a1="Average",2,if(a1="Poor",3,"")))
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Text to equal value in separate cell

    Sorry, it's my first time posting in a forum and I wasn't sure about the attachment.

    Thankyou for the formula though

    Chloe

+ 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