+ Reply to Thread
Results 1 to 6 of 6

The formula for the last number of the column (table)

  1. #1
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    The formula for the last number of the column (table)

    Hello, how are you? I use this code =LOOKUP(9.99999999999999E+307,A1:A50) for the last number of the column but this code does not work for a pivot table because the table always growing.

    What is a similar code that can work for a table column?
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: The formula for the last number of the column (table)

    Try:

    =LOOKUP(9.9E+307,Table1[Row Labels])
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Re: The formula for the last number of the column (table)

    Quote Originally Posted by Glenn Kennedy View Post
    Try:

    =LOOKUP(9.9E+307,Table1[Row Labels])
    Thanks, it worked but it does not want to work for a pivot table. Do you know why? Here is a new upload.
    Attached Files Attached Files

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: The formula for the last number of the column (table)

    Why do you need to do that to a pivot table?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  5. #5
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Re: The formula for the last number of the column (table)

    Quote Originally Posted by xlnitwit View Post
    Why do you need to do that to a pivot table?
    I'm a nub. I just need to know the last number so I could build a trending row (under totals) for this dashboard. So basically +$6000 (the last # of the table)

    1. dashboard tv.png

    My job as a data miner, is to mesmerize my client.

  6. #6
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Re: The formula for the last number of the column (table)

    Oh wait, I think I get it. It auto. gave me the code by just clicking on the pivottable

    =GETPIVOTDATA("[Measures].[Sum of TOTALSALES]",$AU$1,"[Date].[DATE]","[Date].[DATE].&[2018-02-16T00:00:00]")

    Sorry for any disturbances

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Find Max Value in Table, Return Row & Column Number
    By roche92 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-25-2015, 04:47 PM
  2. What formula to use to match 1 number to mutiple number & column
    By vani2004 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2014, 01:29 PM
  3. [SOLVED] need formula to this logic, A column number B column blank then C column desired name
    By vengatvj in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-02-2013, 10:30 PM
  4. Replies: 7
    Last Post: 01-25-2013, 05:17 PM
  5. [SOLVED] Need a formula to sort a table into table (for a Table Plan) and name in column 2
    By jbpianoman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2012, 09:21 AM
  6. Replies: 2
    Last Post: 02-13-2012, 09:03 AM
  7. How do I determine Table Column Index Number?
    By sauerj in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 09-17-2010, 09:25 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1