shadow12345
Well-known Member
- Joined
- May 10, 2004
- Messages
- 1,238
Ok, I would like to achieve the following.
In my active sheet, everytime the value in col O = "Z" (i can do that bit) and (can't do this bit) the value in Q is the lowest date in that col.
Does that make sense?
If cell O = "z" then look through all of the dates in col Q (with a value of z in O) and delete the lowest
eg
Col O Col Q
a 01/01/2011
z 01/03/2011
f 01/01/2011
z 01/02/2011
t 01/01/2011
z 01/03/2011
w 01/08/2011
g 01/01/2011
z 01/02/2011
In this example it should delete the 4th and the last row
In my active sheet, everytime the value in col O = "Z" (i can do that bit) and (can't do this bit) the value in Q is the lowest date in that col.
Does that make sense?
If cell O = "z" then look through all of the dates in col Q (with a value of z in O) and delete the lowest
eg
Col O Col Q
a 01/01/2011
z 01/03/2011
f 01/01/2011
z 01/02/2011
t 01/01/2011
z 01/03/2011
w 01/08/2011
g 01/01/2011
z 01/02/2011
In this example it should delete the 4th and the last row