LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Extract and Transpose

I am trying to convert myself from an Access VBA to Excel VBA. I
appreciate it if I can get some help with this. This is my data:

salesman amount date product
279 8965 6/27/2005 A
279 78515 6/27/2005 B
774 63903 7/4/2005 A
774 61027 6/27/2005 A
774 60624 6/20/2005 A
774 60103 6/13/2005 A
774 56807 6/6/2005 A
774 57618 5/30/2005 A
774 58433 5/23/2005 A
774 59119 5/16/2005 A
774 60971 5/9/2005 A
774 62601 5/2/2005 A
774 65245 4/25/2005 A
774 64662 4/18/2005 A
774 56342 4/11/2005 A
774 332566 7/4/2005 B
774 324033 6/27/2005 B
774 324078 6/20/2005 B
774 323889 6/13/2005 B
774 329421 6/6/2005 B
774 321219 5/30/2005 B
774 319549 5/23/2005 B
774 321294 5/16/2005 B
774 322247 5/9/2005 B
774 318629 5/2/2005 B
774 314424 4/25/2005 B
774 318827 4/18/2005 B
774 320495 4/11/2005 B
1098 22969 6/27/2005 A
1098 122443 6/27/2005 B
1669 75769 7/4/2005 A
1669 74577 6/27/2005 A
1669 75822 6/20/2005 A
1669 78669 6/13/2005 A
1669 76823 6/6/2005 A
1669 75022 5/30/2005 A
1669 74109 5/23/2005 A
1669 73381 5/16/2005 A
1669 75301 5/9/2005 A
1669 72788 5/2/2005 A
1669 72541 4/25/2005 A
1669 75504 4/18/2005 A
1669 75605 4/11/2005 A
1669 182880 7/4/2005 B
1669 181325 6/27/2005 B
1669 182537 6/20/2005 B
1669 186734 6/13/2005 B
1669 185827 6/6/2005 B
1669 182972 5/30/2005 B
1669 181364 5/23/2005 B
1669 182485 5/16/2005 B
1669 182727 5/9/2005 B
1669 181576 5/2/2005 B
1669 180550 4/25/2005 B
1669 183157 4/18/2005 B
1669 183729 4/11/2005 B
..
..
..

I would like to extract the data and transpose it as this:

sales/
man A B
279 8965 78515
774 65245 332566
1098 22969 122443
1669 78669 186734
..
..
..

Each salesman has only one row of record, which is the maximum of
Product A and Product B. I know I have to loop through salesman and
then maximum of A and B. I am not sure how to do this in Excel. Thanks
for any input.

 
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
transpose abc Excel Discussion (Misc queries) 1 April 28th 07 06:30 AM
transpose kortrijkzaantje Excel Worksheet Functions 3 September 28th 05 08:00 PM
I WANT TO TRANSPOSE LINKS, AS WE TRANSPOSE VALUES Umair Aslam Excel Worksheet Functions 1 September 22nd 05 01:19 PM
Extract Unique Values, Then Extract Again to Remove Suffixes Karl Burrows Excel Discussion (Misc queries) 23 June 25th 05 10:37 PM
help with a transpose please scottwilsonx[_66_] Excel Programming 1 October 27th 04 12:26 AM


All times are GMT +1. The time now is 09:57 AM.

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"