XLOOKUP and FILTER: Help Sorting the Results

atypicalguy

New Member
Joined
Jun 11, 2024
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hey you fabulous excel champs,

Received fantastic help on my last post so I'm back with two more questions I'm hoping this brilliant community could help me with:

Formula 1.)
Excel Formula:
=XLOOKUP([@[Equip. SN]],Table1[[#All],[Equip. SN]],Table1[[#All],[Latest Due Date]],,,-1)

I'm using this formula to find the most-recent date an xray machine was last tested, linking/searching/referencing by the equipment serial number. The "-1" works fine, sorting it by the most recent entry it pulls from the raw data/source, but not if I'm putting in older data - it seems like the "-1" interprets this as the most recent, instead of actually using the date.

Is there a MAX( or other function that would work in sorting it by the biggest date it can link with that serial number?

Formula 2.)
Excel Formula:
=FILTER(Table1[#All],((Table1[[#All],[Next QAT Due On]]<L21+40)))

I'm using this formula to highlight the xray machines that are past due/coming up due for quality assurance testing.

Is there a way to group these clinics by name regardless of date - while still keeping the parameter of +40 days past the present day (L21)?

Thanks again!
 
You're welcome & thanks for the feedback.
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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