Google Sheets - Conditional Formatting If Column name equals then highlight if not unique

wanders

New Member
Joined
Aug 10, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Everyone!

I am trying to create a spreadsheet to better track equipment as well as personnel at work.

The basic idea is managers at different sites submit daily a check list at that info is added to a sheet similar to my sample.

However, I am trying to figure out how to easily identify the following
1. Who/ what is not currently being used and is available
2. Is anyone/ anything being accidentally double booked?
3. Who/ what needs to move job sites

So in my sample
- Thing four is moving from job 2 to job 1 tomorrow.
- Thing 3 is available tomorrow
- Thing 10 is being scheduled when it should be off for repairs.

I'm not asking someone to do this all for me I'm more trying to bounce ideas around. In reality, there are about 20 jobs, 100 employees, and 200 pieces of equipment so it is a lot more data than the sample.

To show moving from one job to another
- I was also trying conditional formatting =countif($A3:$A17,"<>"&B3), this highlights everything so that doesn't work

To show something available
- I honestly don't know on this one.

Things I was trying
To solve locating duplicates, like how thing 10 is off and on job 2 tomorrow
- I was trying to use conditional formatting for a combination of if the name in row 2 is "today" countif($A$3:$H$17,A3)>1)) but wasn't having much luck with that.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I don't think you can do what you want with simple conditional formatting.
In Excel I would build a little macro to check for each item what / where it is next day.

But I think you can achieve something similar by, in a separate sheet, listing all the items and personnel
then have three columns next to the list.
  • With simple lookup in the first column find which job the item is today (empty if nowhere).
  • In the 2nd column simple lookup to find where item is tomorrow.
  • In the 3rd column do a comparison.
    • for instance if column 2 & 3 are the same then no change, enter 0
    • if changed job enter 1
    • if available tomorrow enter 2
    • if in repairs enter 3
    • if double booked enter 4

Now you can do your conditional formatting for the item each of the cells in the original table by using a lookup to the third column.

The idea will need some refinement
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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