Connect with peers, share your expertise, and inspire what’s next in Smartsheet — from proven practices to practical how-to insights from fellow users and product experts.
Sign in to join the conversation:
Hello,
Is there a way to conditionally format duplicates if a value is in a column and if a box is checked? I need this to look through the whole sheet where there are many input values by the customer via a form.
Thank you.
Brian
Hi Brian,
No way to natively locate duplicates and apply conditional formatting, however, you can cheat.
Assuming you have a value column (we'll call it Name) and checkbox column (let's call this one Booked), we can create a Duplicate checkbox column to the right and enter the following formula, copying it all the way down as far as you need:
=IF(AND(COUNTIFS(Name:Name, Name1, Booked:Booked, 1) > 1, Booked1), 1, 0)
You can then use conditional formatting to highlight rows/cells where Duplicate is checked and hide the Duplicate column when you are satisfied with the results.
Hi Chris,
This is helpful, but I have one question. will the formula you listed above only look for Joe Bloggs? you have it listed in the countifs for "Booked 1". What I am looking for is an example where the duplicates box checks if any name is repeated in the name column with the condition that the booked column has been checked.
Basically all the Fred Nerks will have the duplicate checked since there is one Fred Nerks where the booked column has been checked.
We are looking to create a validation check in our sheet for accounts that have been used in the past for billing. New accounts will highlight to not the account needs to be confirmed.
No , the formula is not dependent on any particular value in the Name column.
To break it down, the formula is calculating the count of values that match both these criteria:
If both criteria are fulfilled (i.e. you have a value that occurs more than once in the Name column with the corresponding Booked checkbox ticked), then the Duplicate cell (where the formula lives) is populated with a 1.
If there are 1000 Fred Nerks, but only one row has the Booked checkbox ticked, it will not be shown as a duplicate. If you have 3 Joe Bloggs (or whatever name you chose to include in Name) with all three being Booked, then all three will be marked as duplicates.
If you copy the formula in Duplicate down the column as far as your Name values go, any new values added to Name will ensure a new row is added and the new Duplicate cell will inherit the formula from above.
Based on your initial description and subsequent explanation, it sounds like the above will do what you want. Unless I'm missing something...
Hi,
I had a similar problem I wanted to highlight duplicate in my postcode column
I overcome this problem by doing the following:
As you can see it worked...
The formula is important...
=IF(Postcode@row = "", 0, IF(COUNTIFS(Postcode:Postcode, Postcode@row) > 1, 1))
so broken down i used this part to say if postcode column blank leave unchecked "=IF(Postcode@row = "", 0,"
then this part is to count "(COUNTIFS(Postcode:Postcode, Postcode@row)" my individual postcodes to turn it into a numerical value
then the "IF" before the count and the "> 1, 1))" to say if there is more than 1 , to equal a tick mark
....
For yourself you may want blank rows to highlight so it would be equivelent to
=IF(COUNTIFS(Postcode:Postcode, Postcode@row) > 1, 1)
Just to bear in mind for future reference :)
I am currently setting up an automation for people to get notified through their email, when they are prompted. But is there a way that they can reply in the email of a comment that will then go to the specific sheet. This way they do not have access to the sheet, but can just comment through email with updates?
Is there a way to revert to the old dashboard look and feel. The new dashboards do not look good at all. There is no way of knowing if there are additional items in the widgets until you scroll over one to learn there is more to it since the vertical bar doesn't show. We have hundreds of dashboards and they will all need…
When i try to send or print the timeline view instead of showing the progression bars like they do on the screen it only send the data entered and not a graph type view to print. Is there a way to do this. I am using a mac platform if that helps.