ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   question about superscripting (https://www.excelbanter.com/excel-discussion-misc-queries/24587-question-about-superscripting.html)

Wazooli

question about superscripting
 
I am using the following formula to generate a replica of the trendline
information for a scatter plot:

="y = " & TEXT(intercept,"##0.0##x") & IF(slope0," +"," ") &
TEXT(slope,"##0.0##") & CHAR(10) & "R2 = " & TEXT(rsquared,"##0.0##"),

where intercept, slope & rsquared are calculated separately.

Is there a way to superscript the "2" in the R2 part? I cannot format as I
usually would (ctr-1 does nothing). Is there a CHAR equivalent of
superscripting? If so, what is the CHAR equivalent of undoing the
superscript afterwards?

wazooli

Wazooli

nevermind - saw th epost by bernard regarding char(178). works great.

"Wazooli" wrote:

I am using the following formula to generate a replica of the trendline
information for a scatter plot:

="y = " & TEXT(intercept,"##0.0##x") & IF(slope0," +"," ") &
TEXT(slope,"##0.0##") & CHAR(10) & "R2 = " & TEXT(rsquared,"##0.0##"),

where intercept, slope & rsquared are calculated separately.

Is there a way to superscript the "2" in the R2 part? I cannot format as I
usually would (ctr-1 does nothing). Is there a CHAR equivalent of
superscripting? If so, what is the CHAR equivalent of undoing the
superscript afterwards?

wazooli



All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com