Flag

trsmxb

New Member
Joined
Jan 18, 2005
Messages
1
Hi,

I use an excel spreadsheet for registering complaints. I have a formula set up which calculates "days under management". This reads off the date received, and continues to count until a "date resolved" is entered.

What I would like, is to set up a formula which flags complaints over a certain number of "days under management"

For example,

Complaints 20 days or less
The row would not be highlighted.

Complaints 20-30 days.
Row would become green in colour.

Complaints 30-45 days.
Row would become orange in colour.

Complaints 45 days and over
Row would become Red in colour.

Are you able to assist me with this query? It would be most appreciated.

Thanks,

Mads
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
trsmxb said:
Hi,

I use an excel spreadsheet for registering complaints. I have a formula set up which calculates "days under management". This reads off the date received, and continues to count until a "date resolved" is entered.

What I would like, is to set up a formula which flags complaints over a certain number of "days under management"

For example,

Complaints 20 days or less
The row would not be highlighted.

Complaints 20-30 days.
Row would become green in colour.

Complaints 30-45 days.
Row would become orange in colour.

Complaints 45 days and over
Row would become Red in colour.

Are you able to assist me with this query? It would be most appreciated.

Thanks,



I'm assuming that you have a date field that is populated when handed to management.

Select the entire column range, say B4:B2000.
Select: format - conditional formatting and enter the following:

you will need to change cell value is to formula is.

Condition 1 - Formula is - =NOW()-B4>45 Set format to Red Font or Pattern fill.
Condition 2 - Formula is - =NOW()-B4>30 Set format to Yellow Font or Pattern fill.
Condition 3 - Formula is - =NOW()-B4>20 Set format to Green Font or Pattern fill.

This will format the entire selected range with the above conditional formatting.

Only three conditions are available. If none of the conditions are met, the cell will remain unchanged with the current format.

Mike
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,771
Members
448,991
Latest member
Hanakoro

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