deleting certain rows with mathematical calculation

jaypatel

Active Member
Joined
Nov 25, 2002
Messages
385
Hi,

Say if you have a database which has some kind of duplicating entries.....

for example:
column 1 is skilllevel, column 2 is dateid, column 3 is passportid (person)...


table could be:
1,Aug31 2006,10013
2,Aug31 2006,10013
2,Sep 19 2006,10014
3,Sep 19 2006,10014


Of course, the higher the "skill level" the better..... so the mathematical expression is looking at column 3 which is the most important, and saying that he acheived his highest level of 2, therefore i need to delete the line where level 1 has been acheived....

So the final table should look like:
2,Aug31 2006,10013
3,Sep 19 2006,10014

as 10013 highest level achieved was 2
and for 100014 highest level achieved was 3.

I hope this makes sense.....

Appreciate some help if you could......

Regards

Jay
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,141,679
Messages
5,707,786
Members
421,527
Latest member
Tamiwsw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top