Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Merging rows and data vertically based on first sno column

I need to concatenate data vertically in each row and per column (i.e retaining all data in merged cells, not just from top most cell) based on merged rows with a serial number in column A.

So I have:

A B C D
Data1 Data2 Data3
1 Data4 Data5 Data6
Data7 Data8

2 Data9 Data10 Data11
Data12 Data13

3 Data14 Data15 Data16
Data17


I'd like to have:

A B C D
1 Data(1+4+7) Data(2+5+8) Data(3+6)
2 Data(9+12) Data10 Data(11+13)
3 Data14 Data(15+17) Data16

Could you please help me with a macro for that?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Merging rows and data vertically based on first sno column

hi,

the data are numeric or alphanumeric?

isabelle

Le 2015-09-04 15:50, semka a écrit :
I need to concatenate data vertically in each row and per column (i.e
retaining all data in merged cells, not just from top most cell) based on
merged rows with a serial number in column A.

So I have:

A B C D Data1 Data2 Data3 1 Data4 Data5 Data6 Data7
Data8

2 Data9 Data10 Data11 Data12 Data13

3 Data14 Data15 Data16 Data17


I'd like to have:

A B C D 1 Data(1+4+7) Data(2+5+8) Data(3+6) 2
Data(9+12) Data10 Data(11+13) 3 Data14 Data(15+17)
Data16

Could you please help me with a macro for that?

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
Overlap Cells Vertically without Merging Muffi Zainu[_2_] Excel Discussion (Misc queries) 2 December 8th 09 09:37 AM
How to pull in rows based on Column A data? Chris Lukowski Excel Worksheet Functions 2 August 5th 08 03:59 PM
Sorting Rows Based on data in one column AM Excel Discussion (Misc queries) 0 November 21st 07 02:53 PM
Merging rows based on column value [email protected] Excel Discussion (Misc queries) 2 November 14th 07 10:03 PM
macro for merging vertically the second Excel Programming 7 May 9th 04 07:52 PM


All times are GMT +1. The time now is 11:15 AM.

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

About Us

"It's about Microsoft Excel"