excel 2007 make number appear square/cubed

johnny52

Active Member
Joined
Oct 13, 2006
Messages
333
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Hey

In excel 2007 is there a way to put two numbers into a cell and
make one smaller and raised to appear squared or cubed

say I have two numbers 75 and 87

I would like the 75 normal format but the 87 to appear next to it smaller and raised
higher up.......I tried concatenate,exact,absolute....but not really sure if this can be done.

thanks everybody
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
It should be possible using formatting on just the cell you want. So if you just highlight 87 in the formula bar and format that to superscript it should give you what you want.
 
Upvote 0
Not if the cell contains a formula.
Otherwise a macro to convert formula to text value, then you can superscript part of it. So a macro might include:
Code:
With Selection
.NumberFormat = "@"
.Value = .Text
.Characters(Start:=3, Length:=2).Font.Superscript = True
End With
 
Upvote 0
don't really want to use a macro....the worksheet I'm using has two columns of numbers
just always want that 2nd column to appear in the first column smaller and raised

not sure what superscript does either

Thanks again
 
Upvote 0
Superscript makes the text/number about half the size of normal text/numbers and appear at the top of the cell.
 
Upvote 0
ok superscript worked...but if I concatenate the two cells the second number goes back
to it's regular size

I like one regular and the second superscipt all in one cell...only a macro

makes this work ?

Thanks !
 
Upvote 0
If you're using a formula to concatenate the two cells, then only a macro will work.
You could put the macro from P45CAL into a Selection_Change or Worksheet_Calculate event so it happens automatically.
 
Upvote 0
so if I have 87 in cell a1 and 74 in b1

how would your macro look then......As you said it will only work this way
because I have that concatenate in cell c1

Thanks Again for the help
 
Upvote 0
well

I took out the concatenate formula.....put the numbers back to 2 cells
superscripted the second number
then right aligned one left aligned the other one
then hid the gridlines on the specific area of worksheet...... patterned and bordered it white/gray

on the printout it looks ok...........not a macro but it works for me

Thanks Everybody
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

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