Matching Multiple Criteria to Extract a Date

iLikeTigers1

New Member
Joined
Oct 15, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am trying to get the extract date to be put under the "Last Use of Body Scanner" in the last image.
But before that, I need to match criteria, such as name match, most recent deployment with that equipment in use, and if that personnel is certified in that equipment before the date is confirmed.
Images are in order, including airport equipment, equipment certification, deployment, and certification tracker.

Your help is appreciated!
 

Attachments

  • Screenshot 2024-10-15 at 2.46.37 AM.png
    Screenshot 2024-10-15 at 2.46.37 AM.png
    131.8 KB · Views: 10
  • Screenshot 2024-10-15 at 2.46.56 AM.png
    Screenshot 2024-10-15 at 2.46.56 AM.png
    25.2 KB · Views: 10
  • Screenshot 2024-10-15 at 2.47.11 AM.png
    Screenshot 2024-10-15 at 2.47.11 AM.png
    110.6 KB · Views: 10
  • Screenshot 2024-10-15 at 2.47.25 AM.png
    Screenshot 2024-10-15 at 2.47.25 AM.png
    17.6 KB · Views: 12

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I am trying to get the extract date to be put under the "Last Use of Body Scanner" in the last image.
But before that, I need to match criteria, such as name match, most recent deployment with that equipment in use, and if that personnel is certified in that equipment before the date is confirmed.
Images are in order, including airport equipment, equipment certification, deployment, and certification tracker.

Your help is appreciated!
To clarify, I need a formula that calculates those pieces of information.
 
Upvote 0
Hello, could please explain in more detail what is the relationship between those screenshots? E.g. it might be possible to work with 3rd and 4th but there seems to be no connection with 1st and 2nd. Also, how the condition if "personnel is certified" is verified?
 
Upvote 0
Hello, could please explain in more detail what is the relationship between those screenshots? E.g. it might be possible to work with 3rd and 4th but there seems to be no connection with 1st and 2nd. Also, how the condition if "personnel is certified" is verifie

Hello, could please explain in more detail what is the relationship between those screenshots? E.g. it might be possible to work with 3rd and 4th but there seems to be no connection with 1st and 2nd. Also, how the condition if "personnel is certified" is verified?
Yes of course, the first is the list if that airport has the equipment. If the officer is sent to different locations, that table would need to be referenced. The cert list, states if that officer is certified for that equipment, which would need to be referenced when needing to extract the date. If they weren’t certified, then it would be n/a.
 
Upvote 0
Many thanks for your reply. Based on your description, please test the following (you will need to adjust references based on your data - the references as used within the formula visible in the attachment - and adjust the date column which you are interested in, i.e. either "Insert Date" or "Extract Date" as I am not sure about that):

Excel Formula:
=IFERROR(IF(XLOOKUP(Q2&R2,$D$2:$D$20&$E$2:$E$20,$F$2:$F$20,"No")="Yes",TAKE(SORT(FILTER($M$2:$M$20,($I$2:$I$20=Q2)*($J$2:$J$20=R2)*(XLOOKUP($K$2:$K$20,$A$2:$A$20,$B$2:$B$20,"No")="Yes"))),-1),"-"),"-")
 

Attachments

  • 1.png
    1.png
    64.5 KB · Views: 3
Upvote 0

Forum statistics

Threads
1,223,867
Messages
6,175,074
Members
452,611
Latest member
bls2024

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