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

Pulling OT hours

aligahk06

Member
Dear All,
I want to pull data from timecard sheet to overtime sheet under following condition.
in overtime sheet if A2C2 match with timecard sheet A2B2 then return value of M2 in cell C2.
LIKEWISE A2D2 MATCH WITH A3B3 then return value in cell C3 FROM M3 and so on.

Any help,

Rgds,

aligahk06
 

Attachments

  • Timecard_new.xlsx
    129.6 KB · Views: 9
See if the file attachment is a solution for you
The ARRAY formula in cell 'C2' is below, copy across
Code:
=INDIRECT("TImeCard!$M"&MATCH($A2&"#"&C$1,TImeCard!$A$2:$A$1881&"#"&TImeCard!$B$2:$B$1881,0)+1)
 

Attachments

  • aligahk06-navic-42234.xlsx
    125.8 KB · Views: 5
Formula in C2 of Overtime sheet
=SUMIFS(TimeCard!$M:$M,TimeCard!$A:$A,$A2,TimeCard!$B:$B,C$1)
 

Attachments

  • Timecard_new LM.xlsx
    170.8 KB · Views: 8
Back
Top