jjfrosty1

Q: How can I find duplicates in Numbers?

How can I find duplicates in Numbers?

Do I search each field or is there a short cut?

iMac (21.5-inch Mid 2011), OS X Mountain Lion (10.8.4)

Posted on Jul 19, 2013 9:47 AM

Close

Q: How can I find duplicates in Numbers?

  • All replies
  • Helpful answers

first Previous Page 4 of 5 last Next
  • by writer_in_virginia,

    writer_in_virginia writer_in_virginia Mar 26, 2014 3:36 PM in response to Wayne Contello
    Level 1 (0 points)
    Mar 26, 2014 3:36 PM in response to Wayne Contello

    Thank you. Corrected that.

    Here's what I see now...

    Screen Shot 2014-03-26 at 6.27.31 PM.png

    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.

    Screen Shot 2014-03-26 at 6.35.58 PM.png

  • by Wayne Contello,

    Wayne Contello Wayne Contello Mar 26, 2014 3:45 PM in response to writer_in_virginia
    Level 6 (19,416 points)
    iWork
    Mar 26, 2014 3:45 PM in response to writer_in_virginia

    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

  • by writer_in_virginia,

    writer_in_virginia writer_in_virginia Mar 26, 2014 3:56 PM in response to Wayne Contello
    Level 1 (0 points)
    Mar 26, 2014 3:56 PM in response to Wayne Contello

    Success at last. Thank you for your patience!! I get it.

     

    So grateful Wayne.

  • by kyleleen,

    kyleleen kyleleen Nov 1, 2015 12:22 PM in response to SGIII
    Level 1 (0 points)
    Nov 1, 2015 12:22 PM in response to SGIII

    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!)

  • by SGIII,

    SGIII SGIII Nov 1, 2015 2:08 PM in response to kyleleen
    Level 6 (10,796 points)
    Mac OS X
    Nov 1, 2015 2:08 PM in response to kyleleen

    Thanks for the feedback!  As you've discovered running a script is really easy.  (It's writing one that can get complicated.)

     

    SG

  • by dluvisi,

    dluvisi dluvisi Dec 4, 2015 1:31 PM in response to SGIII
    Level 1 (0 points)
    Dec 4, 2015 1:31 PM in response to SGIII

    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

  • by SGIII,

    SGIII SGIII Dec 4, 2015 1:57 PM in response to dluvisi
    Level 6 (10,796 points)
    Mac OS X
    Dec 4, 2015 1:57 PM in response to dluvisi

    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

  • by dluvisi,

    dluvisi dluvisi Dec 9, 2015 9:01 AM in response to dluvisi
    Level 1 (0 points)
    Dec 9, 2015 9:01 AM in response to dluvisi

    SG,

     

    That worked beautifully thank you so much for the help!

  • by dluvisi,

    dluvisi dluvisi Dec 9, 2015 9:04 AM in response to SGIII
    Level 1 (0 points)
    Dec 9, 2015 9:04 AM in response to SGIII

    SG,

     

    It all worked, Thank you so much!!!

  • by Grihfen,

    Grihfen Grihfen Mar 24, 2016 9:25 PM in response to SGIII
    Level 1 (4 points)
    Mar 24, 2016 9:25 PM in response to SGIII

    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.

  • by SGIII,

    SGIII SGIII Mar 25, 2016 6:07 AM in response to Grihfen
    Level 6 (10,796 points)
    Mac OS X
    Mar 25, 2016 6:07 AM in response to Grihfen

    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

  • by Grihfen,

    Grihfen Grihfen Mar 25, 2016 4:22 PM in response to SGIII
    Level 1 (4 points)
    Mar 25, 2016 4:22 PM in response to SGIII

    Thank you for getting back to me.

     

    The script I am using is:

    Screen Shot 2016-03-26 at 7.22.00 AM.png

     

     

     

    I am trying to find all duplicates from a numbers file.

     

    See there are many sheets in this file. I can only select one sheet.

    Screen Shot 2016-03-26 at 7.19.31 AM.png

     

    Is there a way to find duplicates from all the sheets in this one Numbers file?

     

    Thank you.



  • by MD_Gene,

    MD_Gene MD_Gene Mar 25, 2016 5:44 PM in response to SGIII
    Level 1 (21 points)
    Desktops
    Mar 25, 2016 5:44 PM in response to SGIII

    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.

  • by SGIII,

    SGIII SGIII Mar 25, 2016 6:28 PM in response to Grihfen
    Level 6 (10,796 points)
    Mac OS X
    Mar 25, 2016 6:28 PM in response to Grihfen

    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

  • by SGIII,

    SGIII SGIII Mar 25, 2016 6:30 PM in response to MD_Gene
    Level 6 (10,796 points)
    Mac OS X
    Mar 25, 2016 6:30 PM in response to MD_Gene

    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

first Previous Page 4 of 5 last Next