Uniquely Identify Data for Charting with a List Box #2


The Internet is a great thing.  I found a charting example that does nearly 
every thing I want to do.  Amazingly enough, I was able to figure out how the 
thing works!  The chart is fairly simple.  It is a X*Y line chart with 2 
series.  I found the chart here: 

http://peltiertech.com/Excel/ChartsHowTo/ChartFromDiffSheets.html - The 
chart is called "ChartAgainstStandard.zip."

One of the 2 series plotted is a "standard" and the other changes based on 
the selection made in the drop down list.  Amazingly enough, I was able to 
follow the thing completely and I would like to model one after that.  Mine, 
however, will be a little different (aren't they always).  Whom ever created 
the chart, had each of the 4 series on separate sheets (names of sheets 
corresponded to the names in the drop down list).  That unique name was used 
in the cell reference to point to the correct sheet for charting.  This was 
the formula used 
Unfortunately, my data is not set up in separate sheets and I'm at a loss as 
to how to uniquely identify the correct data for plotting.  My only thought 
was to use named ranges.

Here's a chunk of data.  All the data is in a single worksheet, in fact, it 
is inside a pivot table.  Mind you, it doesn't have to be.  I can pull it 
from two worksheets if need be.  I put it all into a single table because I 
thought it would make it easier to plot (certainly to look at).  Anyhow, the 
data that I want to plot came from two pivot tables.

CountyName ModelSource 1981  1982  1983 ...    2006
Adams          ASM             220    300    400         5,500
Adams          DLW             140    200    275         4,400
Allen             ASM             220    300    400         5,500
Allen             DLW             140    200    275         4,400
Ashalnd         ASM             220    300    400         5,500
Ashland         DLW             140    200    275         4,400
Wyandot        ASM             220    300    400         5,500
Wyandot        DLW             140    200    275         4,400

As you might imagine, year will be the x-axis and the population estimates 
will be my y-axis.  There will be 2 series - ASM and DLW, population 
estimates derived from different models.  If anyone can help me with some 
ideas or examples on how I might "point" to the correct data for plotting, I 
would really appreciate it.


Takeadoe (4)
7/15/2006 6:41:01 PM
excel.charting 18370 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 43

On Sat, 15 Jul 2006, in microsoft.public.excel.charting,
Takeadoe <Takeadoe@discussions.microsoft.com> said:

>The Internet is a great thing.  I found a charting example that does nearly
>every thing I want to do.


>Whom ever created the chart, had each of the 4 series on separate 
>sheets (names of sheets corresponded to the names in the drop down 

It's Jon Peltier, who contributes to this newsgroup regularly.

Del Cotter
NB Personal replies to this post will send email to del@branta.demon.co.uk,
    which goes to a spam folder-- please send your email to del3 instead.
del1907 (586)
7/15/2006 9:07:03 PM

Similar Artilces:

More Columns #2
I am using all columns through IV on one of my worksheets. Does anyone know how to get more columns? Hi stacy know way using Excel. this is the maximum! -- Regards Frank Kabel Frankfurt, Germany Stacy Haskins wrote: > I am using all columns through IV on one of my > worksheets. Does anyone know how to get more columns? As Frank said, that's the maximum cols But maybe you could try transposing your table / data ? (Excel has a lot more rows than columns) If so, try: http://tinyurl.com/2nmyy for an example on using TRANSPOSE() For a one-time Tranpose: Copy > Paste Specia...

Linking files 2 ways
I have a work book that is linked to another and vise versa. As thus: Workbook A is where the input of data is made; Workbook B has a link to the input from workbook A; Workbook A retrieves the altered data back as a link. Although this all works fine with both books open, I note that if I open workbook A by itself, that the data it retrieves from Workbook B is not updated . If However, both books are open, there's no problem. I thought linked books were updated automatically if the Update remote references has been selected?? But it appears that the second book is not updated until it ...

Changing Cells and entering data in them
Thanks for the help again. Big thanks to Steve you've got me this far. I went out and bought a book, but it's like reading a foreign language. I was informed today that I can't have message boxes come up. I need to have the code point at the cells and if they are blank turn which ever one is blank red or if both are then both turn red then pause for each cell to be filled in. Cell F14 "Last Name" then automatically go to Cell F16 "First Name" on tab or enter. Basically if Cell F22 or F23 has an X in it, Cells F14 an F16 turn red and cell F14 has the focus...

Using Relative path for XML data file?
Is there a way to specify a relative path to an XML data file imported into Excel 2003? I am writing a web app that generates report data as XML for the user to download to their local machine. This data is to be consumed by an Excel reporting spreadsheet, which contains display-formatted tables and charts that are mapped to various data fields in an XML Map, which is in turn linked to the xml data file they will download. The idea is the user only needs to download the data for updates, not the whole spreadsheet. However, since I cannot predict the path where the user will store their...

unable to paste Excel 2003 chart into Outlook 2003
(This was posted on "excel.charting" group.) I have a user who's unable to paste an Excel 2003 chart into Outlook 2003 email message. In Outlook options, the checkbox is selected for "Use Microsoft Office Word 2003 to edit e-mail messages". When I tested this on my own computer running the same version of Office, if the box is check, I have no problem pasting; if this box is cleared, I cannot paste. But on his computer, it doesn't work regardless. Thanks and regards, TL ...

Goal Seek #2
Can anyone tell me a little about goal seek? Hi basically it's used to change an input variable so that the result of the formula equals what you want it to ... say i have the following A B C 1 10 20 =A1+B1 now C1 will give me 30, but if i want to know what B1 will need to be if i want C1 to show 50, i can use goal seek Set C1 to value of 50 by changing B1 Hope this helps Cheers JulieD "Jamie Hart" <jhart@emaple.net> wrote in message news:u3OscELdEHA.244@TK2MSFTNGP12.phx.gbl... > Can a...

How do I Remove a Split from my Comments in Excel 2003? #2
I have set my current workbook to split/freeze the first column and first 2 rows. Now, when I add a comment to the second row (in any column) my comments are cut off if I should scroll down. I don't ever remember the behavior before. And I don't know what I've done to enable it but it's really annoying. How do turn this off ? ...

Pulling data from separate tabs
When charting in Excel 2002 is there a way to use sets of data from two different tabs within the same worksheet? For example, a spreadsheet contains separate tabs for prior year and current year data. Is there a way to reference the data or label series to pick up data from both? I tried pointing and clicking, and then typing the following as a reference for the axis labels: ='Prior Year'!$B$110:$M$110,'Current Year'!'$B$110:$M$110 but receive an error that I'm referring to an external worksheet. I've used the comma (') in the past to reference breaks ...

data sort
ok now should be simple >> I need to sort by month on data that is held in format >> day/month so eg 1511 1510 3011 3010 now custom/ends with/ 11... does not work custom/ends with/ ??11.. or *11 does not work either contains 11 does not work (& would also be wrong if data set contained 1011) but still I am stumped so any help would be great cheers Alex I would be inclined to add a new, temporary field of formulas that pull off the right 2 digits, and sort by that: =RIGHT(A1,2) -- Jim Rech Excel MVP ...

contact list #13
Good Day, I hope I am in the right area, we are running Exchange 2003 one Server 2003 and have Outlook 03 clients. We have address lists in the public folder an admin and a vendor, these contain contact information on contrators and vendors. In the folder list I can browse down and few and click on a contact to send them an email, but when I open a new email to send and I click on to and what to chose the list from the address book drop down box they are not there. How do I set it up so vendors and Admin contact list appear in the drop down box in the contact list? Thank you David ...

how to find an item in a list control?
hi all, In a list Control how to find an item. If it is found then the item should be highlighted. how to do this? i wrote the following code but its not working what's wrong in the code? LVFINDINFO info; int nIndex; info.flags = LVFI_PARTIAL|LVFI_STRING; info.psz = (LPCTSTR) str; //fd.m_strEditCtrl; sprintf(st,"%d",m_ListCtrl.GetItemCount()); MessageBox(st,"Count"); for(int i=0;i < m_ListCtrl.GetItemCount();i++) { if((nIndex = m_ListCtrl.FindItem(&info,-1)) == -1 ) { m_ListCtrl.SetItemState(nIndex,LVIS_SELECTED,LVIS_SELECTED); } } thanks and r...

Offline Synchronization Problem #2
I get the following error when I try going offline. The excelption is taken from Event Viewer of the Client Machine. Event Type: Error Event Source: MSCRMOfflineSync Event Category: None Event ID: 6000 Date: 3/25/2008 Time: 5:03:33 PM User: N/A Computer: WINXP Description: An error occurred during Offline Synchronization. Try going offline again, or restart Microsoft Outlook. saInsert failed for entity 'ActivityMimeAttachment', batchRows=0 with exception System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument li...

Contacts in Exchange #2
We are running Exchange 2003 and Outlook 2003. I have tried to give a user rights to her boss's contacts through delegation and setting the rights on the contacts folder, however, while she has the rights she is unable to add or see her boss's contact folder in her Outlook. She can see it if she runs a search, but can not permanently put it in her list of contact folders. IS there a way that I can accomplish this through the back-end? Thanks, Joseph rapoport jrapoport@insurmark.net ...

Let me use the Line Color icon on charts
It would speed up a lot of my work if I could use the Line Color icon on Excel charts, the same way I am able to use the Fill Color and Font Color icons. However, when I highlight any chart object, like the Plot Area, Chart Area, or a Series, the Line Color icon is disabled. -- Stuart Bratesman, Jr., MPP Muskie School of Public Service Univ. of Southern Maine Portland, Maine ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If ...

how do I add error bars to a 3D chart in excel?
The help states you can only add error bars to data series in 2D area. Is there a way to add them to a 3D chart? Hi, I would not have thought so. Obviously as it is not a built-in option the only way would be a work around perhaps using dummy series. Unfortunately you can create 3d combination charts. Stick with the 2d view. Cheers Andy elahe wrote: > The help states you can only add error bars to data series in 2D area. Is > there a way to add them to a 3D chart? -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info I checked, and error bars are not offered for 3D ch...

predict future data
Is there a way to create an XY line graph wih plotted data, yet leave room to predict future data on the axes? I can get the graph, but the x and y axes stop at the last data points, and I want those axes continued so that the existing data can be examined and future data predicted and plotted on the same graph, but I am not sure how to accomplish this. Any suggestions would be appreciated. Thanks. Jeff 1) Click on data series in chart, use Add trendline; in Option tab specify some units forward OR 2) Read Help about TREND and FORECAST, and SLOPE and INTERCEPT OR 3) Get crystal bal...

ERROR: 5.1.2 or other punctuation after the recipient's email address.
I am trying to send a email to a group address I created with 58 addresses in it. When I try to send the email to this group I get the following Error: "5.1.2 or other punctuation after the recipient's email address. " I have gone back to the original contact cards and made sure the addresses were all legal. I have re-created the list, same problem I have re-booted, same thing. Any thoughts out there? Thanks Dunc My wife and I have MBP's and are both running MS Office for Mac's, Entourage 12.2.3. Both of us have messages cued up in the out boxes th...

Help with importing data
Can I have users fill in a form in Access and have that data be transferred and updated to a spreadsheet. Need for fill out several fields and then export to a specific spreadsheet and place that data into the cells that will update that cell (add to the total in that cell) of a spreadsheet. ...

Increment A2 from A1 and A2 Sum #2
I have two cells: A1 - manual value B1 - automatic increment = B1 + A1 How can i make it? (=error: circular reference) Note: I have this formula repeated in some lines: = B2 + A2 = B3 + A3 .. -- Message posted from http://www.ExcelForum.com ...

Formula for cross tab data filling
Hi All Excel 2003 How to using formula for data filling as below (Y/N) ? Sheet A Product A Product B Product C System A Y N Y System B Y Y N Sheet B System A Product A System A Product C System B Product A System B Product B moonhkt ...

How can I create Schedule Chart?
I have simply an activity list which shows START and FINISH date of related activity. I need to put this information into a Chart, so that i will get a bar chart highligting the line between the START and FINISH date of the activity. It is very similar to what we can create in Microsoft Project. Do you know a specific chart type for this? It's called a Gantt chart: http://office.microsoft.com/en-us/excel/HA010346051033.aspx http://peltiertech.com/Excel/Charts/GanttLinks.html http://www.mrexcel.com/tip058.shtml -- David Biddulph "mezzanine1974" <savas_karaduman@yahoo.com>...

inbox problems #2
My inbox says I have 3 new messages. I don't.. Its lying. So how do I correct this.. Its not a major problem but distracting. Computers are supposed to be always right.... As a sidelight to this. I deleted the Unread messages, thingy in the favorite folder place. I thought I would bring that back and see if there were some messages that were bad. I read the help file and it says to just click on any file you want to add to the favorite folder. But its gone.. totally and completely there is no Unread Message line to click on.. What's a person to do? See my reply to your late...

Contact oddity and why are there 2 Contact Lists?
Running Win 7, and was receiving emails in WLM with my maiden name listed in the TO:. I found out that I had my maiden name listed in Contacts (I run a high school mailing list here) so I decided to check it out and changed the last name to all caps. Sure enuf the next email I rec'd showed that name. I then deleted the email address connected to my name in the contact list and everything is back to "normal" (whatever that is <G>) Why in the world are there 2 contact lists on my computer......one thru WLM and one thru Windows Contacts? I'm confused. ...

GPS 8 service pack 2 and add new company
After installing service pack 2 for GP 8, I am not able to add or log on to the new company. Error during upgrade is “Entries haven't made to all required fields. Would you like to show the required fields on all windows in greatplains” When I try to log on to GP getting another error “file for this company have not been updated” Please help Rajesh ...

anyone else having problems with the 12.1.9 "autoupdate"? #2
Hi all... The 11.5.5 autoupdate worked fine. The 12.1.9 autoupdate downloads (apparently), but then it goes right back to showing that the 12.1.9 update is available -- the updater itself never actually launches. Busy servers, maybe -- and the download isn't ever actually completing? Or bad updater on the update server for 12.1.9? The manual download from Mactopia of 12.1.9 installed properly -- this is just the auto-update that's not working now. - Steve You're right, the auto-update fail. It should be pulled or a message sent instructing to update by downloading directly...