P
prkhan56
Hello All,
I am using Excel 2003 and have the following problem.
We export some data in excel on a regular basis (about 18000+ rows).
Row 9 is the header row
The data range is C10 to P18000 +. The end row will vary.
Cell E5 contains a key word which should be utilized to paste the
Range C10:C18000+ (all active Rows) with the Key word. For eg, if E5
contains the text A then C10:C18000+ should display Account, if E5 = B
then C10:C18000+ should display Balance.
I wish to have a macro which should do the following:
a) Paste the key word as described above.
b) Sort the active data range C1018000+ using Col F (Primary Key -
Ascending) and Col H (Secondary Key – Descending).
b) After Sorting, Sum Col K (for all duplicate rows only) and Remove
Duplicate Rows using Col D to verify duplicate Rows.
Hope someone can help me
Thanks in advance
Rashid Khan
I am using Excel 2003 and have the following problem.
We export some data in excel on a regular basis (about 18000+ rows).
Row 9 is the header row
The data range is C10 to P18000 +. The end row will vary.
Cell E5 contains a key word which should be utilized to paste the
Range C10:C18000+ (all active Rows) with the Key word. For eg, if E5
contains the text A then C10:C18000+ should display Account, if E5 = B
then C10:C18000+ should display Balance.
I wish to have a macro which should do the following:
a) Paste the key word as described above.
b) Sort the active data range C1018000+ using Col F (Primary Key -
Ascending) and Col H (Secondary Key – Descending).
b) After Sorting, Sum Col K (for all duplicate rows only) and Remove
Duplicate Rows using Col D to verify duplicate Rows.
Hope someone can help me
Thanks in advance
Rashid Khan