How can I have boxes checked for all distinct employee ID if a payrate = a specific value (0.01)

✭✭✭✭

I currently have a formula that will look at the pay rates for the same Emp ID and if there is a difference, it checks the Attention Pay Rate box in all rows with that Emp ID.

This formula is: =IF(COUNT(DISTINCT(COLLECT([Pay Rate]:[Pay Rate], [Emp ID]:[Emp ID], [Emp ID]@row))) > 1, 1, 0)

NOW, I have created a helper column to check a box if there is a pay rate of 0.01. My simple formula to indicate those is just:

=IF([Pay Rate]@row = 0.01, true)

However I need it to check the box for all cells with the same Emp ID in the Attention .01 Payrates, just the same as my other column.

I was thinking the formula would be very similar to the top formula, however I can't seem to figure out how to get it to do that for the 0.01 pay rates and also check the remaining boxes for that same Emp ID.

Help! :)

Tags:

• ✭✭✭✭✭✭

Try this...

=IF(COUNTIFS([Pay Rate]:[Pay Rate], @cell = 0.01, [Emp ID]:[EMp ID], @cell = [Emp ID]@row) > 0, 1)

• ✭✭✭✭✭✭

Try this...

=IF(COUNTIFS([Pay Rate]:[Pay Rate], @cell = 0.01, [Emp ID]:[EMp ID], @cell = [Emp ID]@row) > 0, 1)

• ✭✭✭✭

You're awesome! Thank you SO much!!! That worked perfectly. :) Have a great weekend!

• ✭✭✭✭✭✭

Happy to help. 👍️

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!