Excel 2013 Formula - maybe IF formula?

Solved/Closed
Cookie5 Posts 3 Registration date Friday 20 March 2015 Status Member Last seen 2 April 2015 - 20 Mar 2015 à 10:18
 Cookie5 - 23 Mar 2015 à 09:05
I have a list of names in Excel and I need to put their supervisor name in the cell to the right of each name. I would like to find a formula that will automatically check each name and depending on that name put their supervisor name in the cell to the right. There are duplicates in the name list. Is this possible?

What I have so far is: =IF(A1:A19="John","Deb") I have been copying the formula down the list and it puts Deb by all the John names - but I would have to keep changing the formula for each name and supervisor name and copy it into each cell over and over - that doesn't seem very efficient to me.

Any help you can give me would really be appreciated. Thank you.

1 response

MaxStart Posts 338 Registration date Tuesday 3 March 2015 Status Contributor Last seen 3 July 2015 69
21 Mar 2015 à 22:19
=IF(A1:A19="Jone","Dep",IF(A1:A19="Max","Suzan",IF(A1:A19="Ada","Bryan","")))


--
Damn it !!!, is it ever gonna be the way I want it to be?
Thanks MaxStart! This will work and I really really appreciate you taking the time to work it out for me :-)