+ Reply to Thread
Results 1 to 5 of 5

concatenate two columns of numbers does not produce concatenated value

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    concatenate two columns of numbers does not produce concatenated value

    Hi,

    i am enclosing excel macro which basically has 3 cols..........the third col is basically a concatenation of the first two cols where both cols are numbers. The resultant column is a number but its not the "TRUE" concatenated value........

    any ideas?

    example:
    ColA= 20070337
    ColB= 10002
    ColC= 2.00703E+12


    i want col C to equal 2007033710002
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: concatenate two columns of numbers does not produce concatenated value

    Please Login or Register  to view this content.
    This works as long as the data is formatted in fraction

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: concatenate two columns of numbers does not produce concatenated value

    Hi welches101

    Format Column C as Number, 0 decimal places...
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    Re: concatenate two columns of numbers does not produce concatenated value

    thanks for the info...............


    i was wondering "WHY" excel did not display the number as the full number but instead a rounded scientific number.

    any thoughts.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: concatenate two columns of numbers does not produce concatenated value

    Hi welches101

    From http://office.microsoft.com/en-us/ex...003064132.aspx

    the General format does use exponential notation for large numbers (12 or more digits). To remove the exponential notation from large numbers, you can apply a different number format, such as Number.

+ 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