Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default cusotm formats

I have a bunch of custom formats that I use that were created by others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total =" in
front of it, but I only know how to do that for simple formats, such as an
integer. I tried modifying one of those custom formats with "total =" and a
spacebar in front of them, similar to how I use "total =" 0, when it is an
integer. But it did not work. So, the question is, if I want to modify an
existing custom format but just want to put some text in front of it, how do
I do that?

Thanks!
Dean


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default cusotm formats

not sure what you mean, how about a specific example.

--


Gary


"Dean" wrote in message
...
I have a bunch of custom formats that I use that were created by others. They
have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total =" in front
of it, but I only know how to do that for simple formats, such as an integer.
I tried modifying one of those custom formats with "total =" and a spacebar in
front of them, similar to how I use "total =" 0, when it is an integer. But
it did not work. So, the question is, if I want to modify an existing custom
format but just want to put some text in front of it, how do I do that?

Thanks!
Dean



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default cusotm formats

Dean

Put the space between = and " like "Total = "0


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 10:49:23 -0800, "Dean" wrote:

I have a bunch of custom formats that I use that were created by others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total =" in
front of it, but I only know how to do that for simple formats, such as an
integer. I tried modifying one of those custom formats with "total =" and a
spacebar in front of them, similar to how I use "total =" 0, when it is an
integer. But it did not work. So, the question is, if I want to modify an
existing custom format but just want to put some text in front of it, how do
I do that?

Thanks!
Dean


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default cusotm formats

i was wondering if i should post that, but wasn't sure if that's what the op
wanted.

--


Gary


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Dean

Put the space between = and " like "Total = "0


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 10:49:23 -0800, "Dean"
wrote:

I have a bunch of custom formats that I use that were created by others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total =" in
front of it, but I only know how to do that for simple formats, such as an
integer. I tried modifying one of those custom formats with "total =" and a
spacebar in front of them, similar to how I use "total =" 0, when it is an
integer. But it did not work. So, the question is, if I want to modify an
existing custom format but just want to put some text in front of it, how do
I do that?

Thanks!
Dean




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default cusotm formats

Just a guess, but looks OP wants a space before the digits.


Gord

On Fri, 22 Dec 2006 14:42:12 -0500, "Gary Keramidas" <GKeramidasATmsn.com
wrote:

i was wondering if i should post that, but wasn't sure if that's what the op
wanted.


Gord Dibben MS Excel MVP


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default cusotm formats

i had about the same response all typed up, and then figured maybe i better ask
for more info. this is way too simple for an mvp, though. someday i hope to know
half as much as you guys.

--


Gary


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Just a guess, but looks OP wants a space before the digits.


Gord

On Fri, 22 Dec 2006 14:42:12 -0500, "Gary Keramidas" <GKeramidasATmsn.com
wrote:

i was wondering if i should post that, but wasn't sure if that's what the op
wanted.


Gord Dibben MS Excel MVP



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default cusotm formats

Thanks, guys, I just figured it out. What I had was fine, but I was
looking at a cell whose value was zero. Apparently, if the cell's value is
zero, the "totals =" is suppressed. I'm not sure why. It's as if the
custom format knows to suppress the text that I put in front of it, which
does seem odd. Can someone explain how I could also have that text print out
even if the value is zero?

Here's the actual format I tried it with:

"Total =" _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_)

Please don't waste your time explaining the details of that custom format.
I don't need to know much more than that my client likes it!

Thanks!
Dean

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Dean

Put the space between = and " like "Total = "0


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 10:49:23 -0800, "Dean"
wrote:

I have a bunch of custom formats that I use that were created by others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total =" in
front of it, but I only know how to do that for simple formats, such as an
integer. I tried modifying one of those custom formats with "total =" and
a
spacebar in front of them, similar to how I use "total =" 0, when it is an
integer. But it did not work. So, the question is, if I want to modify
an
existing custom format but just want to put some text in front of it, how
do
I do that?

Thanks!
Dean




  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default cusotm formats

Dean

Custom Formats are for numeric cells only.

Since you have a blank cell, your Total = will not show in the cell.


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 20:20:02 -0800, "Dean" wrote:

Little nits: I notice that the value is right aligned. Is there a way to
make it centered or left aligned?

So, in addition to not having the problem I didn't like, what you gave me
also does the exact same thing with so many fewer characters? If so, like
WOW! If not, please tell me what feature it doesn't have. Also, can you
briefly tell me how the format can be smart enough (or dumb enough) to know
to suppress the text I put in front of it. It really seems weird.

Thanks!
Dean

"dribler2" wrote in message
...
using your custom format, assuming non-negative total

"Total =" _(* #,##0_)

happy holidays hohoho
driller

"Dean" wrote:

Thanks, guys, I just figured it out. What I had was fine, but I was
looking at a cell whose value was zero. Apparently, if the cell's value
is
zero, the "totals =" is suppressed. I'm not sure why. It's as if the
custom format knows to suppress the text that I put in front of it, which
does seem odd. Can someone explain how I could also have that text print
out
even if the value is zero?

Here's the actual format I tried it with:

"Total =" _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_)

Please don't waste your time explaining the details of that custom
format.
I don't need to know much more than that my client likes it!

Thanks!
Dean

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Dean

Put the space between = and " like "Total = "0


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 10:49:23 -0800, "Dean"

wrote:

I have a bunch of custom formats that I use that were created by
others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total ="
in
front of it, but I only know how to do that for simple formats, such as
an
integer. I tried modifying one of those custom formats with "total ="
and
a
spacebar in front of them, similar to how I use "total =" 0, when it is
an
integer. But it did not work. So, the question is, if I want to
modify
an
existing custom format but just want to put some text in front of it,
how
do
I do that?

Thanks!
Dean







  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default cusotm formats

I'm not sure what you mean. The cell has a summation formula in it. It is
not blank. Perhaps you mean that, if it evaluates to zero, then the total
won't show. Even so, it seems like Dribler2 has a solution for me.

Thanks everyone and happy holidays!
Dean


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Dean

Custom Formats are for numeric cells only.

Since you have a blank cell, your Total = will not show in the cell.


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 20:20:02 -0800, "Dean"
wrote:

Little nits: I notice that the value is right aligned. Is there a way to
make it centered or left aligned?

So, in addition to not having the problem I didn't like, what you gave me
also does the exact same thing with so many fewer characters? If so, like
WOW! If not, please tell me what feature it doesn't have. Also, can you
briefly tell me how the format can be smart enough (or dumb enough) to
know
to suppress the text I put in front of it. It really seems weird.

Thanks!
Dean

"dribler2" wrote in message
...
using your custom format, assuming non-negative total

"Total =" _(* #,##0_)

happy holidays hohoho
driller

"Dean" wrote:

Thanks, guys, I just figured it out. What I had was fine, but I was
looking at a cell whose value was zero. Apparently, if the cell's
value
is
zero, the "totals =" is suppressed. I'm not sure why. It's as if the
custom format knows to suppress the text that I put in front of it,
which
does seem odd. Can someone explain how I could also have that text
print
out
even if the value is zero?

Here's the actual format I tried it with:

"Total =" _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_)

Please don't waste your time explaining the details of that custom
format.
I don't need to know much more than that my client likes it!

Thanks!
Dean

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Dean

Put the space between = and " like "Total = "0


Gord Dibben MS Excel MVP

On Fri, 22 Dec 2006 10:49:23 -0800, "Dean"

wrote:

I have a bunch of custom formats that I use that were created by
others.
They have many symbols in them hyphens, #, etc, etc.

I also have learned how to have a number displayed with say "total ="
in
front of it, but I only know how to do that for simple formats, such
as
an
integer. I tried modifying one of those custom formats with "total
="
and
a
spacebar in front of them, similar to how I use "total =" 0, when it
is
an
integer. But it did not work. So, the question is, if I want to
modify
an
existing custom format but just want to put some text in front of it,
how
do
I do that?

Thanks!
Dean









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
Conditional Formats, how to scroll and view all formats? Bill E Excel Worksheet Functions 0 May 12th 10 07:58 PM
Copying formats - column widths, formats, outlining to worksheets DavidBr318 Excel Worksheet Functions 4 August 14th 09 05:03 AM
Conditional formats- paste special formats? jcarney Excel Discussion (Misc queries) 1 November 1st 07 06:37 PM
paste conditional formats as formats leo Excel Discussion (Misc queries) 2 July 5th 07 10:06 AM
Formats: Too many different cell formats error message [email protected] Excel Programming 3 February 1st 05 01:34 AM


All times are GMT +1. The time now is 05:15 AM.

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"