Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Name Ranges: Function to convert special characters underscores

I created a named range using the name: Overall Segment Size - Street $(M)

Excel automatically converts the name to get rid of special characters and
spaces to: Overall_Segment_Size___Street___M

The question is: Is there a function which allows me to convert the names
to this format before naming the range?

Please help!






  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Name Ranges: Function to convert special characters underscores

yo u cant use anything which excel can interpret as a cell reference ie $M



Guidelines for names
What characters are allowed? The first character of a name must be a letter,
an underscore character (_), or a backslash (\). Remaining characters in the
name can be letters, numbers, periods, and underscore characters.

Can names be cell references? Names cannot be the same as a cell reference,
such as Z$100 or R1C1.

Can more than one word be used? Yes, but spaces are not allowed. Underscore
characters and periods may be used as word separators €” for example,
Sales_Tax or First.Quarter.

How many characters can be used? A name can contain up to 255 characters.

Note If a name defined for a range contains more than 253 characters, you
cannot select it from the Name box.

Are names case sensitive? Names can contain uppercase and lowercase letters.
Microsoft Excel does not distinguish between uppercase and lowercase
characters in names. For example, if you have created the name Sales and then
create another name called SALES in the same workbook, the second name will
replace the first one.


--
paul

remove nospam for email addy!



"Calanbraun" wrote:

I created a named range using the name: Overall Segment Size - Street $(M)

Excel automatically converts the name to get rid of special characters and
spaces to: Overall_Segment_Size___Street___M

The question is: Is there a function which allows me to convert the names
to this format before naming the range?

Please help!






  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Name Ranges: Function to convert special characters underscores

Hi Calanbraun,

The following should do the job :

=SUBSTITUTE(A1,"_","")

HTH

Cheers

Carim

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 to Convert Figures into Text in Excel m_azim1 Excel Worksheet Functions 3 April 5th 06 05:45 PM
How can you use multiple ranges in a function? solinar Excel Worksheet Functions 7 February 3rd 06 10:48 PM
convert numbers to text bellman Excel Discussion (Misc queries) 0 October 4th 05 10:28 PM
Function To Convert Liters To Imperial Gallons & Vice Versa Dave Gibson Excel Worksheet Functions 3 September 24th 05 09:03 PM
How do I use Excel's convert function for apothecary weight? S Code Excel Worksheet Functions 1 November 19th 04 07:13 PM


All times are GMT +1. The time now is 04:16 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"