Conditional Formatting / Carpark Excel Spreadsheet Set up

Andyg666

New Member
Joined
Apr 24, 2024
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am trying to set up a spreadsheet that will help me manage our work carpark. We have set up a new policy to say that registered users will get three warnings if they park inconsiderably or illegally but I need a way to monitor the number of warnings issued to each user of the carpark and then they cant use the carpark. (The three strikes would run over a 12 month period)
Visitors will be monitored separately via ANPR

I have was thinking of using conditional formatting where if there were three warnings logged against a user then the row would change 1 warning = Green, 2 warnings = Orange, 3 Warnings = Red

Is there a way of using conditional formatting to achieve this or is there a better way that you guys could help me set up?

Example of file link > Carpark Sheet.xlsx

Thanks in advance.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
i cannot access your spreadsheet
BUT yes you should be able to do that with a countifs()
using a date to go back 1 year or 365 days
and also the reg number
and then count the warnings
and setup 3 rules
count of 1 = Green
count of 2 = Orange
count of 3 = red
 
Upvote 0
i cannot access your spreadsheet
BUT yes you should be able to do that with a countifs()
using a date to go back 1 year or 365 days
and also the reg number
and then count the warnings
and setup 3 rules
count of 1 = Green
count of 2 = Orange
count of 3 = red
Thanks I will see what I can do. I have attached a screen shot of the currently very simple file
 

Attachments

  • Carpark.png
    Carpark.png
    10.5 KB · Views: 17
Upvote 0
i have used this formula , to only count dates later than 365 days ago
=COUNTA(FILTER(--TEXTSPLIT(D4," ",,,1),--TEXTSPLIT(D4," ",,,1)>=TODAY()-365))
you can see in column G

maybe an easier formula - but thats wht i have based on your data structure

then i use 3 rules in condition formatting for each fill colour

=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=1
=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=2
=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=3

Book4
ABCDEFGH
1
2
3nameregwarningsValid warnings
4fred112341/1/24 1/2/24 1/3/243
5fred212351/1/22 1/2/22 1/3/241
6fred312361/1/241
7fred412371/1/24 1/2/242
8fred512381/1/20 1/2/24 1/3/242
9fred612391/1/20 1/2/20 1/3/201
10
11
Sheet2
Cell Formulas
RangeFormula
G4:G9G4=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:D9Expression=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=1textNO
B4:D9Expression=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=2textNO
B4:D9Expression=COUNTA(FILTER(--TEXTSPLIT($D4," ",,,1),--TEXTSPLIT($D4," ",,,1)>=TODAY()-365))=3textNO


does everyone appear on the list - regardless of warnings

is that a true representation of the data you get ?
 
Upvote 0

Forum statistics

Threads
1,223,945
Messages
6,175,555
Members
452,652
Latest member
eduedu

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