• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

MAX date for the Issued Item

Dear Experts,
Thanks for the help in advance. Attached is the document for support.

REPORT SHEET - I need last issued selected item for the Employee.
 

Attachments

  • Sample.xlsx
    13.5 KB · Views: 6
Not sure what you are expecting (no expected results in your workbook), but try these:

=MAXIFS($H$2:$H$9,$A$2:$A$9,$A2)

=LOOKUP(2,1/($B2:$G2>0),$B$1:$G$1)

=LET(a,DROP(REDUCE("",$A$2:$A$9,LAMBDA(x,y,VSTACK(x,BYCOL(FILTER($B$2:$G$9,$A$2:$A$9=y),LAMBDA(c,SUM(c)))))),1),BYROW(a,LAMBDA(r,LOOKUP(2,1/(r>0),B1:G1))))

The third will work only in Excel 365.

EDIT: I did not see the other worksheet - sorry.

AliGW on MS365 Beta Channel (Windows 11) 64 bit


A
B
C
D
E
F
G
H
I
J
K
1
Employee No.
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
ISSUED DATE
Max Date
Last Item by row
Last item by employee
2
16736​
2​
1​
1​
1​
1​
0​
15/Jun/24​
15/06/2024​
Item 5Item 5
3
16617​
1​
1​
1​
1​
1​
1​
1/Jan/24​
30/03/2024​
Item 6Item 6
4
16424​
2​
1​
1​
1​
1​
0​
11/Jun/24​
11/06/2024​
Item 5Item 5
5
16619​
1​
1​
1​
1​
1​
0​
20/Jun/24​
20/06/2024​
Item 5Item 5
6
16425​
2​
1​
1​
1​
1​
1​
20/Jun/24​
20/06/2024​
Item 6Item 6
7
16617​
1​
1​
0​
1​
0​
0​
10/Feb/24​
30/03/2024​
Item 4Item 6
8
16617​
4​
1​
1​
1​
1​
1​
20/Feb/24​
30/03/2024​
Item 6Item 6
9
16617​
0​
1​
1​
1​
0​
1​
30/Mar/24​
30/03/2024​
Item 6Item 6

Sheet: Data
 
In report sheet I select Employee No. & select one Item drop down list , need last date of the item issued to the Emplyee 16617.sample.jpg
 
Thank you for your support.

In report sheet i choose one Emp. no and select one item from drop down list, last date of the selected issued. in B6:B9
 

Attachments

  • Sample.xlsx
    15.1 KB · Views: 4

binoyfalcon

Seems that You skipped that formula, which gives results as You've written.
Take care.
=MAXIFS(Data!H2:H9,Data!A2:A9,Report!B1) this is not working.

1. Select Emp No.
2. Choose the Item
3 cell B6 - Last date of the Item issued to this Employee - 16617.
 

Attachments

  • Sample.jpg
    Sample.jpg
    53.6 KB · Views: 4

binoyfalcon

You (too) should learn to answer to questions.
Here one my way sample to get two versions of results.
( with '< mode' can choose version )
 

Attachments

  • Sample.xlsb
    31.1 KB · Views: 6
Back
Top