• 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.

Hlookup / vlookup with multiple criteria

nkunni

New Member
Hi Friends

I am working in a company there more than 150 staff working. I make a daily attendance register.

But I confused in separate to only in “Leave” in the specified date, for make as a Leave report.

I just try with Hlookup and failed.

Any idea to make the report in simple method ?

Sample file attached.
 

Attachments

  • LEAVE REPORT_SAMPLE_1.xlsx
    18.2 KB · Views: 6
Hope this help, im using array formula

regards
 

Attachments

  • LEAVE REPORT_SAMPLE_1.xlsx
    15.7 KB · Views: 8
1] Try to select data in the dropdown list of E27 and E28

2] In D30, non-array formula across to F30 and all copy down :

=IFERROR(INDEX(D$13:D$19,AGGREGATE(15,6,(ROW($G$13:$G$19)-ROW($G$13)+1)/($G$13:$Q$19=$E$27)/($G$12:$Q$12=$E$28),ROWS($1:1))),"")

3] In G30, formula copy down :

=IF(D30="","",E$27)

4] Please refer to the attached file.

Regards
Bosco
 

Attachments

  • LEAVE REPORT_SAMPLE_2.xlsx
    16 KB · Views: 6
Dear Bosco_yip,

If for further .... for example 05/12/2016 add some entry, have no any figures / data appear, why?
 
Hi,

It is worked for me when I added "P" or "L" in column of dated 5 Dec 2016

See attached file

Regards
Bosco
 

Attachments

  • LEAVE REPORT_SAMPLE_2(1).xlsx
    16.1 KB · Views: 8
Hope this help, im using array formula

regards

Dear azumi.......... the coll one, but I have a doubt that -you write in the formula "L" . If we put the cell reference ie $E$27 - because some time the Half day (HF) would be in the sheet.

First I make the Leave reference, and after the same way to HF in the same range and criteria.
 
Okay nkunni I'm fix' the formula, hope you see the attachment file
 

Attachments

  • LEAVE REPORT_SAMPLE_1.xlsx
    16.2 KB · Views: 7
Back
Top