Lookup text between 2 dates - is it possible?

s13igh

New Member
Joined
Jan 26, 2016
Messages
21
Hi,

im trying to list/extract all the text from Z16:Z116 when another columns date falls between a start and end date.

Z16:Z116 = text to extract
AV16:AV116 = contains date
A1 = start date
C1 = end date

is this possible?, I've tried Lookup & Index formula I have found on forums without success.

thanks for the advice.
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
35,590
Office Version
365
Platform
Windows
How about
=IFERROR(INDEX($Z$16:$Z$116,AGGREGATE(15,6,(ROW($Z$16:$Z$116)-ROW($Z$16)+1)/(($AV$16:$AV$116>=$A$1)*($AV$16:$AV$116<=$C$1)),ROWS(A$2:A2))),"")

change the part in red to reference the first cell the formula is in
 

Forum statistics

Threads
1,089,418
Messages
5,408,115
Members
403,185
Latest member
sp646

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top