Solved

How Dropbox changes chart values...

Posted on 2014-04-20
4
560 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

867 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

21 Experts available now in Live!

Get 1:1 Help Now