Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combing cells with same data


i did a search but nothing that i was looking for came up. maybe i wasnt
searching the right terms. here's my problem.

i have a list of data

......a.....b....c....d.....e...f
1 john usa 876 675 454 345
2 bob china 34 545 034 000
3 bob china 03 000 0006 0002


i want to combine row 2 and 3 so it looks like this
bob china 37 545 40 2

it would be nice if the new added row replaced the previous row 2 and
3

i have a whole list of data.. about 3000 rows

any help would be appreciated.


--
inprogress
------------------------------------------------------------------------
inprogress's Profile: http://www.excelforum.com/member.php...o&userid=26117
View this thread: http://www.excelforum.com/showthread...hreadid=394465

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default combing cells with same data

Try looking at the Data-SubTotals feature of Excel

--
Cheers
Nigel



"inprogress" wrote
in message ...

i did a search but nothing that i was looking for came up. maybe i wasnt
searching the right terms. here's my problem.

i have a list of data

.....a.....b....c....d.....e...f
1 john usa 876 675 454 345
2 bob china 34 545 034 000
3 bob china 03 000 0006 0002


i want to combine row 2 and 3 so it looks like this
bob china 37 545 40 2

it would be nice if the new added row replaced the previous row 2 and
3

i have a whole list of data.. about 3000 rows

any help would be appreciated.


--
inprogress
------------------------------------------------------------------------
inprogress's Profile:

http://www.excelforum.com/member.php...o&userid=26117
View this thread: http://www.excelforum.com/showthread...hreadid=394465



  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default combing cells with same data

Perhaps try a pivot table ?
Only a few clicks will get us there

Assume the source data (with a header row inserted / added on)
is in Sheet1, A1:F4

Lab1 Lab2 Lab3 Lab4 Lab5 Lab6
john usa 876 675 454 345
bob china 34 545 34 0
bob china 3 0 6 2

(All figures are assumed real numbers)

Select A1:F4, click Data Pivot Table Report
Click Next Next

In step 3 of the wizard:
Drag Lab1 and drop within the ROW area
Drag Lab2 and drop within the ROW area (below Lab1)

Drag Lab3 and drop within the DATA area
(It'll appear as "Sum of Lab3")
Repeat for Lab4 to Lab6 (one below the other)

Click Finish

The pivot will be created in a new sheet to the left

Go to the pivot sheet
Double-click on Lab1, set the Subtotals to "None" OK
Drag "Data" and drop on D1

You should get a table which looks like this:

--------------- Data
Lab1 Lab2 SLab3 SLab4 SLab5 SLab6
bob china 37 545 40 2
john usa 876 675 454 345
Grand Total 913 1220 494 347

--
Note: SLab3 actually appears as "Sum of Lab3", etc
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"inprogress" wrote
in message ...

i did a search but nothing that i was looking for came up. maybe i wasnt
searching the right terms. here's my problem.

i have a list of data

.....a.....b....c....d.....e...f
1 john usa 876 675 454 345
2 bob china 34 545 034 000
3 bob china 03 000 0006 0002


i want to combine row 2 and 3 so it looks like this
bob china 37 545 40 2

it would be nice if the new added row replaced the previous row 2 and
3

i have a whole list of data.. about 3000 rows

any help would be appreciated.


--
inprogress
------------------------------------------------------------------------
inprogress's Profile:

http://www.excelforum.com/member.php...o&userid=26117
View this thread: http://www.excelforum.com/showthread...hreadid=394465



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
Combing 2 lists of data bookman3 Excel Discussion (Misc queries) 2 April 23rd 09 06:11 AM
Vlookup and/or combing data from two worksheets Tessa Excel Worksheet Functions 3 March 25th 09 05:20 PM
Combing cells and entering them in a different workbook dpwicz Excel Discussion (Misc queries) 1 September 16th 08 08:30 AM
combing cells Kelly E. Excel Programming 3 January 27th 05 02:33 PM
Splitting/Combing data question Stuart[_5_] Excel Programming 6 March 2nd 04 12:04 AM


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