Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How can I insert expiry dates reminder in Microsoft excel?

user-image
Question ajoutée par Muhammad Tahir , Site Engineer+Quantity surveyor , Akram contracting EST
Date de publication: 2016/12/05
Ahmad Fahim hasan
par Ahmad Fahim hasan , Data Mining Specialist , Method corp

Select the Home tab in the toolbar at the top of the screen. Then in the Styles group, click on the Conditional Formatting drop-down and select Manage Rules.

When the Conditional Formatting Rules Manager window appears, click on the "New Rule" button to enter the first condition

When the New Formatting Rule window appears, select Format only cells that contain as the rule type.

Then select Cell Value in the first drop down, less than in the second drop down, and enter the following formula that uses the NOW function=NOW()+30

Next, we need to select what formatting to apply when this condition is met. To do this, click on the Format button.

When the Format Cells window appears, select the Fill tab. Then select the color that you'd like to see the dates that will expire in the next 30 days. In this example, we've selected yellow. Then click on the OK button

When you return to the New Formatting Rule window, you should see the preview of the formatting in the Preview box. In this example, the preview box shows yellow as the fill color. Next click on the OK button>

This will return you to the Conditional Formatting Rules Manager window.

You will need to click on the New Rule button again.

When the New Formatting Rule window appears, select Format only cells that contain as the rule type.

Then select Cell Value in the first drop down, less than in the second drop down, and enter the following formula that uses the NOW function=NOW()

What this formula means is that the date in the cell is past today's date. To select what formatting to apply when this condition is met. To do this, click on the Format button.

When the Format Cells window appears, select the Fill tab. Then select the color that you'd like to see the expired dates displayed in. In this example, we've selected red. Then click on the OK button.

When you return to the New Formatting Rule window, you should see the preview of the formatting in the Preview box. In this example, the preview box shows red as the fill color. Next click on the OK button.

This will return you to the Conditional Formatting Rules Manager window.

You will need to click on the New Rule button again.

When the New Formatting Rule window appears, select Use a formula to determine which cells to format as the rule type.

Then enter the following formula that uses the ISBLANK function=ISBLANK(A1)=TRUE

What this formula means is that if any cells in column A are blank, do not apply the yellow or red formatting. The value of A1 is put as the parameter in the ISBLANK function since this is the first value in the range of cells that you've selected. Since the formula uses relative referencing each value in column A will be evaluated individually.

Next, we need to select what formatting to apply when this condition is met. To do this, click on the Format button.

When the Format Cells window appears, select the Fill tab. Then select white as the color that you'd like to see as the fill in the blank cells. Then click on the OK button.

When you return to the New Formatting Rule window, you should see the preview of the formatting in the Preview box. In this example, the preview box shows white as the fill color. Next click on the OK button.

Now when you return to the Conditional Formatting Rules Manager window, make sure that you check the "Stop If True" checkbox for the first rule. If you do not, the blank cells will show as red fill because the second condition will also evaluate as TRUE

Click on the OK button.

 

 

 

Sonu Harwani ExcelPowered
par Sonu Harwani ExcelPowered , Microsoft Excel Programmer (VBA Macro Programing) , Excel-Powered.com

I have used several ways  related to document expiry date reminder.  Best, easy  and user friendly method  is conditional formatting.

I am assuming you have document expiry date in columns B,C,D and you want reminder 15 days prior.

jpg Screenshot on below link.  

https://scontent-sit4-1.xx.fbcdn.net/v/l/t1.0-0/p206x206/15401064_1670840806540386_8400338511930844598_n.jpg?oh=5e67446e12c74b11a7345be53ed9bff2&oe=58B0DAE9

 

 

 

More Questions Like This