+ Reply to Thread
Results 1 to 4 of 4

Excel confusing '1' and '10'

  1. #1
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Excel confusing '1' and '10'

    Hi,

    I have a macro that prints out names or people who are in designated groups. Two of the groups are called:

    Gp 1
    Gp 10

    The macro prints out the people in Gp 10 perfectly fine. However when it prints the names in Gp 1 it also includes the ones listed in Gp 10.

    I suspect this is something to do with it confusing the numbers 1 and 10. I’ve checked the formatting and all the cells are ‘General Format’, so there’s no obvious clash.

    Anyone any ideas (Aside form changing the Group name!)

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel confusing '1' and '10'

    Is it a secret macro or do we get to actually see it? (nudge)

    The workbook AND the macro would be the golden goose.
    Last edited by JBeaucaire; 10-14-2010 at 06:26 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Excel confusing '1' and '10'

    Quote Originally Posted by JBeaucaire View Post
    Is it a secret macro or do we get to actually see it? (nudge)

    The workbook AND the macro would be to golden goose.
    Hi...I'll post the macro but it would take too long to remove private info out of the rest of the spreadsheet (and replace it with working dummy info)...I'd have posted it in programming, but i thought it might be something to do with the number formatting rather than the macro as it find all the other groups and names perfectly well. Anyway, this might be of help, or it might not Thanks

    Please Login or Register  to view this content.
    The concatonated info it pulls the information from (on another sheet) reads as follows.

    Please Login or Register  to view this content.
    if this isn't of any use ill just change the group names

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel confusing '1' and '10'

    If these are actual Name ranges, you can't have spaces in names.

    Other than that, I don't see anything obviously helpful based on what we see.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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