Using Conditional Formatting to delete rows

msk7777

Active Member
Joined
Mar 30, 2004
Messages
280
I have a worksheet that I use Conditional Formatting to check the dates in a total of 5 columns. In those columns, if the date is before 8/1/2006, it changes the cell color to red. Is there a formula I can put into Condition 2 to that would then clear out the whole row if within those 5 columns there isn't a red cell? This would take hours of work off of my slab. Thanks!
Credetnialing Master.xls
ATAUAVAWAXAYAZBA
1LicenseExpirationInsuranceExpirationDEA_ExpirationStateStateDrugNumberStateDrugExpirationAttestationDateNPDB_Date
212/31/20078/2/20071/31/2009229312/31/20073/7/20073/26/2007
312/31/20075/1/20082/28/2010253812/31/20077/6/20067/24/2006
412/31/20078/26/200712/31/2007256312/31/200712/12/200612/14/2006
512/31/200710/19/200712/31/2009276812/31/200711/28/200412/8/2004
612/31/20079/25/20078/31/2007303012/31/20074/6/20064/17/2006
712/31/200712/3/20077/31/2009315212/31/20075/3/20055/11/2005
812/31/20078/2/20078/31/2008323612/31/20072/28/20073/26/2007
910/31/20097/7/2003
1012/31/20078/10/20073/31/2008353512/31/20074/11/20064/24/2006
1112/31/20072/1/20083/31/2009365012/31/20074/4/20064/24/2006
1212/31/20077/1/20088/31/2009392312/31/20073/8/20073/26/2007
1312/31/20077/1/20089/30/2009393512/31/200712/11/200612/21/2006
1412/31/20074/25/20082/28/2010403012/31/20075/30/20066/5/2006
1512/31/20078/1/20075/31/2010413312/31/200711/29/20052/7/2006
1612/31/20076/24/20071/31/2008439112/31/20074/18/20064/24/2006
1712/31/200611/1/20057/31/2009407712/31/20063/12/200410/22/2002
1812/31/20073/30/20089/30/2007450912/31/200711/17/200511/21/2005
1910/31/200811/11/200111/7/2001
2012/31/20077/16/20089/30/2008457212/31/20074/21/20054/27/2005
2112/31/20077/22/2008NONE4/7/20064/17/2006
2212/31/20077/1/200810/31/2008470412/31/20075/19/20065/24/2006
2312/31/20075/17/20092/29/2008473712/31/200710/21/200410/4/2004
2412/31/200710/1/20073/31/2010495212/31/20075/3/20065/15/2006
2512/31/20072/1/20089/30/2008500612/31/20075/31/20066/26/2006
2612/31/200710/1/20078/31/2008503312/31/20076/13/20056/15/2005
2710/31/200910/20/2003
2812/31/200710/28/20072/29/20084/12/20064/17/2006
2912/31/200711/1/20073/31/20098/18/20059/19/2005
Sheet1
 
Ok well here, maybe this will help...this spreadsheet is used to look at every person in our system that may have 1 of the 5 different licenses and see which ones are expired (column AT, AU, AW and AZ). This spreadsheet has over 23,000 rows. I need to somehow identify the ones that have an expiration date that is less than (or equal to)8/31/2007 (which will also pick up the blank cells because that means we don't have a updated license). Basically I only need to keep the rows that have a lesser date than (or equal to) 8/31/2007 and get rid of the rest of the rows so we can run a fax merge and fax only the ones that the licenses are expired. I'm not familiar with VBA, the only thing I do close to it is recording Macros. If anyone can maybe walk me through it I know I can pick it up from there.
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
How exactly are you doing the merge?

If you are using Word mail merge you could specify criteria. ie a date
 
Upvote 0
this spreadsheet is used to look at every person in our system that may have 1 of the 5 different licenses and see which ones are expired (column AT, AU, AW and AZ)

are you sure these are the correct columns? you said there qould be 5 column but you only told 4 of them. Also, column AW is a column for state not for date...
 
Upvote 0
I'm terribly sorry, yes it should be AY not AW, and after posting that message I had talked to the person I am helping with this and they only need the 4 columns and not 5.
 
Upvote 0

Forum statistics

Threads
1,215,765
Messages
6,126,753
Members
449,336
Latest member
p17tootie

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