+ Reply to Thread
Results 1 to 5 of 5

Find last value in column

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Lithuania Kaunas
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    98

    Question Find last value in column

    Hello hello i need some help . i need find last value in column be some criteria


    PHP Code: 
    1    DOG           1000    
    2    ANT            800    
    3    CAT            900    
    4    DOG            950
    5    ANT            750 
    4 DOG 950 - corect value whitch i need

    1- criteria find all values with criteria DOG
    2- show last in column value (last not biggest)

    i finde this tu formulas:

    HTML Code: 
    but when i whrite i have hest error #N/A
    i attach sample.

    i don't whant any vba jest simple formula.
    Attached Files Attached Files

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Find last value in column

    change this

    ={IF(ISNUMBER(G1);LOOKUP(9,99999999999999E+307;IF(Sheet3!$B$2:$B$6=E1;Sheet3!$C$2:$C$6));0)}

    to this

    ={IF(ISNUMBER(G1);LOOKUP(9,99999999999999E+307;IF(Sheet3!$B$2:$B$6=D1;Sheet3!$C$2:$C$6));0)}
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,170

    Re: Find last value in column

    Change E1 to D1 !

  4. #4
    Registered User
    Join Date
    06-18-2013
    Location
    Lithuania Kaunas
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    98

    Re: Find last value in column

    Oh dear what a fool I. thnx Crooza

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find last value in column

    If I understand what you want to do, this should work.

    Data Range
    A
    B
    C
    D
    E
    1
    ------
    ------
    ------
    ------
    ------
    2
    DOG
    1000
    Dog
    950
    3
    ANT
    800
    4
    CAT
    900
    5
    DOG
    950
    6
    ANT
    750


    This formula entered in E2:

    =LOOKUP(2;1/(A2:A6=D2);B2:B6)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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

Tags for this Thread

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