Using scripting to highlight cells in Numbers

I ran across a great script to highlight the top 3 values in a Numbers column in the following post.


https://discussions.apple.com/thread/7555832


Is there a way to modify the script to ALSO highlight the bottom 3 values? Any help would be much appreciated.


MacBook Pro 13", 10.14

Posted on May 3, 2019 9:50 AM

Reply
4 replies

May 3, 2019 10:33 AM in response to Go321

It is not difficult, given the code you already have.

You have determined the high values, now you need to do the same for the low values.


The following code just takes what you had and does it analogously for the lowest values.

I tested it and it worked, but of course it comes "as is", with no warranty whatsoever.

Test on a copy of your documents, to be safe.


--------- paste the code below into a script in Script Editor or an Applescript action in Automator -----------



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using scripting to highlight cells in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.