Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default Combining Row Contents!


hi all!

is there any way to combine the data in two cells (row-wise) in xl?

for example
A1 - date; A2 - narration (text); A3 - amount
B1 - blank; B2 - narration (text); B3 - blank
C1 -blank; C2 - narration (text); C3 - blank

now i want

A1 - date; A2 - combined text of A2,B2&C2; A3 - amount

after converting the three records into a single one, i don't need rows
B & C.

this is required simply because to reduce the records and make the
worksheet size to 1/3.

can anyone help me?

-via135


--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=502583

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Combining Row Contents!

Via -
It is a multi-step process. Start with a helper column, say column D.
In D1, enter something like one of the following:

= A2 & " " & B2 & " " & C2 which will put a space between each of the
entries. You could put any other text between the quotes such as
semi-colon or dash.

If you want the result to look like a bulleted list, you could try the
following...
=CHAR(149) & " " &A2 & CHAR(10) & CHAR(149) & " " & B2 & CHAR(10) &
CHAR(149)& " " & C2

This will make a bullet character at the start of each line and a
carriage return after each line.

Copy the formula down for all of column D then convert to values by
highlighting the column, choosing Edit Copy then Edit Paste Special
Values OK then escape.


Then sort A1 through the bottom row of data in column D by column A.
This will put all rows with a date at the top. All other rows can be
deleted.

- John Michl

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default Combining Row Contents!


sorry..i have completely messed up the cell ref in my example.
the right one is us under:

A1 - date; B1 - narration (text); C1 - amount
A2 - blank; B2 - narration (text); C2 - blank
A3 - blank; B3 - narration (text); C3 - blank

now i want

A1 - date; B1 - combined text of B1,B2 & B3; C1 - amount;

after converting the three records into a single one, i don't need rows
2 & 3.


via135 Wrote:
hi all!

is there any way to combine the data in two cells (row-wise) in xl?

for example
A1 - date; A2 - narration (text); A3 - amount
B1 - blank; B2 - narration (text); B3 - blank
C1 -blank; C2 - narration (text); C3 - blank

now i want

A1 - date; A2 - combined text of A2,B2&C2; A3 - amount

after converting the three records into a single one, i don't need rows
B & C.

this is required simply because to reduce the records and make the
worksheet size to 1/3.

can anyone help me?

-via135



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=502583

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Combining Row Contents!

Same concepts from my earlier post apply. Combine, B1, B2, B3 in a
formula in cell D1. Copy that formula to the bottom of the sheet.
Change to values. The resort the entire sheet. The extra rows will
move to the bottom so you can delete them.

- John

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default Combining Row Contents!


thks..John!

this is what i exactly wanted!!!

-via135


--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=502583

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
How do I display contents of an adjoining cell? Sue Smith Excel Worksheet Functions 3 September 24th 05 05:07 AM
Conversion of Cell Contents into a Functional Worksheet name ? GMJT Excel Worksheet Functions 1 August 21st 05 04:59 PM
Macro to remove contents of cell and move all other contents up one row adw223 Excel Discussion (Misc queries) 1 July 1st 05 03:57 PM
How to insert the contents of two cells in a footer? Pank Excel Discussion (Misc queries) 4 June 2nd 05 02:32 PM
Can I use the contents of a cell to satisfy the result_vector arg. robh_2 Excel Worksheet Functions 3 February 24th 05 08:14 PM


All times are GMT +1. The time now is 04:46 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"