Mixing Numeric & Text Formats

ice1000

New Member
Joined
May 9, 2006
Messages
33
I have an Excel user that needs to mix a formula with text. The tricky part is that the formating is on a cell that contains a formula and the text formatting needs to be as a subscript.

I know you can do this:

=sum(A1:A10)&"d"

but the user wants the d to appear as a subscript (in the same cell as the formula). I advised her to put it in the cell next to it but she wants to know if it is possible to have it in the same cell.

I don't think it is possible to do since you are mixing data formats. I looked into the text function but the formats specified are for numbers, not text. Additionally, I don't think you could add a text character and still be able to add the numbers.

What do you all think? Possible or not possible?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

jindon

MrExcel MVP
Joined
Aug 21, 2004
Messages
16,995
I don't think it is possible to do since you are mixing data formats. I looked into the text function but the formats specified are for numbers, not text. Additionally, I don't think you could add a text character and still be able to add the numbers.

What do you all think? Possible or not possible?

What you think is correct.

You can only do it constant and string.
So you need to convert it into a text value before you do.
 

Forum statistics

Threads
1,181,658
Messages
5,931,272
Members
436,786
Latest member
Deniel

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
Top