+ Reply to Thread
Results 1 to 6 of 6

Find last value in column?

  1. #1
    Forum Contributor
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    358

    Find last value in column?

    I am using a basic formula to calculate percentage gain but I am specify a particular cell in the equation. This provoked me into thinking if it were possible to have my formula look up the entire column (3000 rows) and find the last inputed figure within the equation?

    The formula I am using is simple: =(AN94-AN6)/AN6

    As you can see AN94 in this case works. AN6 is static but AN94 could be a much larger number or lower row number. Instead of my having to find this particular row, I just want to know if this is the last piece of data in the worksheet (i.e. nothing comes after AN94 in this case so use AN94).

    Thanks!

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Find last value in column?

    This will give you the last value in a column AN

    =LOOKUP(100^100,AN:AN)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Find last value in column?

    http://www.xldynamic.com/source/xld.LastValue.html

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Find last value in column?

    Thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

  5. #5
    Forum Contributor
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    358

    Re: Find last value in column?

    Thanks for both responses! One thing I love about this site is how quickly people respond! Thank you!

    Just out of curiosity, where can I see a list of all of excels equality symbols (i.e <> ^ >= <= etc). Just wondering what ^ means

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Find last value in column?

    "^" called caret and it is used to create a very large number. For example, formula =2^5 in excel will result in 32. When used in the context of this formula, the LOOKUP function will search for this very large number and if not found, the formula will return to the last row, as it would assume that the last row would carry the largest number.

+ 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: 3
    Last Post: 11-25-2014, 06:08 AM
  2. Replies: 3
    Last Post: 05-28-2014, 12:01 PM
  3. Replies: 2
    Last Post: 04-26-2013, 01:16 PM
  4. [SOLVED] Error when using FIND Method to find last row when column is blank
    By the duke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-01-2013, 10:26 PM
  5. Range.Find to find column and place value in next available cell in one line
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 10:41 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