Excel 2010 assistance

Excel 2010 assistance.

I am a novice at Formulas in Excel so I am looking for some help.  I have a new hire form that I have created that fills in all the other forms I need to fill out depending on a person’s function and the department they work for inside the company.  I am stuck on filling out an email address, rather choosing the correct @xyz.com address based on another selection.

On sheet 1 D9 I have a drop down list (from F20-F23) that has 4 possible entries.  3 of the 4 all have @xyz.com address; the 4th will have a @abc.com address.  The attached is a copy of the form.  If the user chooses in this case Fire the domain would be @abc.com.  

 Sheet 2
B5 =sheet1!B13
D5 =Sheet1!h13
C10 =CONCATENATE(C8,"@xyz.com")  

C10 is where I am having an issue.  I don’t know how to make this so that if on Sheet1!d9 = Fire  to change xyz to abc
JaysonJacksonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saurabh Singh TeotiaCommented:
You can use this...

=IF(Sheet1!D9="Fire",C8&"@abc.com",C8&"@xyz.com")

Or...

=C8&IF(Sheet1!D9="Fire","@abc.com","@xyz.com")

Saurabh...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JaysonJacksonAuthor Commented:
the second one worked Perfect.. Thank you so much.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.