Solved

How Dropbox changes chart values...

Posted on 2014-04-20
4
562 Views
Last Modified: 2014-04-20
The attached is a solution from Saqib at:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28415626.html#a40011010

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,
SampleChart.xlsm
0
Comment
Question by:Mike Eghtebas
  • 2
4 Comments
 
LVL 15

Assisted Solution

by:unknown_routine
unknown_routine earned 100 total points
ID: 40011340
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:

=IF(COLUMN()-3=MONTH(CurrMth),10,0)
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40011346
re:> Change Excel mode to design mode

How do I do this? Now using Excel 2010.

Thanks,

Mike
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 400 total points
ID: 40011598
Change formulas!D2 to

=IF(D5=CurrMth,10,0)

and copy it across.

If the current month is equal to d5 it will show 10 otherwise it will show 0.
0
 
LVL 33

Author Closing Comment

by:Mike Eghtebas
ID: 40011838
Thank you.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

816 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

8 Experts available now in Live!

Get 1:1 Help Now