+ Reply to Thread
Results 1 to 3 of 3

Last Occurrence of Values In A Range

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Last Occurrence of Values In A Range

    Looking for formula to return last occurrence of numbers in column C. The last occurrence of numbers to return is column C and the desired output/desired results is in column D.

    The formula should be based on column A and B for it to look into column C and then return the last occurrence in the desired column, which is column D.

    Only values with 1s in column B should be made to return the last occurrence value in column D. Formula should be setup to return blank for values with Zeros (0s) in column B.

    Please Login or Register  to view this content.
    See sample file.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Last Occurrence of Values In A Range

    Formula for cell D2 and then fill down =IF(AND(C2<>C3,B2=1),C2,"")
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Last Occurrence of Values In A Range

    If there could be different years in col A both with 1 in col B,

    D2:
    Formula: copy to clipboard
    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. Highlight first occurrence of a value in a row range
    By Rxcd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-05-2017, 05:05 PM
  2. First occurrence on cell range
    By lurak4884 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2017, 03:53 AM
  3. [SOLVED] Finding last occurrence of value in row range
    By Gti182 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-19-2017, 10:28 AM
  4. [SOLVED] Count last occurrence for specific values in range
    By YasserKhalil in forum Excel General
    Replies: 2
    Last Post: 01-12-2016, 05:08 AM
  5. Find Nth Occurrence in a Row (Range)
    By bowater in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2015, 01:45 PM
  6. sum of a range of values based on count of occurrence of letter in range
    By vsbhogar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2013, 01:02 PM
  7. Filter for first, second and last occurrence of different values
    By winstonfb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2010, 02:54 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