Excel If Function

Posted on 2014-09-01
Medium Priority
Last Modified: 2014-09-16
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.

Please advise

Question by:infiniti7181
LVL 19

Expert Comment

ID: 40296601
what do you mean by two tabs? two worksheets? or is that the value in the cel?

Author Comment

ID: 40296643
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 ?


Expert Comment

ID: 40297599
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.


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.
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.


Author Comment

ID: 40303185
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 :)

LVL 14

Accepted Solution

JP earned 2000 total points
ID: 40316721
Attached is a basic example of what I believe you are asking for. This should help you get started.

Author Closing Comment

ID: 40325782
Wow amazing . This is what I was looking for :)

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question