Forum Discussion
Need help with Excel Formula
- Jul 04, 2022dpenhadavid Perhaps this does what you need: =IF(IFERROR(MATCH(A2,'Offer Sheet - External'!B:B,0),0)+IFERROR(MATCH(A2,'Offer Sheet - Internal'!B:B,0),0),"Closed","Open")This formula tries to match A2 in both lists. It returns a number or #NA. IFERROR captures the #NA errors and sets the value to 0. If the sum of the two is anything other than 0, it means that the Position Number was found in either of the lists (External or Internal), and will return Closed. Otherwise Open. 
thanks mathetes
However, I cannot have the sheets for Internal & External separate as they are managed by 2 separate teams. Would it be possible to help me design a formula for 2 separate sheets?
Thanks.
dpenhadavid Perhaps this does what you need:
=IF(IFERROR(MATCH(A2,'Offer Sheet - External'!B:B,0),0)+IFERROR(MATCH(A2,'Offer Sheet - Internal'!B:B,0),0),"Closed","Open")
This formula tries to match A2 in both lists. It returns a number or #NA. IFERROR captures the #NA errors and sets the value to 0. If the sum of the two is anything other than 0, it means that the Position Number was found in either of the lists (External or Internal), and will return Closed. Otherwise Open.
- dpenhadavidJul 04, 2022Microsoft this is amazing! Thank you so much!