Excel If Function

Posted on 2014-09-01
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

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

    Author Comment

    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 ?

    LVL 7

    Expert Comment

    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.

    Author Comment

    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

    Attached is a basic example of what I believe you are asking for. This should help you get started.

    Author Closing Comment

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

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Lately there has been a variety of news related to U.S. employment.  Stories about worker productivity, automobile and airline unions, low employment and foreign laborers have frequented the news.  Each story has good and bad attributes we might arg…
    This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
    Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now