Results 1 to 4 of 4

Return a value based on cells above the referenced cell

Threaded View

  1. #1
    Registered User
    Join Date
    02-17-2021
    Location
    Australia
    MS-Off Ver
    365
    Posts
    3

    Return a value based on cells above the referenced cell

    Hi All,

    Trying to wrap my head around creating a formula for the cell to return values based on the values above a referenced cell. Example I'm trying to make Column C return "Y"s for any value that is equal or less than 10 in column B, and if it is higher than 10 that it will return "N" for 4 rows after that. E.g.

    B2 = 13 so, C2 = N
    ^ value above 10
    B3 = 0 so, C3 = N
    ^ 1st row after a value above 10
    B4 = 0 so, C4 = N
    ^ 2nd row after a value above 10
    B5 = 0 so, C5 = N
    ^ 3rd row after a value above 10
    B6 = 0 so, C6 = N
    ^ 4th row after a value above 10
    B7 = 0 so, C7 = Y
    ^ after the 4th row where the referenced cell was higher than 10 return value is Y
    B8 = 0 so, C8 = Y
    ^ after the 4th row where the referenced cell was higher than 10 return value is Y
    B9 = 0 so, C9 = Y
    ^ after the 4th row where the referenced cell was higher than 10 return value is Y
    B10 = 0 so, C10 = Y
    ^ after the 4th row where the referenced cell was higher than 10 return value is Y
    B11 = 0 so, C11 = Y
    ^ after the 4th row where the referenced cell was higher than 10 return value is Y
    Has anyone created a query like this? Please help. I also attached the workbook as to which I'm working on.

    Thanks,

    Raymond
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Return a text value if the referenced cell contains any value.
    By Davecv67 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-11-2021, 05:02 PM
  2. [SOLVED] If Function - Return value 0 when referenced cell is also 0
    By fleyd in forum Excel General
    Replies: 5
    Last Post: 08-03-2015, 06:41 AM
  3. Formatting a cell based on the referenced cells fomat
    By Theo893 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 04-23-2015, 12:28 PM
  4. how do I return value of a referenced cell?
    By dreamwalker in forum Excel General
    Replies: 3
    Last Post: 03-13-2011, 07:26 AM
  5. How can I return a cross referenced cell value?
    By JR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  6. How can I return a cross referenced cell value?
    By JR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. How can I return a cross referenced cell value?
    By JR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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