+ Reply to Thread
Results 1 to 3 of 3

Get data for last cell with certain criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Get data for last cell with certain criteria

    Hi, my excel friends!

    I need formula for B6 column:

    If: A6=-1
    Value if true: last value from C column that was longer than 5 digits. (in this case value in B6 is C3, in B8 is C7).
    Value if false not necessary

    Screenshot_146.jpg

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Get data for last cell with certain criteria

    Hi

    Try this in B1 and copy down
    Formula: copy to clipboard
    =IF(A1=-1,INDEX($C$1:C1,AGGREGATE(14,6,ROW($A$1:$A1)/(LEN($C$1:$C1)>5),1)),"x")

  3. #3
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Re: Get data for last cell with certain criteria

    Quote Originally Posted by José Augusto View Post
    Hi

    Try this in B1 and copy down
    Formula: copy to clipboard
    =IF(A1=-1,INDEX($C$1:C1,AGGREGATE(14,6,ROW($A$1:$A1)/(LEN($C$1:$C1)>5),1)),"x")
    thank you solved.

+ 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] Extract and copy cell data to another cell if it matches criteria
    By volleyballtigger in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-24-2017, 12:55 PM
  2. Replies: 2
    Last Post: 12-07-2016, 12:39 PM
  3. Replies: 1
    Last Post: 12-06-2016, 06:16 PM
  4. Replies: 4
    Last Post: 05-14-2015, 02:48 PM
  5. Replies: 3
    Last Post: 10-30-2013, 02:05 PM
  6. Display data from multiple cell in a single cell, based on criteria
    By Mothman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-08-2012, 07:24 AM
  7. Replies: 2
    Last Post: 05-24-2010, 10:13 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