Avatar of Karen Schaefer
Karen Schaefer
Flag for United States of America

asked on 

Lookup and if statements or index Match on several columns

I am looking for the correct syntax to lookup the value of the Salary for certain employees where Resource Type = "Salaried/W-2"

if the Names match, same date and resource type is correct then return the salary value / 12 months.
this what I have so far.

=IF([@Resource]=SalaryDetail_Data!A:A,IF([@Dates]=SalaryDetail_Data!C:C,IF([@ResourceType]="Salaried/W-2",SalaryDetail!D:D)/12))

What am I missing?

K
sample.xlsm
Microsoft Excel

Avatar of undefined
Last Comment
Karen Schaefer

8/22/2022 - Mon