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?
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?
You could make a lookup table somewhere on the spreadsheet and then use
=IF(A1<>"",LOOKUP(A1,E1:F4),"")
or you could imbed the lookup table directly into the functionPlease Login or Register to view this content.
=IF(A1<>"",LOOKUP(A1,{1,2,3,4},{0.6,0.8,1,1.2}),"")
HTH
Regards, Jeff
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
Thanks so much Jeff! That did exactly what I needed it to! You're a lifesaver!
You're very welcome...glad you got it all sorted out and thanks for the feedback
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks