Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Number Format using "

Status
Not open for further replies.

Beggar

Mechanical
Mar 24, 2004
715
Does anybody know how to define a custom number format to produce a double quote (" to represent an inch)?
 
Replies continue below

Recommended for you

The Help file tells you to use a single backslash followed by the character you want.

TTFN
 
I'm not sure if this will help, but...
When used in formula's, four double quotes results in a single double quote

=+"Here Is a quote ->"&""""

returns

Here Is a quote ->"




=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Another example of the previous useage

=+""""

displays

"

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
So a long way around would be to create a new sheet that refers to the corresponding cell in the first sheet.

All cells except the cell in question are A1 = +Sheet1!A1

The cell to be displayed in inches is A1 = +Sheet1!A1&""""

There may be easier ways but I'm not familiar with how the custom number formats work


=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Format | Cells | Custom and then use:[tt]
0/"[/tt]
as your custom format

Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting
 
Thanks all - that does the trick!
 
On Johnwm's message I see three characters for the format string.

The 2nd and 3rd are / and " respectively

The first looks like a rectangle on my screen. What is it and how do I type it?

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor