Question about Excel Recognizing Letter to Mean Certain Formula

jwing1979

New Member
Joined
May 23, 2018
Messages
2
I need to see if I can get Excel to recognize a letter in a cell to mean a specific formula when it sees it in that particular cell. Here's what I am talking about:

I want it to see the letter Q in the cell to know that it is suppose to divide the number by 3, when I put the letter A in the cell it is suppose to divide the number by 12.

Can it do that?

I appreciate the help on this. Thank you
 
Last edited by a moderator:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Welcome to the board.

Your question is not quite clear. Where are the numbers you want to divide and where are the letters that tell the formula which divisor to use?
 
Upvote 0
They are in form like this below. The top yellow line would have the A or Q and it is to divide the bottom line number by 3 if it's Q or 12 if it's A. That will give me a final number that will go below it.[TABLE="width: 92"]
<colgroup><col width="123" style="width: 92pt; mso-width-source: userset; mso-width-alt: 4498;"> <tbody>[TR]
[TD="class: xl68, width: 123, bgcolor: transparent"]Current MA[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"](A / Q / M)[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: yellow"] A or Q[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]MA Cost[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: yellow"] [/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]New MA[/TD]
[/TR]
[TR]
[TD="class: xl67, bgcolor: yellow"] [/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]Savings[/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: yellow"][TABLE="width: 92"]
<colgroup><col width="123" style="width: 92pt; mso-width-source: userset; mso-width-alt: 4498;"> <tbody>[TR]
[TD="class: xl66, width: 123, bgcolor: yellow"]#[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: yellow"]Final #[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,225,292
Messages
6,184,107
Members
453,213
Latest member
redchief

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