Superscript text formatting in a formula

chris-evans

Board Regular
Joined
Feb 19, 2002
Messages
73
Hi all

I have a formula that pulls through a text string and puts '(1)' at the end of it. I want to format the (1) as superscript. If I had typed just text into a cell this is simple to do, but as this is a formula you cannot format a part of the text string just by selecting format cells. The formula I am using is as follows:

=Prior_Period&" (1)"

Is it possible to use the following? If so how can I format as superscript!?

=Prior_Period & Text(" (1)",[format as superscript])

Any help or thoughts would be appreciated.

Thanks

Chris
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
AFAIK, differently formatting a part of the result of a formula is not possible. Can you use an adjacent cell and format that cell itself?
 
Upvote 0
If it is always a 1 that you want superscripted, you could try the following:

=Prior_Period & CHAR(185)
 
Upvote 0
So for your example, you would need:

=Prior_Period&" (" & char(185) & ")" to get the brackets
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,034
Members
448,940
Latest member
mdusw

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