How can I do some iterative calculus in Numbers?

i would like to know if i can do some iterative calculus in numbers, may someone help me?

Excel allows circular references if you limit the number of iterations in Excel/Preferences/Calculation. Numbers does not have that preference or the ability to do iterations.  However, you can do it easily with Applescript.  A simple script that repeatedly takes the value from one cell and places it into another is all that is required. The Numbers table would be designed to have an input cell for the "seed" value, the formulasand a cell for the result based on that input.  No circular references. You might also have a cell to specify the number of iterations. The script would do the iterating by repeatedly taking the result and placing it in the input cell.
Here is a simple example. First image is before running the script.  Note that one iteration has already been done by the table itself:
Here is the script. Note the delay. It may not be required but is there to ensure the calculations i nthe table complete. I set it to 1/2 second so you can see it running (assuming you try this out).
tell application "Numbers" to tell document 1 to tell sheet 1 to tell table 1
          set value of cell "B5" to 1 -- this is the counter for iterations. One iteration is already complete
          repeat while value of cell "B5" < value of cell "B4" -- B4 has the number of iterations
                    set value of cell "B2" to value of cell "B3"
                    set value of cell "b5" to (value of cell "B5") + 1
                    delay 0.5
          end repeat
end tell
Here is the result:

Similar Messages

  • How can I transfer some photos from PE11 to be saved on my new IPad?

    How can I transfer some photos from PE11 to be saved on my new IPad? I know I can use Adobe Revel but that relies on an Internet connection. The person I wish to show the photos do not have internet connection.

    You can use iTunes on your local computer to transfer photos:
    http://www.howstuffworks.com/tablets/transfer-pictures-to-ipad.htm

  • How can I delete some music from my iCloud but not from my iTunes in my computer? please??

    how can I delete some music from my iCloud but not from my iTunes in my computer? please??

    iCloud doesn't store your music.

  • How can i share some apps from my macbook pro to iMac on different IP?

    how can i share some apps from my macbook pro to iMac on different IP?

    sign into same id on both computers in the app store
    see this
    http://support.apple.com/kb/HT2519
    Peace, Clyde

  • How can i delete some books from ibook?

    How can i delete some books from ibook? It says: this book can't be opened. The book is corrupt. I can't open and I can't delete it

    I was unable to delete a book sample from my iPhone 5s running iOS 7.  This seems to be what worked for me.  I went to the Library and clicked "edit" in upper right side of the screen.  I then tapped one time on the book I wanted to remove and a blue check appeared at the bottom right corner of that book (presumably you could tap several at a time)  Anyway, when the blue check is on the book, you will see in the upper left of the screen the word "Delete" (mine was in red) I clicked that and then a confirming dialog came up from the bottom of the screen with the choices of "delete" or "cancel".  I chose "delete" and the book was gone.  Hope this helps.

  • How can I transfer some songs from my ipod to my itunes library although they are not purchased from itunes store?

    How can I transfer some songs from my ipod to my itunes library although they are not purchased from itunes store?

    By using one of third-party programs discussed in this previous discussion:
    Best iPod to PC

  • How can I save some pics from my Mac onto my Ipod touch?

    How can I save some pics from my Mac to my Ipod Touch ?

    Syncing photos with iTunes is explained here: http://support.apple.com/kb/HT4236
    You'll have to choose the photos you want to sync in the photo pane in iTunes with your phone connected, then apply sync.

  • How can I remove some themes from Keynote??

    How can I remove some themes from Keynote??

    What a co-incidence... I just deleted those same goodies. They were in /Library/Application Support/Keynote-folder on my machine. I just deleted the whole folder, cause there seemed to be nothing more but those downloaded files. And Keynote worked great afterwards. There seemed to be another folder for iWork09, which is not to be removed.

  • I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • How can I transfer some of my iTunes songs from my computer to my husband's iPhone who has a different apple ID.

    How can I transfer some of my Itunes songs from my computer to my husband's iphone?  He has a different apple ID and every time I do this, my IMac says it will erase and sync.  I've checked the manual manage box but no luck.

    turkofrome wrote:
    It says that his computer is authorized, but as soon as I try to transfer anything, I get a message saying that my iphone is already synced with another iTunes library
    What does the iPhone have to do with anything?
    Don't plug yoru iPhone into his computer.
    Do I need my iPhone to do it or can I do it from iMac to iMac? Thanks for any help.
    So you have two different computers?
    Just enable Home Sharing and he can copy the songs from you iTunes to his then he can sync his iPhone to his iTunes.
    See this -> http://www.apple.com/support/homesharing/

  • I want to SHARE Sync Settings with my Family Members, How Can I Share Some of My Settings with Them.

    I want to SHARE Sync Settings with my Family Members & Friends, How Can I Share Some of My Settings like tabs, bookmarks, browser extension with them. Also it is obvious I would not like to share my Passwords. Can you please help. This feature "Sharing with Friends & Family Members" is functional in 'XMARKS Sync'.

    All apps are forever tied to the Apple ID used to originally obtain them. They cannot be transferred to another Apple ID, nor can they be updated using any ID other than the ID used to originally obtain them.

  • How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    It sounds like you are talking about the cloning tool?
    Tool looks like this:
    Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
    Hope this helps?

  • As a grand parent, how can I put some apps on an ipod touch and then give it as a gift?

    As a grand parent, how can I put some apps on an ipod touch and then give it as a gift?

    Apps and many other purchases are tied to the iTunes Store account via which they were purchased. So if you buy the app, that app is tied to your iTunes Store account. Without that account information, the child could not update the app nor back it up.
    I'd also suggest giving the child an iTunes gift card or gift certificate along with the iPod. If the child is too young to have and manage his or her own iTunes Store account, then his or her parent could set up an iTunes Store account to purchase the apps. That could be done with that gift card and not need a credit card. You can also gift specific apps, though again that would require the child or a parent to open an iTunes Store account through which to redeem the gift. For more information on gift options, see:
    http://support.apple.com/kb/HT2736
    Regards.
    Message was edited by: Dave Sawyer

  • How can i stream some files via my macbook pro

    how can i stream some files via my macbook pro and my WD TV LIVE

    Which email client are you using & which version?   Your emails are not appearing in the email trashcan? 

  • When I open Firefox, the Google screen comes on. Then I type the first letter of my search and up pops up possible searches. How can I delete some of these choices?

    How can I block some of the past searches on Google when I start to type the first few letters of past searches?

    If you want to remove saved form data from a drop down list then use these steps:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also Clear Recent History
    *https://support.mozilla.org/kb/Clear+Recent+History

Maybe you are looking for

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home. When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, w

  • Itunes and cd drive

    when i put a cd in the disk drive, itunes won't recognize it and transfer it into the library. does anyone know what i need to do?

  • SRM TO R3 Integration

    Hi experts, I have a doubt concerning SRM integration in backend system (R/3). Is it possible to change PO data (for example cost center) while integrating with r/3 (for example with a badi). Looking forward to hear from you, Best Regards, Mário.

  • Problem with populating E1EDP02

    Hi! I try to populate E1EDP02 this way: E1EDP02-BELNR = I_VBDKR-BELNR. E1EDP02-DATUM = I_VBDKR-LFDAT. but these 2 fields of I_VBDKR are empty while debugging, what are the possible reasons? My case is like this: functional guy has manually added a fe

  • A problem after upgrading to version Build JDEVADF_11.1.2.0.0_GENERIC_11053

    Hello! First, sorry for my English! Could somebody help me please? Today, I've upgraded JDeveloper from previous version to "Build JDEVADF_11.1.2.0.0_GENERIC_110531.1615.6017". I faced with a problem. I have an index page with menu. Regions are inclu