Hi,
I have 2 tabs on a spreadsheet.
The first contains product codes and quantities and a reason code for shortages.
The second tab shows the buyer against each code
I am trying to return the quantity from sheet 1 if the code matches and the reason code is 2.
I can do the index and match function but am struggling to find a way to only return the result if the reason code is 2.
INDEX(Sheet2!K:K,MATCH($A127,Sheet2!G:G,0),)
Can anyone please advise how to link the result only if the reson code is 2
reason code is in column O on sheet 2
Many thanks
I have 2 tabs on a spreadsheet.
The first contains product codes and quantities and a reason code for shortages.
The second tab shows the buyer against each code
I am trying to return the quantity from sheet 1 if the code matches and the reason code is 2.
I can do the index and match function but am struggling to find a way to only return the result if the reason code is 2.
INDEX(Sheet2!K:K,MATCH($A127,Sheet2!G:G,0),)
Can anyone please advise how to link the result only if the reson code is 2
reason code is in column O on sheet 2
Many thanks