+ Reply to Thread
Results 1 to 3 of 3

If cell equals a text then insert a number, (text cell comes from a data validation)

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    Fort Lauderdale
    MS-Off Ver
    2010
    Posts
    10

    If cell equals a text then insert a number, (text cell comes from a data validation)

    I have created a data validation cell (user must choose B, C, or D). I need a different cell to automatically fill in a number depending on the letter chosen. For example, if the user chooses B, then the cell should equate to 0.57. If the user chooses C then the value should read 0.85. Thank you,

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If cell equals a text then insert a number, (text cell comes from a data validation)

    Try on these lines..

    =LOOKUP(A1,{"B","C","D"},{0.57,0.85,0.97}
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-15-2014
    Location
    Fort Lauderdale
    MS-Off Ver
    2010
    Posts
    10

    Re: If cell equals a text then insert a number, (text cell comes from a data validation)

    Whoo hoo!!! That was perfect!! Thank you so much Ace_XL!!

+ 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. If Cell equals text than take networkdays and add by a number
    By sclasen24 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-19-2013, 07:20 PM
  2. Replies: 4
    Last Post: 06-24-2013, 02:16 PM
  3. Entered text value equals a number I specify in another cell
    By JE McGimpsey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] Entered text value equals a number I specify in another cell
    By Dave S. in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. [SOLVED] Entered text value equals a number I specify in another cell
    By Dave S. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2005, 06: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