Has this formula made of Index and Match:
=INDEX(Range,Match(1, (C:C=criteria1)*(D:D=criteria2)*(B:B=criteria3),0),5)
The '5' represents the column number in Range that holds the cell with the value that should return as result of the formula.
Basically the data table has 5 columns; #1 not used, #2 criteria3, #3 criteria1, #4 criteria2, #5 the value
How do I convert this into an UDF?
=INDEX(Range,Match(1, (C:C=criteria1)*(D:D=criteria2)*(B:B=criteria3),0),5)
The '5' represents the column number in Range that holds the cell with the value that should return as result of the formula.
Basically the data table has 5 columns; #1 not used, #2 criteria3, #3 criteria1, #4 criteria2, #5 the value
How do I convert this into an UDF?