+ Reply to Thread
Results 1 to 6 of 6

Last number of the column (pivot table)

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

    Last number of the column (pivot table)

    Hello, how can I find out which is the last number of the column? This code =LOOKUP(9.9E+307,Table1[Row Labels]) works only for tables, but I have a pivot table and this type of a code does not work. What is the formula for pivot table?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Last number of the column (pivot table)

    Isn't this just

    =LOOKUP(9000000000+307,B1:B2000)

    result is 25200.00

    25200.00 is the last number in column B
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Last number of the column (pivot table)

    Does this work for you?
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250
    Quote Originally Posted by sktneer View Post
    Does this work for you?
    Please Login or Register  to view this content.
    Okay thanks. I will try this when I get home. Will this work if the pivot table always updates? The reason I ask is because I do logs on daily bases.

  5. #5
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250
    Quote Originally Posted by Special-K View Post
    Isn't this just

    =LOOKUP(9000000000+307,B1:B2000)

    result is 25200.00

    25200.00 is the last number in column B
    Okay thanks you gave me an idea for the last resort.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Last number of the column (pivot table)

    You're welcome!

    Yes, it will return the correct value if the pivot table updates.

    The formula suggested will return the last sum of price 3,200 (B15) not the Grand Total 25,200.

    If you want to get the Grand Total value, try this instead...
    Please Login or Register  to view this content.

+ 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. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  2. Pivot table to identify number of times a value appears in column
    By arwl1976 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-13-2016, 04:15 AM
  3. Format a pivot table based on values of a pivot column
    By chytechplus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2016, 06:32 AM
  4. Calculating number of times individual number appears in a pivot table
    By snoopy1461 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-15-2014, 08:39 AM
  5. Changing a pivot chart column color based on the pivot table category
    By Shawne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2014, 09:12 AM
  6. Replies: 1
    Last Post: 05-16-2014, 07:34 PM

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