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! :)
Best Answer
-
Try this...
=IF(COUNTIFS([Pay Rate]:[Pay Rate], @cell = 0.01, [Emp ID]:[EMp ID], @cell = [Emp ID]@row) > 0, 1)
Answers
-
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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 358 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!