Lookup if Date is < than

rambojr

New Member
Joined
Nov 30, 2007
Messages
13
Hi

I have multiple worksheets by year 2020 , 2019, 2018 in my Summary worksheet I want to pull up patch numbers if the date received (Cell H)is less than a date I specif in cell C21 in the Summary worksheet and if CELL I has a value of "Y"

Example
Summary Sheet

Cell C21 = March 25, 2020

Formula should display

1234 TEST PROJECT 1 & 6522 TEST PROJECT 3

Worksheet 2020
A B C D E F G H I
1234TEST PROJECT 1BOBN/A2-Feb-20Y
5875TEST PROJECT 2JOHNN/A6/Jun/20Y
6522TEST PROJECT 3LISAN/A1-Jan-20Y
5572TEST PROJECT 3DAVIDN/A1-Feb-20N
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Cannot manipulate your data as shown. Please use XL2BB to upload your sample. Cannot distinguish columns nor rows from your sample.
 
Upvote 0
Sorry I don't have access to install XL2BB, see images attached below from a sample worksheet. I also included the data for 2019 and 2018 which should be part if the query
Summary.png
2020.png
2019.png
2018.png
View attachment 16311
 
Upvote 0
I tired the 3 formulas below to query the 2020 sheet and got the values I needed, the only problem if I copy it down to other cells it also displays the dates where there are No Manual updates. IF there a way to only show the patch# that is less than the date in cell C21

=IF((AND('2020'!H2<$C$21,'2020'!I2="Y")), '2020'!A2,"No Manual Updates Found")
=IF((AND('2020'!H2<$C$21,'2020'!I2="Y")), '2020'!B2,"No Manual Updates Found")
=IF((AND('2020'!H2<$C$21,'2020'!I2="Y")), '2020'!H2,"No Manual Updates Found")

1592409351460.png
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,037
Members
449,062
Latest member
mike575

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top