-
All replies
-
Helpful answers
-
Mar 26, 2014 3:36 PM in response to Wayne Contelloby writer_in_virginia,Thank you. Corrected that.
Here's what I see now...
This immediately computes a value for the D2 cell.
Now, when I go to select entire D row, I get either the computed value of that cell duped all the way down -- or only a D2 cell with the text code of the formula -- as in screenshot below. I must have done something else off.
-
Mar 26, 2014 3:45 PM in response to writer_in_virginiaby Wayne Contello,Writer,
to fill the formula down enter the fomula in cell D2 like we just discussed. then hit the enter key or click the green check box to finshing editing the formula.
now select cell D2 (single click), copy
now select column D (by clicking the "D" at the top of the column), then hold the <command> key and click cell D (to unselect the header), paste
-
Mar 26, 2014 3:56 PM in response to Wayne Contelloby writer_in_virginia,Success at last. Thank you for your patience!! I get it.
So grateful Wayne.
-
Nov 1, 2015 12:22 PM in response to SGIIIby kyleleen,This worked for me. I didn't think I would be able to figure out how to run the script but it was easy. Thank you so so much!
(I used the script to identify duplicates in a 1500 record database. It would have taken me ages to sort and scroll through manually!)
-
Nov 1, 2015 2:08 PM in response to kyleleenby SGIII,Thanks for the feedback! As you've discovered running a script is really easy. (It's writing one that can get complicated.)
SG
-
Dec 4, 2015 1:31 PM in response to SGIIIby dluvisi,SG,
Sorry I am having issues running the script. I keep getting a "Select some non-blank cells and try again."
I am not sure what I am missing. Thank you for your help
- Damon
-
Dec 4, 2015 1:57 PM in response to dluvisiby SGIII,dluvisi wrote:
SG,
Sorry I am having issues running the script. I keep getting a "Select some non-blank cells and try again."
Hi Damon,
There are several scripts in this thread but I think you must mean Copy Distinct. I think what is happening is that you are trying to run the script without first selecting cells with values in a table. Select the cells first, then click the run button. Then click once in a destination cell and type command-v to paste.
A link to download the Service is here. Double-clicking the downloaded .workflow package and giving permission in System Preferences > Security & Privacy will install it in your Numbers > Services menu. To run it there, you first select the cells with values, select Copy Distinct from the Numbers > Services menu, click a destination cell once, and type command-v to paste.
SG
-
Dec 9, 2015 9:01 AM in response to dluvisiby dluvisi,SG,
That worked beautifully thank you so much for the help!
-
-
Mar 24, 2016 9:25 PM in response to SGIIIby Grihfen,Hi Friend,
This script is working fatalistically with one active sheet.
Is it possible to have the script work on all sheets in one numbers file?
Thank you.
-
Mar 25, 2016 6:07 AM in response to Grihfenby SGIII,Not sure which script you are using and what you have in mind. Perhaps you could post more details about what you are trying to do.
SG
-
-
Mar 25, 2016 5:44 PM in response to SGIIIby MD_Gene,Wow, I thought Numbers didn't have a macro language to go with it? How/where is that code executed? Where can one learn the syntax of the language? I am an old programmer. You know, Fortran at NASA and Ada for air traffic control systems. Then I became a manager and you know how that goes. Thanks in advance.
-
Mar 25, 2016 6:28 PM in response to Grihfenby SGIII,Grihfen wrote:
Is there a way to find duplicates from all the sheets in this one Numbers file?
I can't think of a specific use case where one would want to check every cell in every table in every sheet of the front document and flag it if its value is the same as any other cell in that whole document, but anyway this script will do that (it will take a while to run).
SG
tell application "Numbers"
tell front document
set vList to {}
repeat with s in sheets
repeat with t in s's tables
repeat with c in t's cells
if vList contains (c's value as text) then set c's text color to "red"
copy c's value as text to vList's end
end repeat
end repeat
end repeat
end tell
end tell
-
Mar 25, 2016 6:30 PM in response to MD_Geneby SGIII,MD_Gene wrote:
Wow, I thought Numbers didn't have a macro language to go with it? How/where is that code executed?
It's AppleScript. One of the many, many online resources is here.
SG



