> Tony Smith wrote a post over a week ago, which even I missed (as it
> was buried in another thread). Although this stuff may be obvious to
> some, I believe it deserves its own thread -- it's definitely been an
> eye opener to me.
>
> When Tony said:
>
>> Excel + 'Get External Data' + Autorefresh + PivotTable/PivotChart
>> keeps a
>> lot of people happy, and it's dead easy to pull stuff off the web or a
>> database, summarise it in a pretty graph, and have it refresh every few
>> minutes (aka dashboard apps). The last guy hadn't finished rambling
>> about
>> he'd use XML, AJAX and Java and many other letters of the alphabet
>> when I
>> showed him the finished result. He hasn't spoken to me since :)
>
> ...frankly, I thought that he's exaggerating (who doesn't, to make a
> good story better?). However, it literally took me about five minutes
> to go through Tony's tutorial, and display the finished result.
>
> I never suspected that importing an HTML table into Excel is simply a
> matter of point-and-click!
>
>> You really can't beat Excel for 'crunch some data & make a graph' in
>> 90% of
>> cases. The .zip I've attached shows a typical XL dashboard type
>> app. It
>> grabs data (3 days of readings) from the Oz government weather site, and
>> puts it on a graph. It'll refresh when you open it, you may get a
>> warning
>> message, just say ok.
>>
>> Nothing spectacular, except it's two minutes work & zero code.
>>
>> In make that XL, you do the following:
>>
>> - Click 'Data, Import External, New web query'. That flicks up a
>> browser.
>> - Enter the web address,
>> <
http://www.bom.gov.au/products/IDN60801/IDN60801.94768.shtml> in
>> this case.
>> - Once loaded, select the tables you want. In XL2000, you had pick a
>> number
>> corresponding to a table, later versions puts arrows next to them
>> that you
>> just tick.
>> - Hit 'Import'
>> - The query will run, and dump the data on the sheet.
>> - Right click on the data, and select 'Data Range Properties'
>> - Tick 'Refresh data on file open', and 'Refresh every xx minutes' if
>> you
>> like.
>>
>> That's the data import done, now to the chart.
>>
>> - On the data sheet, select the range for the temperature, probably
>> B4:B162.
>> - Click the 'Chart' button, pick Line (top left, no markers), click
>> 'Next'.
>> - Click 'Series', put 'Temperaure' as the Name, and the 'X-Axis
>> labels' as
>> A4:A162.
>> - Fiddle with the various options, like turn the legend off, Axis
>> labels,
>> and click 'Next'
>> - Pick 'Put chart on New sheet', hit 'Finish'
>>
>> Now to add rainfall line.
>>
>> - Right-click on the chart, select 'Source data'
>> - Hit 'Add' for a new series. Enter 'Rainfall' as the 'Name'
>> - It'll pick up the X-axis labels, so just get the data (values);
>> should be
>> N4:N162.
>>
>> Ok, it plots the rainfall on the temperature axis, not a huge
>> problem, but
>> it usually scales funny (bit small).
>>
>> - Right-click on the 'Rainfall' line (probably purple), and select
>> 'Format
>> data series'.
>> - Select the Axis tab, change it to 'Secondary'.
>>
>> That'll put the rain figures scale on the right-hand side of the chart.
>>
>> That's it, done in a few minutes. 10 years ago you'd need a team of
>> programmers to do that. Now, anyone can do it. That upsets a lot of
>> people, whether it's job security fears, lusers and their crappy M$
>> tools,
>> and so on.
>>
>> If you look at the chart, it has a few flaws. There are gaps due to the
>> data coming in a few separate chunks, each with their own header.
>> There's
>> various ways to fix this, but not obvious to most people. Only 3
>> days of
>> data, why can't it save the old stuff? Only one city, how do we pick a
>> different one? Plenty of work, just stuff that you may not like (oh,
>> boo-hoo).
>>
>> In a corporate environment you give people a link to the spreadsheet,
>> which
>> then either connects to a database or a text file dump (good for daily
>> stats). Or you could piss about making java apps to put on your
>> intranet.
>
> I wonder if any "real" development suites allow for such simple
> point-and-click import of data from the internet?
>
> Vitaliy