#1   Report Post  
Posted to microsoft.public.excel.misc
Big Abalone
 
Posts: n/a
Default formula

I am try to get a cell to only show "P3"If some one was to type a one, two or
three diget number then it would look like "P3 the number typed" for example
if some one typed 12, it would look like "P3 12" If some one typed 100 it
would look like "P3 100" It would be for a template. Any Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default formula

If you just want it to show on the template, you can use the following custom
format in the cell:
"P3 " #
That will show what you want, and the value in the cell will still be a
number.

Hope this helps,
Miguel.

"Big Abalone" wrote:

I am try to get a cell to only show "P3"If some one was to type a one, two or
three diget number then it would look like "P3 the number typed" for example
if some one typed 12, it would look like "P3 12" If some one typed 100 it
would look like "P3 100" It would be for a template. Any Ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Big Abalone
 
Posts: n/a
Default formula



"Miguel Zapico" wrote:

If you just want it to show on the template, you can use the following custom
format in the cell:
"P3 " #
That will show what you want, and the value in the cell will still be a
number.

Hope this helps,
Miguel.

"Big Abalone" wrote:

I am try to get a cell to only show "P3"If some one was to type a one, two or
three diget number then it would look like "P3 the number typed" for example
if some one typed 12, it would look like "P3 12" If some one typed 100 it
would look like "P3 100" It would be for a template. Any Ideas?


OK, great. Then I could have blank cells with that formula in the range and
if I typed "p123 it would come out as "P 123" .............?
  #4   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default formula

Well, this is a cell format that affect how numbers are displayed, not a
formula. What this means is that the entry of the cell is a number it will
come out as "P3 number"; the content of the cell is still a number.
If you want to affect how a cell display text, the custom format will be
something like this:
"P3 "#;;;"P "@
This will add "P " to any text value (like p123 entered in the cell will
display P p123)

The important thing here is that the contents of the cell are unchanged, so
even if you see P3 123 in reality the cell has the value of 123. If you want
later to effectively add anything, you can use simple formulas as:
="P " & A1
This is the reason why my response started with "if you just want to show",
as the actions proposed were not aimed to change the data itself, but the way
it is presented.

I don't know if I have clarified or confused more with all those
explanations :)
Miguel.

"Big Abalone" wrote:



"Miguel Zapico" wrote:

If you just want it to show on the template, you can use the following custom
format in the cell:
"P3 " #
That will show what you want, and the value in the cell will still be a
number.

Hope this helps,
Miguel.

"Big Abalone" wrote:

I am try to get a cell to only show "P3"If some one was to type a one, two or
three diget number then it would look like "P3 the number typed" for example
if some one typed 12, it would look like "P3 12" If some one typed 100 it
would look like "P3 100" It would be for a template. Any Ideas?


OK, great. Then I could have blank cells with that formula in the range and
if I typed "p123 it would come out as "P 123" .............?

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 09:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 07:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 06:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 04:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 05:37 PM


All times are GMT +1. The time now is 09:14 AM.

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

About Us

"It's about Microsoft Excel"