+ Reply to Thread
Results 1 to 5 of 5

Mathematic question

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Mathematic question

    How would I input a number, 1 through 4, into one column and then have that next column read that number and then turn it into a new number where 1 = .6, 2 = .8, 3 =1, and 4 = 1.2. Is it possible to do that?

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Mathematic question

    You could make a lookup table somewhere on the spreadsheet and then use

    =IF(A1<>"",LOOKUP(A1,E1:F4),"")

    Please Login or Register  to view this content.
    or you could imbed the lookup table directly into the function

    =IF(A1<>"",LOOKUP(A1,{1,2,3,4},{0.6,0.8,1,1.2}),"")
    HTH
    Regards, Jeff

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mathematic question

    If your data is in column A, the new number will be in column B (using Jeff's formula above) You cannot use formulas to change the number in the cell. If you want to do that, you'll need to use VBA. Is that what you want?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    05-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Mathematic question

    Thanks so much Jeff! That did exactly what I needed it to! You're a lifesaver!

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Mathematic question

    You're very welcome...glad you got it all sorted out and thanks for the feedback

+ 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