calforhelp

Q: Pages, formulas between multiple tables

I need a little help with an invoice template. I am trying to get the upper blue column to automatically sum into the lower blue cell. The upper pink column to sum into the lower cell. Then the two lower blue and pink cells sum into the yellow cell for a final total.

 

I'd love for all of these cells to remain as a dollar amount and that seems to be where my problem is. The formula always returns either zero or an error. Any help would be greatly appreciated.

 

Thank you!

Screen Shot 2016-07-16 at 12.32.14 PM.png

MacBook Pro (17-inch Early 2011), OS X El Capitan (10.11.5)

Posted on Jul 16, 2016 12:40 PM

Close

Q: Pages, formulas between multiple tables

  • All replies
  • Helpful answers

  • by VikingOSX,Solvedanswer

    VikingOSX VikingOSX Jul 16, 2016 7:36 PM in response to calforhelp
    Level 7 (20,884 points)
    Mac OS X
    Jul 16, 2016 7:36 PM in response to calforhelp

    Screen Shot 2016-07-16 at 9.47.42 PM.jpg

     

    You cannot multiple a Rate/hr. text field times a number field, so fixed Table 1::C2:C5 to be numeric. So set the formula as follows, and dragged the yellow grip from Table 1::D2 down to D5.

    Screen Shot 2016-07-16 at 9.50.28 PM.jpg

     

    Same issue with table 2 where you are attempting to multiply a text mileage field times a numeric miles. Made mileage rate column numeric.

    Screen Shot 2016-07-16 at 9.52.44 PM.jpg

     

    The hours Line Totals formula is:

    Screen Shot 2016-07-16 at 9.56.21 PM.jpg

    Mileage formula:

    Screen Shot 2016-07-16 at 9.56.54 PM.jpg

    And Totals:

    Screen Shot 2016-07-16 at 9.57.30 PM.jpg

  • by PeterBreis0807,

    PeterBreis0807 PeterBreis0807 Jul 16, 2016 7:15 PM in response to calforhelp
    Level 8 (35,673 points)
    Mac OS X
    Jul 16, 2016 7:15 PM in response to calforhelp

    You can not link across tables in Pages, for that you need to use Numbers.

     

    What you can do is make a single table that appears to be multiple tables by setting the lines in the cells between to None.

     

    Peter

  • by calforhelp,

    calforhelp calforhelp Jul 16, 2016 7:37 PM in response to VikingOSX
    Level 1 (4 points)
    iWork
    Jul 16, 2016 7:37 PM in response to VikingOSX

    Thank you very much, that worked perfectly!

  • by Barry,

    Barry Barry Jul 16, 2016 9:17 PM in response to PeterBreis0807
    Level 7 (32,316 points)
    Jul 16, 2016 9:17 PM in response to PeterBreis0807

    "You can not link across tables in Pages, for that you need to use Numbers."

     

    Seems to work fine here. Three separate tables. Formulas on Tables 1 and 2 reference only cells on their own table.

    Formulas on Table 3 total amounts on Table 1 and on Table 2.

    Screen Shot 2016-07-16 at 9.16.19 PM.png

    Formulas:

    Table 1:: D2, filled down to D5: =B2×C2

     

    Table 2::E2, filled down to E4: =Mileage×Rate

    Expressed using addresses rather than column labels: =BxC

     

    Table 3::B2: =SUM(Table 1::Amount)

    Table 3::B3: =SUM(Table 2::Amount)

    Table 3::B4: =SUM(B1:B2)

     

    To keep the illustration simple, I haven't taken the step of rounding each result to two decimal places, or of formatting the money results as currency.

     

    Regards,

    Barry

  • by PeterBreis0807,

    PeterBreis0807 PeterBreis0807 Jul 16, 2016 9:36 PM in response to Barry
    Level 8 (35,673 points)
    Mac OS X
    Jul 16, 2016 9:36 PM in response to Barry

    Well that's something new!

     

    Wonder when they did that?

     

    At last, an actual improvement!

     

    Peter

  • by Barry,

    Barry Barry Jul 16, 2016 11:05 PM in response to PeterBreis0807
    Level 7 (32,316 points)
    Jul 16, 2016 11:05 PM in response to PeterBreis0807

    Sneaked it in when we weren't paying attention.

    Probably around the time when Named tables became available, seeing as the tablename is a required part of the reference to a cell on a table other than the one containing the formula.

     

    Barry

  • by PeterBreis0807,

    PeterBreis0807 PeterBreis0807 Jul 17, 2016 4:09 AM in response to Barry
    Level 8 (35,673 points)
    Mac OS X
    Jul 17, 2016 4:09 AM in response to Barry

    Well, it's a good thing!

     

    At last something positive I can add to the checklist.

     

    Peter

  • by VikingOSX,

    VikingOSX VikingOSX Jul 17, 2016 1:42 PM in response to VikingOSX
    Level 7 (20,884 points)
    Mac OS X
    Jul 17, 2016 1:42 PM in response to VikingOSX

    One can perform intra-table references in Pages '09. Observe table 3 referencing the sum of Line Totals for Hours from Table 1, and the sum of Extension for Mileage from Table 2. The key to this capability is using unique table headers on those tables (columns) that you wish to reference from another table.

    Screen Shot 2016-07-17 at 4.30.07 PM.jpg

    In Pages '09 v4.3, one cannot reference another table cell range as table 1::D2:D4 to get the Line Totals for Hours. Simply reference the table column heading name. And it is the same for Mileage too.

     

    Hours

    Screen Shot 2016-07-17 at 4.34.55 PM.jpg

    Mileage

    Screen Shot 2016-07-17 at 4.35.30 PM.jpg