Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dtm dtm is offline
external usenet poster
 
Posts: 1
Default Truncating data based on compare

I have a problem trying to format some data. I have the following data...

A B C D E F
add1 cmp1 add2 cmp2 cmp3 cmp4

A-F are columns
add1-2 is to be manipulated
cmp1-4 is data to be compared

Here is what i need to do. I need to compare cmp1-4 to each row. If the
data compares for cmp1-4 i need to add column C (add2) to the matching row,
and add 1 to the value in column A.

Example:
A B C D E F
1 x c2 y z a
1 x c3 y z a
1 y c4 y z a
1 x c5 y y a
1 x c6 y y a

Result:
A B C D E F
2 x c2,c3 y z a
1 y c4 y z a
2 x c5,c6 y y a

Can someone help me with this?

Thanks.

dm.


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
PivotTable template is truncating data Wendy Excel Discussion (Misc queries) 1 September 18th 09 02:09 PM
Truncating data in drop down list Nightrain Excel Worksheet Functions 6 April 7th 09 07:38 PM
Compare 2 colmns based off data in other columns Steve C Excel Discussion (Misc queries) 7 December 13th 07 08:58 AM
Compare and copy rows of data based on an ID# john mcmichael Excel Discussion (Misc queries) 1 July 9th 07 05:26 PM
Truncating read-in data sweens319 Excel Programming 3 December 9th 05 10:21 PM


All times are GMT +1. The time now is 02:15 PM.

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"