Alignment of IF(LEN) within a Cell.

aedctalk

Board Regular
Joined
Oct 9, 2010
Messages
156
Hi! Wondering how i can make the alignment of a IF(LEN) "pretty."

=IF(LEN(O6), O6&" "&Q6&" $"&S6, "")

O6 is a persons name. q6 and s6 contain numbers....

Then i'm pulling 20 of these if len cells into 1 cell

So i can have a list of all names and numbers..

but alignment is horrible.. the numbers are all ove the place

So i was wondering... is there a way to make a HTML type of table within an IF(LEN) in order to align and center the numbers at like 50% and 80% or something.. does excel even recognize html?



Or any other way to align my numbers within the IF(LEN)?

Thanks :)
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
The easiest way to align different pieces of data is to put them in different cells.
Hiding Columns P and R will bring your data into a nice alignment. (White borders ?)
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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