Forum Discussion
spinaz007
Dec 28, 2023Copper Contributor
How to check which date range an entered date falls between
Hi, I have the following table below. As shown below, I would like to user to enter the Part Number "P/N" (in B2) and Date Built (in B3) on Sheet 1. Based on this data, I want it to look up and ...
PeterBartholomew1
Dec 28, 2023Silver Contributor
As suggested by OliverScheurich but written in a way that merges with my general spreadsheet presentation style
= LET(
inDate?, BYROW(dateRange<built, XORλ),
filled, SCAN("", partNo, FILLDOWNλ),
validParts, IF(inDate?, filled),
XLOOKUP(part, validParts, revision, "Not available")
)
where
FILLDOWNλ(p, q)
= IF(q <> "", q, p)
XORλ(v)
= XOR(v)
- PeterBartholomew1Dec 28, 2023Silver Contributor
Version from part and date