Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Concatenate Problem

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Concatenate Problem

You may want to first fill in the "blanks" in the A column. This article
explains how:
http://www.officearticles.com/excel/...soft_excel.htm
--
~Anne Troy
www.OfficeArticles.com


"aisos12" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Concatenate Problem

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.


aisos12 wrote:
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.



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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate question nick Excel Worksheet Functions 3 July 27th 06 11:40 PM
Excel Startup Problem aussievic Excel Discussion (Misc queries) 1 June 12th 06 04:33 PM
Problem with MS Community Newsgroups? [email protected] Excel Discussion (Misc queries) 4 May 14th 06 04:38 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
label problem Raven Maniac Excel Worksheet Functions 5 November 10th 04 10:10 PM


All times are GMT +1. The time now is 08:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"