andycreber
Board Regular
- Joined
- May 20, 2010
- Messages
- 74
- Office Version
- 2016
Hi, I'm trying to write a index match formula with 2 if statements.
So far my formula is
=IF(I3>H3,INDEX(zb!C:C,MATCH(1,(I3=zb!D:D)*(G3=zb!H:H)*(H3=zb!D:D),0)),(IF(H3>I3,INDEX(zb!C:C,MATCH(1,(H3=zb!D:D)*(G3=zb!H:H)*(H3=zb!D:D),0)))))
I want to return the data if I3 > H3 then match the data on sheet zb! column C if the value matches in either column I or H and matches data in column G against the data in column H on tab zb or if H3>I3 then do the same match
Many thanks in advance
So far my formula is
=IF(I3>H3,INDEX(zb!C:C,MATCH(1,(I3=zb!D:D)*(G3=zb!H:H)*(H3=zb!D:D),0)),(IF(H3>I3,INDEX(zb!C:C,MATCH(1,(H3=zb!D:D)*(G3=zb!H:H)*(H3=zb!D:D),0)))))
I want to return the data if I3 > H3 then match the data on sheet zb! column C if the value matches in either column I or H and matches data in column G against the data in column H on tab zb or if H3>I3 then do the same match
Many thanks in advance