Hi Everyone,
I have this formula that I use to pull a certain data while referencing certain cells.... Here is the formula:
{=IF(B419="","",IFERROR(INDEX('Work Orders'!N:N,MATCH(1,IF(VALUE(D419)='Work Orders'!AC:AC,IF("Canceled"<>'Work Orders'!K:K,IF('Work Orders'!AB:AB<=VALUE(B419),1))),0)),"No Work Order Type"))}
My issue is, it's pulling the mist match it sees and I need it to pull the closest date to B419... So lets say B419 is 06/20/2019 but the formula pulls a WO that is 05/01/2019 becuase it's the first one on the directory that has the same property code....
How can I insert a nested criteria that tells the formula to grab the most recent work order closet to B419(06/24/2019)?
Thank you!
-Nik
I have this formula that I use to pull a certain data while referencing certain cells.... Here is the formula:
{=IF(B419="","",IFERROR(INDEX('Work Orders'!N:N,MATCH(1,IF(VALUE(D419)='Work Orders'!AC:AC,IF("Canceled"<>'Work Orders'!K:K,IF('Work Orders'!AB:AB<=VALUE(B419),1))),0)),"No Work Order Type"))}
My issue is, it's pulling the mist match it sees and I need it to pull the closest date to B419... So lets say B419 is 06/20/2019 but the formula pulls a WO that is 05/01/2019 becuase it's the first one on the directory that has the same property code....
How can I insert a nested criteria that tells the formula to grab the most recent work order closet to B419(06/24/2019)?
Thank you!
-Nik