Welcome to iPadForums.net Guest - Click Here to Register

Having problem with cell formula....need assistance please

This is a discussion on Having problem with cell formula....need assistance please within the iWork Forum forums, part of the iPad App Store category; I am working on an Ipad Numbers spreadsheet, and one of the calculations I need to do is to determine the number of days between ...

Register with iPad Forums
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    iPF Noob
    Member #
    133028
    Join Date
    Dec 2011
    Location
    NE Indiana, USA
    Posts
    9

    Having problem with cell formula....need assistance please

    I am working on an Ipad Numbers spreadsheet, and one of the calculations I need to do is to determine the number of days between two dates.

    I am using the DATEDIF function, but the problem I'm having is this....

    My start date is in A2. Then I have dates from A3 through A45. The formula that I have that calculates the first date difference
    is = (DATEDIF (A2-A3,"D")) The date in A2 is the "start date" and all other dates need to reference A2 as the start date. Now I want to "fill" the remaining cells of the column that contain the days difference value, in this case that column is "R". I tap on the R3 cell, select the "fill" option, and then drag down the border until I have included all the cells that I want to contain this formula. The problem is that A2 does not remain the start date in the formula. Without having to enter the formula manually into every cell in the R column, how can I fill or paste this formula so that it becomes A2-A4, A2-A5, A2-A6, and so on....

    Thanks....

    Jim
    Last edited by jdmartin; 12-07-2011 at 10:17 PM.


  2. #2
    iPF Elite
    Member #
    28530
    Liked
    176 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    9,230
    Use the INDIRECT function to get the data from A2, instead of doing it directly. (DATEDIF (INDIRECT("A2")-A3,"D"))

    In order to enter the "A2" into the INDIRECT function you will select the address cell, then use the "abc" key to enter the address. You can leave the addr-style default, or delete it. Don't forget to delete the extra comma if you do.

    I tested this with a simple sheet, as you described. Because the INDIRECT function does not directly point at a cell, it stays the same in when replicated via a Fill.

  3. #3
    iPF Noob
    Member #
    133028
    Join Date
    Dec 2011
    Location
    NE Indiana, USA
    Posts
    9
    Outstanding ! I'll give this a whirl this evening and let you know the results. Thanks again for all your help.

  4. #4
    iPF Elite
    Member #
    28530
    Liked
    176 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    9,230
    No problem.

  5. #5
    iPF Noob
    Member #
    133028
    Join Date
    Dec 2011
    Location
    NE Indiana, USA
    Posts
    9
    Ok, I'm still doing something wrong....please take a look at the formula I tried to enter, per your directions, and let me know where the syntax error is. I'm still learning how to use Numbers to enter formulas.....not exactly what I'm used to seeing in Excel......Let me know what I need to do to fix this

    Having problem with cell formula....need assistance please-photo-1-.png

  6. #6
    iPF Elite
    Member #
    28530
    Liked
    176 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    9,230
    Looks like you accidentally deleted one of the parenthesis and tried to re-add it manually. You can only use the parenthesis key for expressions. Using them to bracket the formula variables causes a syntax error.
    Attached Thumbnails Attached Thumbnails Having problem with cell formula....need assistance please-syntaxerror.jpg  

  7. #7
    iPF Elite
    Member #
    28530
    Liked
    176 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    9,230
    Going back and looking at my first reply, I see it is my fault. That minus sign should have been a comma. (DATEDIF (INDIRECT("A2"),A3,"D")) instead of (DATEDIF (INDIRECT("A2")-A3,"D")).

    That's what I get for trying to type it instead of just taking a screen shot like I usually do.

  8. #8
    iPF Noob
    Member #
    133028
    Join Date
    Dec 2011
    Location
    NE Indiana, USA
    Posts
    9
    works perfect now !!! thanks for continuing to help me out on this one....

    Having problem with cell formula....need assistance please-photo-1-.png

  9. #9
    iPF Elite
    Member #
    28530
    Liked
    176 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    9,230
    Not a problem. Compared to some of the formulas people have asked for help with, this one was easy.

    Just wish I'd caught my typo.

  10. #10
    iPF Noob
    Member #
    197263
    Join Date
    Apr 2012
    Posts
    1
    I'm also having problems with formulas in numbers. I used to know excel basics but cannot figure out formula use in numbers.
    1A is dates, in the Sun, April 25, 2012 format. I am attempting several things:
    1- build a formula that will let me know the frequency of events on Sun, Mon, Tues etc.
    2- enter data into other fields in the row ONLY of there is data is column A (ie A39 is a new record, I'd place today's date, then in another field it would calculate age based in DOB-Today() ). Struggling with what should be simple formulas. Any help would be great


Home | Forum | Active Topics | What's New

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. iPad Numbers formula help
    By Zera in forum iWork Forum
    Replies: 12
    Last Post: 09-02-2011, 08:49 PM
  2. Help with Numbers formula
    By Jmfocus in forum iWork Forum
    Replies: 30
    Last Post: 08-30-2011, 09:06 PM
  3. Replies: 4
    Last Post: 04-26-2011, 11:50 PM
  4. Numbers Formula Instructions
    By Hal05154 in forum iWork Forum
    Replies: 3
    Last Post: 01-23-2011, 03:37 PM
  5. Formula One Car Crash Video
    By Gabi in forum Off-Topic
    Replies: 3
    Last Post: 09-21-2010, 02:04 AM

Search tags for this page

apple numbers number of days between two dates

,

category calculation not working apple numbers

,

cell borders numbers ipad

,

datedif does not work iwork

,

fill down in numbers on ipad

,

fill down numbers ipad

,

fill options numbers ipad

,

how does fill work in iworks

,

indirect function in apple numbers

,

ipad numbers formula doesnt work

,

iwork formula to calculate age from date of birth

,

iwork numbers calculate percentage

,

iwork numbers date

,

iwork numbers fill down formula

,

iwork numbers reference between dates

,

iwork numbers today formula

,

macintosh numbers fill down jumps

,

net formulas for numbers iwork

,

numbers on ipad fill formula

,

problem with ipad iwork numbers fill row problem

Click on a term to search for related topics.