Welcome to iPadForums.net Guest - Click Here to Register

Help with Numbers formula

This is a discussion on Help with Numbers formula within the iWork Forum forums, part of the iPad App Store category; And finally, just because I am a total glutton for punishment, here is what it looks like if you go back to my method for ...

Register with iPad Forums
+ Reply to Thread
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 31
  1. #11
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    And finally, just because I am a total glutton for punishment, here is what it looks like if you go back to my method for finding the last entry in the table (as opposed to newest date).

    Basically you replace the simple MAX statement with the INDIRECT statement (and everything inside it). Painful, unless you really need the last entry, and not just the most recent date.
    Attached Thumbnails Attached Thumbnails Help with Numbers formula-valdiffbydate_ouch.png  

  2. Ads


  3. #12
    iPad Fan!
    Member #
    93425
    Join Date
    Aug 2011
    Posts
    10
    Guys thanks for helping me out. So far nothing is working. The solution below has been added to the footer line and shows only the actuall formula in the cell instead of making the computation.

    The way my worksheet is set up is that everytime I add data it automatically adds a line to corrospond with the date. So I could have 500 entries when 500 days pass but the footer always remains at the bottom. I created the footer by touching the first cell in the spreadsheet which gives you the ability to maniputate the number of rows and columns, then touching the circle with a little "i" which brings up a window that will allow for a footer to be added and always kept at the bottom of the spreadsheet.

    Twerppoet your solution was way over my head but thanks for your help. Do you guys think this is possible with the footer?



    Quote Originally Posted by 88raymond View Post
    are the succeeding numbers always smaller than its predecessor? you can always use the minimum function

    c2-min(c3:c99)

    if not, if the dates are in column b,

    =c2-vlookup(max(b2:b99),b2:c99,2)



    note: this assumes your footer is on c100

  4. #13
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    Look at the second to last solution, not my very last. That was just an exercise in craziness. The only real difference between it and Raymond's solution is that I use the LOOKUP function instead of VLOOKUP, and I use column selections instead of cell ranges.

    VLOOKUP kept including the header and footer cells in the search, so it failed when using columns. LOOKUP only sees the non-header/footer cells, so it could be set by tapping the entire column instead of needing to select a range of cells. This is more convenient since you don't have to worry about increasing the cell range latter if you make more entries than you originally planned.

    C2-LOOKUP(Max(DateColumn),DateColumn,ValueColumn) Edit, fixed mistake. I got the two formulas mixed up. Sorry. It was correct in the screen shot though.

    If that still does not make sense, here is the spreadsheet I've been playing with, with both the crazy and Raymond inspired simpler formulas. You can play with them until you understand what is going on.
    Last edited by twerppoet; 08-30-2011 at 05:56 PM. Reason: Fixed bad mistake in formula.

  5. #14
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    BTW, what formula are you using to automatically set the date in a cell? I've been trying to figure out how to do this.

  6. #15
    iPad Fan!
    Member #
    93425
    Join Date
    Aug 2011
    Posts
    10
    Quote Originally Posted by twerppoet View Post
    Look at the second to last solution, not my very last. That was just an exercise in craziness. The only real difference between it and Raymond's solution is that I use the LOOKUP function instead of VLOOKUP, and I use column selections instead of cell ranges.

    VLOOKUP kept including the header and footer cells in the search, so it failed when using columns. LOOKUP only sees the non-header/footer cells, so it could be set by tapping the entire column instead of needing to select a range of cells. This is more convenient since you don't have to worry about increasing the cell range latter if you make more entries than you originally planned.

    C2-LOOKUP(Max(DateColumn),ValueColumn,2)

    If that still does not make sense, here is the spreadsheet I've been playing with, with both the crazy and Raymond inspired simpler formulas. You can play with them until you understand what is going on.
    Do I type that in as text exactly as you have it. If so, it doesn;t do the computation, it just shows the actual text in the footer cell.

  7. #16
    iPad Fan!
    Member #
    93425
    Join Date
    Aug 2011
    Posts
    10
    Quote Originally Posted by twerppoet View Post
    BTW, what formula are you using to automatically set the date in a cell? I've been trying to figure out how to do this.
    I created a separate tab where I enter the daily info and it matches with the spreadsheet.

  8. #17
    iPad Fan
    Member #
    80087
    Liked
    5 times
    Join Date
    Jul 2011
    Posts
    285
    Quote Originally Posted by twerppoet
    BTW, what formula are you using to automatically set the date in a cell? I've been trying to figure out how to do this.
    use the function 'now' or 'today'... but make sure you do the copy and paste / values "thing" right after to "fix" it, or else that date/time changes everytime

    to the OP, here's something i cobbled up... http://www.4shared.com/file/58uCnUby/Blank.html. the dates are set (set day 1 - the cell in green - to your liking), you only input the values.

    i didn't use a footer as you might want to always know what the latest values are on top, so they are all in the header...
    Attached Thumbnails Attached Thumbnails Help with Numbers formula-image-547645668.png   Help with Numbers formula-image-2985715608.png  
    Last edited by 88raymond; 08-30-2011 at 04:36 PM.
    iPad2 3G 64GB
    SHSH 4.3.3
    JB
    Manila, Phil

  9. #18
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    Quote Originally Posted by 88raymond View Post
    Quote Originally Posted by twerppoet
    BTW, what formula are you using to automatically set the date in a cell? I've been trying to figure out how to do this.
    use the function 'now' or 'today'... but make sure you do the copy and paste / values "thing" right after to "fix" it, or else that date/time changes everytime

    to the OP, here's something i cobbled up... Blank.numbers - 4shared.com - online file sharing and storage - download. the dates are set (set day 1 - the cell in green - to your liking), you only input the values.

    i didn't use a footer as you might want to always know what the latest values are on top, so they are all in the header...
    Thanks. I'll play with it.

    I like the idea of keeping result data in the header. I may have to use that myself sometime.

  10. #19
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    Quote Originally Posted by Jmfocus View Post
    Quote Originally Posted by twerppoet View Post
    BTW, what formula are you using to automatically set the date in a cell? I've been trying to figure out how to do this.
    I created a separate tab where I enter the daily info and it matches with the spreadsheet.
    Ok, I might be able to figure that out. Thanks.

  11. #20
    iPF Legend
    Member #
    28530
    Liked
    584 times
    Join Date
    Jan 2011
    Location
    Dayton, WA
    Posts
    13,198
    Quote Originally Posted by Jmfocus View Post

    C2-LOOKUP(Max(DateColumn),DateColumn,ValueColumn) Edit, fixed mistake. I got the two formulas mixed up. Sorry. It was correct in the screen shot though.

    If that still does not make sense, here is the spreadsheet I've been playing with, with both the crazy and Raymond inspired simpler formulas. You can play with them until you understand what is going on.
    Do I type that in as text exactly as you have it. If so, it doesn;t do the computation, it just shows the actual text in the footer cell.
    No, you can't enter formulas that way in the iPad. It just becomes a text string. I wish you could. Once you know for sure what you want it would be a lot easier than the system used.

    Let me try a walk though. All formula's are entered this way (more or less), with tap and holds to place the cursor for operator entry or deleting optional place holders.

    You double tap on the cell to start the cell editor, then select the = sign to go into formula mode.

    Then you select the cell C2 from the table, then the - sign from the operator section of the editor. That gives you C2- This is your initial value. The results of the following functions will be subtracted from it.

    You tap the function key in the editor, go to the Reference section and select LOOKUP. This will give you the LOOKUP function with three placeholders. This is what determins where you will find your value to be subtracted from C2. It has three parts. What it is looking for, Where it is going to look, and Where it will return results from.

    Tap the first placeholder (search-for) so that it is highlighted. Open functions again, go to the Statistical section and tap on MAX. You get the MAX function with one placeholder. This is the function that looks at the entire column and returns the maximum (most recent date) as a value. It acts as what you are looking for in the LOOKUP function.

    Tap on the MAX place holder (value) so that it is highlighted, then select the column with the dates. Do this by tapping the bar above the column, where the letter designator for that column is visible. This should result in the (value) settings changing to the text that's in the header.

    Now tap on the second lookup placeholder (search-where), then tap on the same column again. Again the place holder value changes to the header text. This determines what column LOOKUP searches when trying to Match the value returned by the MAX command. It seems redundant, but it's not. The first command figured out what the maximum value was. This determines what row it is found on.

    Tap the last place holder (result-values) then tap on the bar above the column that contains the values to be compared. In this case C. This determines what column the result comes from. It will be from the same row in the (search-where) column that matched the (search-for) value returned by the MAX function.

    Finally, tap the green checkmark to enter and check the formula. If all went as planed it should work.

    It's a good idea to make a few dummy spreadsheets and practice entering formulas until you get used to the method. It's not all that bad a method, but you need to know what you are going to do before you start, and it does not handle mistakes well.

    Speaking of mistakes, Undo is your friend. It keep you from starting over when something goes wrong.

    Good Luck
    Last edited by twerppoet; 08-30-2011 at 06:01 PM. Reason: Corrected formula in quoted text.


Advertisements

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. Numbers help with formula running down a page
    By BoredFatMan in forum iWork Forum
    Replies: 3
    Last Post: 05-11-2011, 01:19 PM
  3. Mathmatics/Physics Formula writing iPad app
    By fduckworth in forum iPad Apps
    Replies: 6
    Last Post: 05-06-2011, 01:59 AM
  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

formula numbers ipad

,

how to subtract in numbers mac

,

how to subtract numbers in numbers on an ipad

,
how to write formulas on numbers apps for iphon
,
ios numbers subtract
,

ipad numbers formulas

,

iwork numbers address function help

,
lookup and indirect mac numbers
,
lookup multiple values
,
multiple look up
,

vlookup

,
what is the apple numbers formula for subtracting numbers in a column
Click on a term to search for related topics.