+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Formulas in drop down list

  1. #1
    Registered User
    Join Date
    10-27-2011
    Location
    Richmond, Va. USA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Formulas in drop down list

    I have created a calendar for work that will automatically deduct used PTO from the beginning of the years balance. Now to make things easier for those using the calendar I have created 4 different cells containing basically the same formula with one variable that is different, the amount of hours available at the beginning of the year. The calculations work but when you direct the drop down box to pick one of the four formulas it does not update the data until you pick the drop down every time. I was hoping that once the choice was made the calculations would update but it does not. This is my first posting so please let me know what other info is needed. Thanks for all those that read this.
    Attached Files Attached Files
    Last edited by NBVC; 11-10-2011 at 03:49 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formulas in drop down list

    Not sure I follow 100% but first check that you have Automatic Calculations on.. go to Formula menu, Calculation, Automatic should be selected....

    If that isn't it, can you post a sample of what you mean?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-27-2011
    Location
    Richmond, Va. USA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formulas in drop down list

    AI-AM are hidden btw and the formulas are in AM13-AM16 and are used in the dropdown C9

    Basically if you enter a value in any little yellow cell the large one should deduct the amounf from the starting balance, but it doesnt work and the only thing is the formula is being picked from a dropdown box.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formulas in drop down list

    I see what you mean now... unfortunately the data validation doesn't work that way. It doesn't recognize the actual cell you chose and so doesn't update correspondingly... once a choice is made, it becomes static... you might use another cell adjacent perhaps to indicate a change?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formulas in drop down list

    You can use a ComboBox instead

    See attached

    This is found in the Developer tab, click Insert in the Controls section and pick the combobox from the Form Controls section. Draw the control in the cell.

    Then right-click, select Properties, in the Control tab enter the Input Range, enter a Cell link, click Ok. Now the numbers update with changes...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-27-2011
    Location
    Richmond, Va. USA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formulas in drop down list

    you are awesome! Thanks so much for your time and help, thats perfect!!!!!

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formulas in drop down list

    Great. Glad that works for you...

    If you are satisfied with the solution provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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