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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!