Hi,
I have a sheet where 4 column are there. I need the Employee name and contact number of the Locations where the designation is Branch Manager and in absent of Branch Manager then take Branch Credit Manager and their numbers. Thanks.
Hi,
I have a sheet where 4 column are there. I need the Employee name and contact number of the Locations where the designation is Branch Manager and in absent of Branch Manager then take Branch Credit Manager and their numbers. Thanks.
Are you still on Excel 2007: if not, please update your profile as answers depend on knowing your Excel version.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Sorry Sir,
I have changed it to 2013. Request your help please.
In G2:
=INDEX($A$2:$A$9,MATCH(1,($D$2:$D$9=$F2)*($B$2:$B$9=G$1),0))
In H2:
=INDEX($C$2:$C$9,MATCH(1,($D$2:$D$9=$F2)*($B$2:$B$9=G$1),0))
Copy down.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
G2, copied down:
=IFERROR(INDEX($A$2:$A$9,IFERROR(MATCH(1,INDEX(($D$2:$D$9=F2)*($B$2:$B$9="Branch Manager"),0),0),MATCH(1,INDEX(($D$2:$D$9=F2)*($B$2:$B$9="Branch Credit Manager"),0),0))),"")
Similar for H2... see sheet.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Another
=IFERROR(INDEX($A$2:$A$9,AGGREGATE(15,6,ROW($A$1:$A$100)/($D$2:$D$9=$F2)/(($B$2:$B$9="Branch Manager")+($B$2:$B$9="Branch Credit Manager")),1)),"")
=IFERROR(INDEX($C$2:$C$9,AGGREGATE(15,6,ROW($A$1:$A$100)/($D$2:$D$9=$F2)/(($B$2:$B$9="Branch Manager")+($B$2:$B$9="Branch Credit Manager")),1)),"")
Thanks you Madam and Mr. John and Glenn. I have tried the codes and all are working fine. Thanks again for your kind help.
You're welcome.
It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.
Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks