Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
I am looking for a way to align a column by the decimal point. My data is
both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
Use the cutsom format ???.??? Highlight the range you want rightclick
== format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
tried that and it doesn't seem to work. It's my understanding (from reading
other posts) that custom formats only work for numeric data??? "Sandy" wrote: Use the cutsom format ???.??? Highlight the range you want rightclick == format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
You can try this formula to pad blank spaces at the end to make the decimals
line up. A couple of things to note... You will need to use a proportional font such as Courier and the number 5 in the formula refers to thenumber of characters after the decimal. It must be at least as large as the max number of characters after the decimal... -- HTH... Jim Thomlinson "notloiseweiss" wrote: tried that and it doesn't seem to work. It's my understanding (from reading other posts) that custom formats only work for numeric data??? "Sandy" wrote: Use the cutsom format ???.??? Highlight the range you want rightclick == format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
Thanks Jim,
I think you forgot to include the formula you are suggesting...? Lois "Jim Thomlinson" wrote: You can try this formula to pad blank spaces at the end to make the decimals line up. A couple of things to note... You will need to use a proportional font such as Courier and the number 5 in the formula refers to thenumber of characters after the decimal. It must be at least as large as the max number of characters after the decimal... -- HTH... Jim Thomlinson "notloiseweiss" wrote: tried that and it doesn't seem to work. It's my understanding (from reading other posts) that custom formats only work for numeric data??? "Sandy" wrote: Use the cutsom format ???.??? Highlight the range you want rightclick == format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
Well that would help...
=A1& REPT(" ", 5 + FIND(".", A1) - LEN(A1)) -- HTH... Jim Thomlinson "notloiseweiss" wrote: Thanks Jim, I think you forgot to include the formula you are suggesting...? Lois "Jim Thomlinson" wrote: You can try this formula to pad blank spaces at the end to make the decimals line up. A couple of things to note... You will need to use a proportional font such as Courier and the number 5 in the formula refers to thenumber of characters after the decimal. It must be at least as large as the max number of characters after the decimal... -- HTH... Jim Thomlinson "notloiseweiss" wrote: tried that and it doesn't seem to work. It's my understanding (from reading other posts) that custom formats only work for numeric data??? "Sandy" wrote: Use the cutsom format ???.??? Highlight the range you want rightclick == format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
Clever solution, I like it...
I'm still disappointed that Excel doesn't seem to offer an option to align columns by a particular character. The courier limitation is a bit frustrating... Anyway, thanks for the idea, didn't know about the REPT function... "Jim Thomlinson" wrote: Well that would help... =A1& REPT(" ", 5 + FIND(".", A1) - LEN(A1)) -- HTH... Jim Thomlinson "notloiseweiss" wrote: Thanks Jim, I think you forgot to include the formula you are suggesting...? Lois "Jim Thomlinson" wrote: You can try this formula to pad blank spaces at the end to make the decimals line up. A couple of things to note... You will need to use a proportional font such as Courier and the number 5 in the formula refers to thenumber of characters after the decimal. It must be at least as large as the max number of characters after the decimal... -- HTH... Jim Thomlinson "notloiseweiss" wrote: tried that and it doesn't seem to work. It's my understanding (from reading other posts) that custom formats only work for numeric data??? "Sandy" wrote: Use the cutsom format ???.??? Highlight the range you want rightclick == format cells == number tab == custom, then paste this into the textbox. Also look in the help section "Guidelines for custom number formats" Sandy notloiseweiss wrote: I am looking for a way to align a column by the decimal point. My data is both numeric and character. I could make the data all character, but I'm still not sure how to align string data by a particular character. i.e.- 101.23** 1.26* 1.11*** 12.12* 1.05 Help is appreciated. |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal Alignment
Hello, Jim!
You wrote on Fri, 27 Oct 2006 13:02:02 -0700: JT You can try this formula to pad blank spaces at the end to JT make the decimals line up. A couple of things to note... JT You will need to use a proportional font such as Courier But Courier isn't a proportional font! James Silverton Potomac, Maryland E-mail, with obvious alterations: not.jim.silverton.at.comcast.not |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
decimal alignment | Charts and Charting in Excel | |||
Formula for: Format Decimal places? | Excel Discussion (Misc queries) | |||
Excel adds phantom decimal places: why? | Excel Discussion (Misc queries) | |||
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. | Excel Discussion (Misc queries) | |||
Decimal Alignment | Excel Discussion (Misc queries) |