# Excel If Function

Dear Team,
Could you please clarify the below points .
lets say I have excel with two tabs , with values A , B and other cell with 1, 2 (A=1 , B=2)
I have another tab created , where I have pull down menu of A and B . I need to show that , if I select pull down menu of A , value of 1 should be shown . How is it achievable ? Please advise.

Regards,
Aaron
###### 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.

Process Improvement MgrCommented:
what do you mean by two tabs? two worksheets? or is that the value in the cel?
0
Author Commented:
Hi ,
Sorry just to make it clear.
I meant two worksheets . Second Worskeet , I have values in the cell A1 = A , B1=1, A2=B, B2=2
Now on the first worksheet, if I make dropdown for value A and B , I need to make a if statement or any other, if I drop down A or B , I should get corresponding value on the nearby cell . How is it achievable ?

Regards,
SID
0
Commented:
This should work, it really depends on what you're trying to achieve.  A VLookup maybe more suitable however with your description it's hard to tell.

=IF(A1="A";Sheet2.B1;Sheet2.B2)

Basically it's if A1 equals A then it will return the value of cell B1 in sheet 2. Otherwise it will return the value in cell B2 in sheet 2.  If you're going to have more than 2 values e.g. A, B, C, D, etc, then you will need to use VLookup.
0
Author Commented:
Hi,
The objective is to prepare a quote , with multiple options on it . Lets say on Second sheet (workbook) , if the total price is mentioned and third and fourth sheet with multiple vendors . How can i add pull down menu in the first sheet , where if i pull down menu for each , corresponding value shows up ?

Any idea. Sorry for asking the same questions, as i couldnt get the idea behind this :)

Regards,
SID
0
IT DirectorCommented:
Attached is a basic example of what I believe you are asking for. This should help you get started.
EE-28509198.xlsx
0

Experts Exchange Solution brought to you by

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

Author Commented:
Wow amazing . This is what I was looking for :)
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.