How Dropbox changes chart values...

The attached is a solution from Saqib at:

This works wonderfully but I do not understand how value 10 enters into cell Formulas!L2  when September is selected from the dropbox at cell Sheet1!D2.

Basically, how this dropbox changes the value of all months to zero except the selected month (which is set equal to 10).

If there was an event associated with the drop box, I could loop through and do all these; but there is no event to work with.

Question: How this dropbox manipulates Formulas!D2:AA:2?

Also, when I pick Jan 2014, instead of setting cell Formulas!P2 to 10, it sets cell Formulas!D2 to 10. After I learn how the dropbox works, I may be able to handle this part also.

Thank you,
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?
Saqib Husain, SyedConnect With a Mentor EngineerCommented:
Change formulas!D2 to


and copy it across.

If the current month is equal to d5 it will show 10 otherwise it will show 0.
unknown_routineConnect With a Mentor Commented:
There is no VBA Code , all logic in insde the drop down.

Change Excel mode to design mode, then right click on the drop down,

here you see:

Input Range: Lookup!$L$3:$L$26

And Cell link: Lookup!$B$10

Cells n the Formula sheet have formula for example L2:

Mike EghtebasDatabase and Application DeveloperAuthor Commented:
re:> Change Excel mode to design mode

How do I do this? Now using Excel 2010.


Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Thank you.
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.

All Courses

From novice to tech pro — start learning today.