+ Reply to Thread
Results 1 to 17 of 17

Put spaces in the name manager

  1. #1
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Exclamation Put spaces in the name manager

    Hello,

    I want to put spaces in names manager..i have several brand names with spaces such as : NEW BALANCE UNDER ARMOUR , ETC. and I want to put these names in the name manager so that you can call them in another cell through indirect function.

    Anyone can help me plz?

    Thank's

  2. #2
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Put spaces in the name manager

    Space are not allowed in Name manager title.
    If answer helped you say Thanks by Add Reputation

  3. #3
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    And there is no way to put spaces in a name? It is that if there is I can not use indirect function names that have space

  4. #4
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Put spaces in the name manager

    Quote Originally Posted by pedrofilipegomes View Post
    And there is no way to put spaces in a name? It is that if there is I can not use indirect function names that have space
    i think no,

    please go through the below link for more informatiopn about "Name Manager"

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Put spaces in the name manager

    Would NEW_ BALANCE_UNDER_ARMOUR work for you?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  6. #6
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by Sambo kid View Post
    Would NEW_ BALANCE_UNDER_ARMOUR work for you?
    No

    I need the words with spaces , the character " _ " can not replace the space.

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Put spaces in the name manager

    Why do you 'need' spaces in the name(s)?
    If posting code please use code tags, see here.

  8. #8
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by Norie View Post
    Why do you 'need' spaces in the name(s)?
    Because my names has spaces and i need to call them with indirect function.

  9. #9
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Put spaces in the name manager

    You can easily replace the spaces with underscores in your INDIRECT formula.

    For example, lets say you have MY RANGE in A1 and you want to sum a named range called MY_RANGE.

    Then you could use this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    10-25-2010
    Location
    Phoenix, Arizona, USA
    MS-Off Ver
    O365
    Posts
    201

    Re: Put spaces in the name manager

    If you're needing to keep the spaces in the cell, could you add another column duplicating the names (but without spaces)?

    Are you familiar with VBA? This can easily be addressed by use of some simple code.

    ActiveWorkbook.Names.Add Name:=Replace(Range("C3").Value, " ", ""), RefersTo:="=Sheet1!C3", Visible:=True

  11. #11
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by Norie View Post
    You can easily replace the spaces with underscores in your INDIRECT formula.

    For example, lets say you have MY RANGE in A1 and you want to sum a named range called MY_RANGE.

    Then you could use this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank's but this formula don't solve my problem.

  12. #12
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by PosseJohn View Post
    If you're needing to keep the spaces in the cell, could you add another column duplicating the names (but without spaces)?

    Are you familiar with VBA? This can easily be addressed by use of some simple code.

    ActiveWorkbook.Names.Add Name:=Replace(Range("C3").Value, " ", ""), RefersTo:="=Sheet1!C3", Visible:=True
    Yes, i can add another column duplicating the names.

    Yes, i work with VBA..Can you help me?

  13. #13
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Put spaces in the name manager

    What I posted is just an example.

    Without knowing what your problem actually is it's hard to give specific advice.

  14. #14
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by Norie View Post
    What I posted is just an example.

    Without knowing what your problem actually is it's hard to give specific advice.

    I explain what I want

    I have names of brands in column A of sheet 2: NEW BALANCE; UNDER ARMOUR; NIKE; ADIDAS

    In the column B of sheet 2 I have technologies associated with brands of column sheet 2: {NB Dry; NB ICE}; UNDER ARMOUR = {ColdBlack, Moisture transport System}; NIKE ={Dry-FIT; ACC; Nike Skin} and ADIDAS={ClimaLite, ClimaCool, Boost}.


    And I want to give the brand names of these sets of technologies, for example: NEW BALANCE={NB Dry; NB ICE}; {ColdBlack, Moisture transport System}; {Dry-FIT; ACC; Nike Skin} and {ClimaLite, ClimaCool, Boost}.

    In column A of sheet1 i used indirect function to call the brands that are in column A of sheet 2.

    In column B of sheet 1 i want to call I WANT call the technology associated with brand chosen in column A of sheet 1..For brands that do not have space in the name ( Nike and Adidas ) , I can . But for others who have space can not

  15. #15
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Put spaces in the name manager

    Are you using data validation?

  16. #16
    Registered User
    Join Date
    08-12-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    20

    Re: Put spaces in the name manager

    Quote Originally Posted by Norie View Post
    Are you using data validation?
    Yes, I'm using

  17. #17
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Put spaces in the name manager

    OK, I'll mock something up and post/attach it later - not at computer right now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to reference spaces as spaces not zeros
    By Rob K in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2015, 04:56 AM
  2. [SOLVED] Replacing double spaces with single spaces
    By EdWoods in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-15-2013, 01:20 AM
  3. [SOLVED] sheet1 row with spaces between cells, pulled to sheet2 column with no spaces between cells
    By chestersneakers7 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-18-2013, 05:56 PM
  4. Replies: 3
    Last Post: 04-03-2008, 03:16 PM
  5. spaces not recognized as spaces
    By windsurferLA in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2006, 06:49 AM
  6. spaces not recognized as spaces
    By windsurferLA in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-26-2006, 03:05 PM
  7. [SOLVED] spaces not recognized as spaces
    By windsurferLA in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-26-2006, 12:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1