min(collect()) but not the first one
Hello,
Code below checks first in line when there multiple identical fields in LevNaam
Created2 = autonumbering (incrementing numbers but not following up on eachother so i cant use +1)
=IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)); 1;0)
shows created2 "1" as checked
is there a way to check second , third , ... in line
so for example if i want to highlight the 236 created2
created2 levnaam
1 abc
125 abc
236 abc
338 abc
i tried this but only works with follow up numbers so its useless :D
=IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)); 1; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 1; 2; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 2; 3; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 3; 4; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 4; 5; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 5; 6; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 6; 7; IF([Created2]@row = MIN(COLLECT([Created2]:[Created2]; Levnaam:Levnaam; Levnaam@row)) + 7; 8; 0))))))))
hope its possible or maybe possible with a workaround, love to hear it
Answers
-
Are you able to post some screenshots for reference? Right off it sounds like you are going to want to look into the SMALL function, but I am not 100% sure without being able to see exactly what you are working with.
-
Thx Paul,
i fixed it with another solution :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!