LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 1
Default How to write a macro to selectively output certain data to a different table based on

Hi, I am trying to write a macro that does the following:
Original
Name Risk Rank
John A 1
John A 2
Mark C 3
Nancy A 2
Diane A 1
Diane B 1
Diane B 2
Diane C 2
Judy A 1
Judy A 2
Judy A 3


New
Name Risk Rank
John A 1
Mark C 3
Nancy A 2
Diane A 1
Diane B 1
Judy A 1


The table on the top is the original data and the one on the bottom is the output. Basically, I am trying to let the macro loop through the original table and only output to another table the rows with the lowest rank for the same person and risk. I am pretty new to the excel macro, thanks a lot!!!
 
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
sum cells in same column selectively based on value of different . Carlos GarcĂ­a Excel Programming 0 February 25th 06 09:37 PM
Open CSV file, format data and write output to a text file. BristolBloos Excel Programming 1 October 18th 05 03:50 PM
output based on data in a graph Patrick C. Excel Worksheet Functions 1 September 15th 05 04:49 PM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
How do I write a macro that hides a row based on data in Excel? JJO Excel Programming 3 May 25th 05 02:04 PM


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