Can a Letter Represent a Value?

Sawyer1206

New Member
Joined
Feb 14, 2019
Messages
8
Brand new to the forum and fairly new to Excel and my question is:

Can I format a cell so when I place a letter it will represent a numerical value in a formula?

Here's the scenario: I want to format a cell so when I type in the letter 'E' a multiplier of '1' is placed in a formula but the letter' 'E' is displayed in the cell. I would need to do the same for 'C' which would represent '.01' in a formula and again with 'M' which would represent .001.

Can this be Done?

[TABLE="width: 1000"]
<tbody>[TR]
[TD]MATERIAL[/TD]
[TD]QUANTITY[/TD]
[TD]PRICE[/TD]
[TD]PER[/TD]
[TD]EXTENSION[/TD]
[TD]LABOR[/TD]
[TD]PER[/TD]
[TD]EXTENSION[/TD]
[/TR]
[TR]
[TD]Example per 1[/TD]
[TD]1
[/TD]
[TD]1.00
[/TD]
[TD]E[/TD]
[TD]1.00[/TD]
[TD]8.0[/TD]
[TD]E[/TD]
[TD]8.0[/TD]
[/TR]
[TR]
[TD]Example per 100[/TD]
[TD]1
[/TD]
[TD]1.00[/TD]
[TD]C[/TD]
[TD]0.01[/TD]
[TD]8.0[/TD]
[TD]C[/TD]
[TD]0.08[/TD]
[/TR]
[TR]
[TD]example per 1000[/TD]
[TD]1[/TD]
[TD]1.00[/TD]
[TD]M[/TD]
[TD]0.001[/TD]
[TD]8.0[/TD]
[TD]M[/TD]
[TD]0.008[/TD]
[/TR]
</tbody>[/TABLE]
 
are you trying to roundup?

so 12.49 would be 12 and 12.5 would be 13 - or all should be 13
use roundup()
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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