+ Reply to Thread
Results 1 to 2 of 2

Concatenate works all but one time

  1. #1
    Registered User
    Join Date
    05-15-2009
    Location
    New York, USA
    MS-Off Ver
    Excel 2007
    Posts
    74

    Concatenate works all but one time

    I have attached my wedding guest list. I have a column in which I have concatenated all of the email addresses ('X') and the appropriate semi-colons so I can quickly copy and paste the whole list. It seems to work 102 out of 103 times. I can't really explain any further because I am simply dumbfounded, I think I have been looking at it too long!

    Any help would be greatly appreciated as this is driving me crazy!

    PS, is there a more elegant or quicker way to accomplish this same task without macros or creating a new distribution list in outlook every time the list changes?
    Attached Files Attached Files
    Last edited by gmcconnell; 10-19-2011 at 05:51 PM. Reason: added workbook
    Thank you for your time and help,

    Glenver McConnell

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Concatenate works all but one time

    gmcconnell,

    That is very weird. Cell X58 is reading cell X57 as empty, so it starts the chain over. Here's a more condensed version of the formula you're using that will give the same results:
    =IF(X1<>"",IF(N2="",IF(O2="",X1,X1&"; "&O2),IF(O2="",X1&"; "&N2,X1&"; "&N2&"; "&O2)),IF(N2="",IF(O2="","",O2),IF(O2="",N2,N2&"; "&O2)))

    However, in order to correct the problem, I had to copy the data into a new worksheet. I have no idea what was causing the issue though Attached is a modified version of your workbook with the issue corrected.
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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