Iferror(vlookup) with result being individual's max date for training

eobrien

New Member
Joined
Apr 29, 2017
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Good Morning All,

I need a formula to place in Contract Sheet (Column E) that will reference a specific person's name from the training sheet (Training A4:A100 (Name) and then give a result of the maximum date in range (Training G4:O100 Floor Training)the range. Its a worksheet to worksheet pull. I tried on the contract sheet in column E {=max(if(Training!$A$4:$a$100=$a3,training!$g$4:$g$100))}. It doesn't work. Any help would be greatly appreciated! E
 

Attachments

  • Training Sheet.png
    Training Sheet.png
    20.2 KB · Views: 15
  • Contract Sheet.png
    Contract Sheet.png
    7.3 KB · Views: 15

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi,

would something like this do it for you ?

Excel Formula:
=MAX(XLOOKUP(A3,Training!A$4:A$100,Training!G4:O100,"NR"))

(also, good to update your profile here, so we can see which version of Excel you are using)

cheers
Rob
 
Upvote 0
Thank you. I am using Microsoft 365 Apps for Business. I updated. This does work, but is there away to get a result for anything that has no date in it yet...to result in "Schedule"? So, if blank than kick out or give a result of "Schedule"?
 
Upvote 0
Thank you. I am using Microsoft 365 Apps for Business. I updated. This does work, but is there away to get a result for anything that has no date in it yet...to result in "Schedule"? So, if blank than kick out or give a result of "Schedule"?
 
Upvote 0
Can anyone assist with this? =MAX(XLOOKUP(A3,Training!A$4:A$100,Training!G4:O100,"NR"))

This does work, but is there away to get a result for anything that has no date in it yet...to result in "Schedule"? So, if blank than kick out or give a result of "Schedule"?
 
Upvote 0
Maybe this
Excel Formula:
=IFERROR(MAX(XLOOKUP(A3,Training!A$4:A$100,Training!G4:O100)),"Schedule")
 
Upvote 0
Or this...
Excel Formula:
=LET(m,MAX(XLOOKUP(A3,Training!A$4:A$100,Training!G4:O100)),IF(m=0,"Schedule",m))
 
Upvote 0
Thanks for feedback, glad we could help.

Rob
 
Upvote 0
I spoke to soon. It partially works, but not completely. The 2nd suggestion did not work at all, the 1st suggestion works a little. It isn't recognizing Jothirajah or Boles or Ames, who has no dates scheduled and giving the answer of "schedule". It is giving the correct answer for Chen. The people that is saying "Schedule" for aren't on the training list. It should only result in schedule, if they are on the training summary with no dates scheduled. Is there a fix for this or am I just using the wrong type of formula? Any help is appreciated. E.
 

Attachments

  • Training Sheet.png
    Training Sheet.png
    26.9 KB · Views: 4
  • Contract Sheet.png
    Contract Sheet.png
    36.9 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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