Muliple statuses for all clients rows = completed

markhay

New Member
Joined
Jul 23, 2012
Messages
2
Hi,

Really struggling with a bit of a "minging" spreadsheet.. Each client has multiple rows (1 for each claim) and each row has 2 status fields (I2... and K2...) Theres a unique ref in column B which shows if they relate to the same client.

I need to identify/filter the clients that have a status of completed for both status columns on every one of their rows so I can do some system updates...

I'm using excel 2003 so can't do anything too shiny and its about 10,000 rows so really dont want to go through it manually!

Please Help!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
if I understand your question correctly you want to filter excel spreadsheet by multiple criteria in different columns. By default this is not really possible, however it can be done trough vba:
Code:
Sub test()
    For rw = 1 To 10000
        If Cells(rw, 5) = "x" And Cells(rw, 6) = "y" Then
            Rows(rw).EntireRow.Hidden = True
        End If
    Next rw
End Sub

this is a very simple sub that will hide each row between row 1 and 10000 that has "x" in column 5 and "y" in column 6. If you are unable to modify it to suit you, please provide sample of your data
 
Upvote 0
if I understand your question correctly you want to filter excel spreadsheet by multiple criteria in different columns. By default this is not really possible, however it can be done trough vba:
Code:
Sub test()
    For rw = 1 To 10000
        If Cells(rw, 5) = "x" And Cells(rw, 6) = "y" Then
            Rows(rw).EntireRow.Hidden = True
        End If
    Next rw
End Sub

this is a very simple sub that will hide each row between row 1 and 10000 that has "x" in column 5 and "y" in column 6. If you are unable to modify it to suit you, please provide sample of your data

sorry, any way i can add an attachment here? :s
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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
Back
Top