Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sort by matching column

Status
Not open for further replies.

link99sbc

Technical User
Apr 8, 2009
141
US
I have a spreedsheet with data in 7500 Rows and columns A-M
I want to sort it by matching col C and D. In other words if C and D match move the row to the top. If they don't match, move the row to the bottom.
 


Hi,

Why even use VBA?

In an adjacent column...
[tt]
=If(A2=B2,0,1)
[/tt]
assuming that the values in column A & B are the values to match.

Then SORT!

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top