+ Reply to Thread
Results 1 to 7 of 7

Cell dependence?

Hybrid View

  1. #1
    Registered User
    Join Date
    10-15-2010
    Location
    Macedonia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Cell dependence?

    I need help. I have problem.
    in Sheet2 in Row B I have Names and in Row C Prices.
    In Sheet1 in Row B I have dropdown list that is consisted of Row B in Sheet 2.
    My question is, when I select something from the dropdown list I want Cell C* to be filled with the dependent price (lets say from the dropdow list cell B3 is selected and the corresponding price for it is C3). Thanks.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Cell dependence?

    This perhaps in column C of sheet1?

    =VLOOKUP(B2,Sheet2!B1:C5,2,FALSE)

  3. #3
    Forum Contributor
    Join Date
    06-28-2010
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: Cell dependence?

    Hello,

    I understood your query. This might help :

    Enter the following formula in Sheet 1 Column C, which is exactly at the right of the dropdown cell.

    Enter this formula in C2.

    =vlookup(B2,Sheet2!C:C,1,0)

    Then, it will return the Price value in C2 cell. It will be updated everytime you select a name from drop-down.

  4. #4
    Registered User
    Join Date
    10-15-2010
    Location
    Macedonia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Cell dependence?

    Thanks. But when I solved it I realised I need something else. The same problem but updated.
    Lets say I have columns A, B and C. so I want when in A1 from the dropdown list is selected some item, B1 and C1 to be automatically fixed whit the appropriate values in Sheet2? Thanks.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cell dependence?

    As stephen says above.

    Here's a demo workbook using named ranges
    =IF(B2="","",VLOOKUP(B2,PriceTable,2))
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Cell dependence?

    Check out Excel Help for the VLOOKUP formula. It's pretty straightforward - come back if you get stuck.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cell dependence?

    If you have a quantity in Column A this will calculate the total cost.

    In C2
    =IF(B2="","",VLOOKUP(B2,PriceTable,2)*A2)

    Is this what you are trying to get?
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1