Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Concatenate Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
aisos12 - 28 Oct 2006 01:54 GMT
I have data that looks like this:

       A              B
1 Account       Notes
 ---------       ------
2 1000           abc
3                   def
4                   ghi
5 1001           jkl
6                   mno
7 1000           pq
8                   rs
9 ...               ...

Is there any way to add in a third column that concatenates the notes rows
into one row?  I know doing this: =B2 & "
" &B3& "
" &B4 in cell C2
will give me what I want, but I have about 12,000 rows to sort through and I
don't want to do this all manually.  Is there a way to create intermediate
columns with dummy variables to say, if A is null, but A+1 is not null,
concatenate column B for all the rows for a particular account?

Thanks.
Anne Troy - 28 Oct 2006 02:25 GMT
You may want to first fill in the "blanks" in the A column. This article
explains how:
http://www.officearticles.com/excel/fill_in_the_blanks_in_microsoft_excel.htm
Signature

~Anne Troy
www.OfficeArticles.com

> I have data that looks like this:
>
[quoted text clipped - 20 lines]
>
> Thanks.
Debra Dalgleish - 28 Oct 2006 03:57 GMT
In cell C2, enter the formula:

 =IF(A2="",C1& " " &B2,A2 & " " & B2)

and copy down to the last row of data.

If you only want to see the final row of concatenated data, in cell D2,
enter the formula:

  =IF(A3<>"",C2,"")

and copy down to the last row of data. You'd need to add an entry below
the last item in column A, to mark the end of the data.

> I have data that looks like this:
>
[quoted text clipped - 20 lines]
>
> Thanks.

Signature

Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.