+ Reply to Thread
Results 1 to 3 of 3

Thread: Concatenate vs. Ampersand

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Concatenate vs. Ampersand

    Would there ever be a reaosn why you would use the CONCATENATE formula [=CONCATENATE(A1,B1)] if you can just use the Ampersand method [=A1&B1]?

    AKA, does the ampersand method make CONCATENATE obsolete, or would there ever be a time when the ampersand wouldn't suffice and CONCATENATE would be necessary?

    thank you! )

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Apparently I can't say
    MS-Off Ver
    Apparently I can't say
    Posts
    8,274

    Re: Concatenate vs. Ampersand

    There is no difference between the two that I am aware of, so it's simply a matter of personal preference.

  3. #3
    Valued Forum Contributor MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5,285

    Re: Concatenate vs. Ampersand

    Hi xtinct2,

    I do remember a point about VBA and the ampersand. In VBA "&" immediately after a variable name is a Type Declaration symbol. I've seen errors in running code because a space is needed between a variable and the ampersand.
    Read:
    http://www.j-walk.com/ss/excel/faqs/xl97faq3.htm

    There are some old Excel versions that also had problems with concatination of Strings and non-integer variables, in that a type mismatch error would occur. I believe these have been fixed in newer versions of excel.
    One test is worth a thousand opinions.
    Click the * below to say thanks.

+ 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.2.0