fayez_MrExcel
Active Member
- Joined
- Oct 29, 2005
- Messages
- 439
- Office Version
- 365
- Platform
- Windows
How to "XLookup" the cost center of Emp 123 from the source data with the same month and year.
Destination
Source Data:
Destination
Date | Emp No. | Cost Center |
Jan 02, 2020 | 123 | Expected Result. --> cc55 |
Apr 25, 2020 | 123 | Expected Result --> cc90 |
March 5, 2021 | 718 |
Source Data:
Date | Emp No. | Cost Center |
Jan 31, 2020 | 123 | cc55 |
Apr 4, 2020 | 123 | cc90 |
Aug 2, 2020 | 718 | cc35 |