+ Reply to Thread
Results 1 to 2 of 2

finding correct cell in reference

  1. #1
    Registered User
    Join Date
    02-04-2016
    Location
    NYC
    MS-Off Ver
    W10
    Posts
    1

    finding correct cell in reference

    I have two rows of numbers, the top one are years, 2016 through 2025. The second is 1-10. I want to find the left-most cell that is >= 5 and return the year directly above that cell.

    tia

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: finding correct cell in reference

    With this sample data, random values in Row_2:
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    1
    2016
    2017
    2018
    2019
    2020
    2021
    2022
    2023
    2024
    2025
    Threshhold
    5
    2
    3
    10
    3
    1
    10
    4
    2
    1
    1
    7

    This formula returns the Row_1 heading that corresponds to the first Row_2 value that is greater than or equal to the M1 value
    Please Login or Register  to view this content.
    EDITED TO INCLUDE THIS COMMENT:
    Actually, this is a bit less complicated:
    Please Login or Register  to view this content.
    In that example, the formula returns: 2017

    Is that something you can work with?
    Last edited by Ron Coderre; 02-04-2016 at 04:52 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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. Adding a date to the bottom of a list and finding the correct cell
    By nappy1001 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-05-2014, 04:48 AM
  2. [SOLVED] Finding Correct Row based on cell shading
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-08-2012, 09:26 PM
  3. Finding a cell reference in an array
    By stroberaver in forum Excel General
    Replies: 9
    Last Post: 02-15-2010, 08:11 AM
  4. Correct reference error on cell
    By avidcat in forum Excel General
    Replies: 8
    Last Post: 12-31-2009, 05:43 AM
  5. Finding a particular cell reference among a range of cells
    By deathbybowtie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2009, 04:42 AM
  6. Replies: 1
    Last Post: 01-09-2006, 12:35 AM
  7. copied formula has correct cell reference, but result of original
    By lvito in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2005, 12:05 PM
  8. [SOLVED] Finding the cell reference of a matching search value
    By ndrewitt in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-12-2005, 09:06 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