Formula Help.

mazher

Active Member
Joined
Nov 26, 2003
Messages
363
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Please can someone help me with

Invoice NumberResult I am gettingResult I NeedSrInvoice NoInitial Email2nd Email3rd Email4th Email5th Email6th Email
A
06/07/2022​
22/03/2023​
1​
A
06/07/2022​
12/10/2022​
12/10/2022​
19/10/2022​
09/02/2023​
22/03/2023​
B
11/11/2020​
06/07/2021​
2​
B
11/11/2020​
18/11/2020​
24/11/2020​
18/04/2021​
06/07/2021​
C
11/11/2020​
01/06/2021​
3​
C
11/11/2020​
24/11/2020​
18/04/2021​
23/04/2021​
01/06/2021​
D
14/12/2021​
09/02/2023​
4​
D
14/12/2021​
31/03/2022​
22/04/2022​
09/05/2022​
09/02/2023​
F
05/09/2020​
06/07/2021​
5​
E
09/02/2023​
16/02/2023​
22/03/2023​
16/12/2023​
18/12/2023​
P
02/04/2024​
02/04/2024​
6​
F
05/09/2020​
01/06/2021​
24/06/2021​
06/07/2021​
7​
G
11/11/2020​
24/11/2020​
18/04/2021​
01/06/2021​
8​
H
12/02/2022​
22/04/2022​
09/05/2022​
09/02/2023​
9​
I
22/06/2022​
02/08/2022​
12/10/2022​
12/10/2022​
10​
J
22/06/2022​
10/08/2022​
12/10/2022​
12/10/2022​
11​
K
06/07/2022​
02/08/2022​
12/10/2022​
12/10/2022​
12​
L
09/02/2023​
16/02/2023​
16/12/2023​
18/12/2023​
13​
M
09/02/2023​
16/02/2023​
24/02/2023​
22/03/2023​
14​
N
09/02/2023​
16/02/2023​
16/12/2023​
18/12/2023​
15​
O
06/02/2020​
03/03/2020​
25/04/2020​
16​
P
02/04/2024​

I am using this foruma in Cell AB3 =XLOOKUP(AA3:AA8,AF3:AF19,AG3:AL19,"",0,-1)
Basically I need the last date the email was sent for a particular invoice.
Any help will be appreciated.

Thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about
Fluff.xlsm
ABCDEFGHIJKL
1Invoice NumberResult I am gettingSrInvoice NoInitial Email2nd Email3rd Email4th Email5th Email6th Email
2A22/03/20231A06/07/202212/10/202212/10/202219/10/202209/02/202322/03/2023
3B06/07/20212B11/11/202018/11/202024/11/202018/04/202106/07/2021
4C01/06/20213C11/11/202024/11/202018/04/202123/04/202101/06/2021
5D09/02/20234D14/12/202131/03/202222/04/202209/05/202209/02/2023
6F06/07/20215E09/02/202316/02/202322/03/202316/12/202318/12/2023
7P02/04/20246F05/09/202001/06/202124/06/202106/07/2021
87G11/11/202024/11/202018/04/202101/06/2021
98H12/02/202222/04/202209/05/202209/02/2023
109I22/06/202202/08/202212/10/202212/10/2022
1110J22/06/202210/08/202212/10/202212/10/2022
1211K06/07/202202/08/202212/10/202212/10/2022
1312L09/02/202316/02/202316/12/202318/12/2023
1413M09/02/202316/02/202324/02/202322/03/2023
1514N09/02/202316/02/202316/12/202318/12/2023
1615O06/02/202003/03/202025/04/2020
1716P02/04/2024
18
Sheet4
Cell Formulas
RangeFormula
B2:B7B2=MAX(XLOOKUP(A2,$F$2:$F$100,$G$2:$L$100,"",0))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,259
Messages
6,177,480
Members
452,782
Latest member
ZCapitao

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