excel 2007

Bluesword

New Member
Joined
Mar 29, 2009
Messages
47
How do I assign a cell containing a single letter and a cell containing a numerical value. I want to be able to input a letter and get its assigned numerical output in a different cell. Can someone write me a formula for this?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Can you provide an example? Are you saying that if you enter the letter A in cell A1, in B1 you want to see 1? And if you put D in A1, you want to see 4 in B1?
 
Upvote 0
Your best bet in that case would be to create a table with two columns. A through Z in the first column, then your custom number in the second column. You could then lookup the appropriate value using a VLOOKUP formula.
 
Upvote 0
Or I think you can use named ranges also.
Give A to Z names to ranges and refer that ranges in your formulas etc.
 
Upvote 0
Hmmmm, do your values increment in lots of 1 or is it a completely custom list.

Example

A=9, B=10, C=11

Or

A=9, B=4, C=92

If it is Option A you can use mvptomlinsons original formula to grab the ASCII code and just change the 64 to get to the starting number you require.
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,844
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top