Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ZB
 
Posts: n/a
Default Number formatting

Hi,
I am need to convert numbers from my excel file to a text file where the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi ZB

i think the following gives you what you're after


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ZB" wrote in message
...
Hi,
I am need to convert numbers from my excel file to a text file where the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB



  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi

i'll try that again ... use


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ZB" wrote in message
...
Hi,
I am need to convert numbers from my excel file to a text file where the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB



  #4   Report Post  
JulieD
 
Posts: n/a
Default

eek .. computer's gone mad - it keeps sending stuff and i promise i'm not
doing it ....

here's the formula

=REPT(" ",15-LEN(A1))&TEXT(A1,"##.00")


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ZB" wrote in message
...
Hi,
I am need to convert numbers from my excel file to a text file where the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB



  #5   Report Post  
ZB
 
Posts: n/a
Default

I came up with an "if" function, but this is a million times more elegant and
a lot less likely to create errors.

Thanks a lot... and have a great weekend!
-ZB

"JulieD" wrote:

eek .. computer's gone mad - it keeps sending stuff and i promise i'm not
doing it ....

here's the formula

=REPT(" ",15-LEN(A1))&TEXT(A1,"##.00")


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ZB" wrote in message
...
Hi,
I am need to convert numbers from my excel file to a text file where the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB






  #6   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback
--
Cheers
JulieD

"ZB" wrote in message
...
I came up with an "if" function, but this is a million times more elegant
and
a lot less likely to create errors.

Thanks a lot... and have a great weekend!
-ZB

"JulieD" wrote:

eek .. computer's gone mad - it keeps sending stuff and i promise i'm not
doing it ....

here's the formula

=REPT(" ",15-LEN(A1))&TEXT(A1,"##.00")


--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"ZB" wrote in message
...
Hi,
I am need to convert numbers from my excel file to a text file where
the
number needs to show up as follows:

###############.##

So for $401.11 the amount formula should read " 401.11"
If the number is negative, it should read " -401.11"

Is this doable?
Thanks
ZB






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the category axis number formatting in a Pivot Ch. Cultcab Charts and Charting in Excel 0 April 19th 05 12:26 AM
How do I do conditional formatting on number formats not patterns. dave55 Excel Discussion (Misc queries) 2 March 22nd 05 02:21 AM
Number formatting Fred Holmes Excel Discussion (Misc queries) 2 February 21st 05 06:02 PM
Pivot Table Drill Down Number Formatting Gregg Riemer Excel Discussion (Misc queries) 1 January 4th 05 10:53 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM


All times are GMT +1. The time now is 02:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"