PC Review


Reply
Thread Tools Rate Thread

Combining multiple rows to one

 
 
mbfriesen@gmail.com
Guest
Posts: n/a
 
      10th Nov 2006
I have a txt file (seperated by commas) that I have imported into
excel. The problem is one line shows the customer name, address,
account number. the other line shows products, price, quantity. It is
seperated like this in the text file as well. All rows with the
customer name address and account number begin with a cell that has the
number 2 in it. All rows with the products, price, quantity begin with
a cell that has the number 3 in it. There will always be only one
customer but there can be multiple product rows. For me to manage this
data I need the customer info and the product info on one row. What
function can I use that will tell excel IF a row begins with a 3 add it
to the end of the preceding row that begins with a 2. That will also
be able to do this with multiple rows of 3's.

 
Reply With Quote
 
 
 
 
Alan Beban
Guest
Posts: n/a
 
      10th Nov 2006
Is the number of columns uniform? I.e., are there always 3 columns
following the 2 and 3 columns following the 3?

Alan Beban

(E-Mail Removed) wrote:
> I have a txt file (seperated by commas) that I have imported into
> excel. The problem is one line shows the customer name, address,
> account number. the other line shows products, price, quantity. It is
> seperated like this in the text file as well. All rows with the
> customer name address and account number begin with a cell that has the
> number 2 in it. All rows with the products, price, quantity begin with
> a cell that has the number 3 in it. There will always be only one
> customer but there can be multiple product rows. For me to manage this
> data I need the customer info and the product info on one row. What
> function can I use that will tell excel IF a row begins with a 3 add it
> to the end of the preceding row that begins with a 2. That will also
> be able to do this with multiple rows of 3's.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining multiple rows dagdee Microsoft Excel New Users 1 22nd Oct 2009 12:51 PM
combining multiple rows into one row Randy Allen Microsoft Excel Programming 2 10th May 2009 11:31 PM
Combining data from multiple rows Sarah (OGI) Microsoft Excel Misc 2 5th Aug 2008 06:17 PM
Combining Multiple Rows =?Utf-8?B?TWljaGFlbA==?= Microsoft Access Queries 3 7th Feb 2007 10:19 PM
Combining Rows with multiple records =?Utf-8?B?RGVuaW5l?= Microsoft Excel Worksheet Functions 1 22nd Oct 2004 03:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:37 PM.