Good afternoon,
I have searched the forums and was unable to find what I was looking for. Perhaps I wasn't using the proper search verbiage, if this has already been posted, I apologize.
I have written 2 Index|Match formulas which are for separate employee locations. The reason there are two is that I cannot figure out how to make this into one formula and I'm getting an N/A which is driving me nuts. I'm new to using index match but I like it and have replaced all of my vlookup formulas. It just looks a lot more "clean" to me. Here are my formulas and if you are able to solve this issue, can you please explain it to me so that I can learn? Thank you in advance for any assistance you may be able to provide.
I have searched the forums and was unable to find what I was looking for. Perhaps I wasn't using the proper search verbiage, if this has already been posted, I apologize.
I have written 2 Index|Match formulas which are for separate employee locations. The reason there are two is that I cannot figure out how to make this into one formula and I'm getting an N/A which is driving me nuts. I'm new to using index match but I like it and have replaced all of my vlookup formulas. It just looks a lot more "clean" to me. Here are my formulas and if you are able to solve this issue, can you please explain it to me so that I can learn? Thank you in advance for any assistance you may be able to provide.
Code:
=IF(ISBLANK(B2),"",INDEX(Location1,MATCH(B2,CP_Employees,0)))
Code:
=IF(ISBLANK(B2),"",INDEX(Location2,MATCH(B2,HQ_Employees,0)))