Science Forums
User Name
Password
Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Computer Science
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 02-06-2008   #31 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Pyro's Excel Goodies

wow that was simple.... absolute cell references are your friend.


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Last edited by Pyrotex; 07-09-2008 at 12:19 PM.
Reply With Quote
Old 02-06-2008   #32 (permalink)
C1ay's Avatar
¿42?

Hypography Staff Member
Administrator
Senior Editor
Editor

 



Re: Pyro's Excel Goodies

Quote:
Originally Posted by alexander View Post
emmk, have a spreadsheet that has about 4500 lines of ip addresses (split over a couple of work sheets) (that repeat pretty commonly)....
Something else you might find useful is using SQL with Excel via MSQuery. You can use Data>>Get External Data>>New Database Query to open it and then select "Excel Files" and then navigate to the Excel Workbook you have open. Then you can use statements like: SELECT DISTINCT .... to get the unique rows from your spreadsheet


----------------
Clay

Editor and Forum Administrator
stego anyone?
Add yourself to Hypography's Frappr.
"There are only 10 kinds of people in the world --
.....Those who understand binary, and those who don't."
"Draw no conclusions before their time."
Reply With Quote
Old 02-06-2008   #33 (permalink)
Symbology's Avatar
Questioning


 



Re: Pyro's Excel Goodies

Pyro,

Thanks for posting all the great code exercises. They serve as an excellent example of how to move towards computer mastery with both "Visualization" and "Practice Practice Practice" from the 5 Keys to Mastery.

With appreciation,
Symbology


----------------
Point: Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity.
~ Charles Mingus

Counter Point: The simplest solutions are often the cleverest.
They are also usually wrong.
Reply With Quote
Old 02-07-2008   #34 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Pyro's Excel Goodies

Quote:
Originally Posted by C1ay
Something else you might find useful is using SQL with Excel via MSQuery. You can use Data>>Get External Data>>New Database Query to open it and then select "Excel Files" and then navigate to the Excel Workbook you have open. Then you can use statements like: SELECT DISTINCT .... to get the unique rows from your spreadsheet
I know, i just don't care about this spread sheet that much c1ay, sad thing, all this work of getting the ips, importing them, creating this lookup thing, etc, all for maybe 5 minutes of the actual showing this crap... and that's it, it will never be revisited again...


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Old 02-07-2008   #35 (permalink)
Pyrotex's Avatar
Slaying Bad Memes

Hypography Staff Member
Moderator
Editor

Latest blog entry:
I need a Vacation
 
Pyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond repute
Send a message via MSN to Pyrotex
 



Re: Pyro's Excel Goodies

Speaking of Excel spreadsheets...

I once made a challenge to a co-worker back when I was building databases for Doctors Without a Clue. I told her that no matter what she needed to do with her experimental data, no matter how it needed to be sliced, diced and spliced, I could do it for her in a spreadsheet.

If memory serves me correct (and it does!) I never failed one of her challenges.

If anyone cares... [yawn] I would be happy to make the same offer here for Hypo Regulars.

Lay on McDuff and damned be he who first cries, Hold! Enough!


----------------
Hypography Forums Moderator
-- - - - - -
What concerns me is not the way things are, but rather the way people think things are.
Epictetus, Greek Philosopher
The map is NOT the territory.
Korzybski, Polish-American Philosopher
Reply With Quote
Old 02-12-2008   #36 (permalink)
Symbology's Avatar
Questioning


 



Re: Pyro's Excel Goodies

Quote:
Originally Posted by Pyrotex View Post
Speaking of Excel spreadsheets...

I once made a challenge to a co-worker back when I was building databases for Doctors Without a Clue. I told her that no matter what she needed to do with her experimental data, no matter how it needed to be sliced, diced and spliced, I could do it for her in a spreadsheet.

If memory serves me correct (and it does!) I never failed one of her challenges.

If anyone cares... [yawn] I would be happy to make the same offer here for Hypo Regulars.

Lay on McDuff and damned be he who first cries, Hold! Enough!
Yes but just because you can, doesn't mean you should

I have seen, and can think of many other cases that can be done in Excel that should be done in a real database.

One of the key problems with using Excel for data entry is also one of it's key features: It will allow any trash data in any given cell. This means when analysis or importing into other tools is to be done, in many cases it is stopped dead in its tracks by the trash text in the numeric column of data. Which will then have to be found by hand and corrected by hand.
Those leeetle green triangles turn me so red!


However I can appreciate your perspective in that if the data entry person is knowledgeable of their domain, conscientious, and diligent, then Excel can be used very quickly and efficiently to solve most any analysis problem.

It reminds me of the bet that I won in college that I could implement Karnaugh Map logic in Basic on the mainframe. I ended up turning in the fewest lines of code for the class that still accomplished the task.

However I am sure that Buffy would note that is another case of "Just because you can, doesn't mean you should"


----------------
Point: Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity.
~ Charles Mingus

Counter Point: The simplest solutions are often the cleverest.
They are also usually wrong.

Last edited by Symbology; 02-12-2008 at 10:55 PM.
Reply With Quote
Old 03-18-2008   #37 (permalink)
Pyrotex's Avatar
Slaying Bad Memes

Hypography Staff Member
Moderator
Editor

Latest blog entry:
I need a Vacation
 
Pyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond repute
Send a message via MSN to Pyrotex
 



Re: Pyro's Excel Goodies

Okie dokie...
it's been awhile, but here is a very useful spreadsheet. It takes your raw data and constructs a Histogram.

Now you say, "whassa big deal, dude? Anybody can do bar charts!"

no no no no... A histogram is NOT just another bar chart. What it does is count how many data values (in your raw data) that fall in each of several ranges. For example, how many of your data values fall between:
0-9, 10-19, 20-29, etc.

Now, boyz unt gurlz, what if you want your histogram FULLY DYNAMIC ???
{dub in Twilight Zone theme}

Like, moving the lower limit of your histogram, changing the range-widths of the bars, adding or subtracting a bar, or two? At the click of a button?

Gotcha covered!

Comes complete with sample data.
Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.


----------------
Hypography Forums Moderator
-- - - - - -
What concerns me is not the way things are, but rather the way people think things are.
Epictetus, Greek Philosopher
The map is NOT the territory.
Korzybski, Polish-American Philosopher

Last edited by Pyrotex; 07-09-2008 at 12:21 PM.
Reply With Quote
Old 03-18-2008   #38 (permalink)
freeztar's Avatar
Wedding Planner

Hypography Staff Member
Moderator
Editor
Silver Subscription
Sponsor

Latest blog entry:
Things to bring
 
freeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond reputefreeztar has a reputation beyond repute
 



Re: Pyro's Excel Goodies

That's pretty cool Pyro!
Have you used this data to determine the best time to leave for work? I guess you would have to graph 'leave time' against 'travel time'.

That's quite a commute!


----------------
Hypography Science Forums Moderator
---
"There are no passengers on Spaceship Earth. We are all crew." - Marshall McLuhan

"We must not forget that when radium was discovered no one knew that it would prove useful in hospitals. The work was one of pure science. And this is a proof that scientific work must not be considered from the point of view of the direct usefulness of it." - Marie Curie
Reply With Quote
Old 03-18-2008   #39 (permalink)
Pyrotex's Avatar
Slaying Bad Memes

Hypography Staff Member
Moderator
Editor

Latest blog entry:
I need a Vacation
 
Pyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond repute
Send a message via MSN to Pyrotex
 



Re: Pyro's Excel Goodies

Quote:
Originally Posted by freeztar View Post
That's pretty cool Pyro!
Have you used this data to determine the best time to leave for work? I guess you would have to graph 'leave time' against 'travel time'.
That's quite a commute!
Yes it was. From Clear Lake City to the downtown Houston Medical Center, a total of about 22 miles. Most of that was on Interstate-45, which can slow waaaaay down in the morning.

The histogram spreadsheet I present here is actually a cleaned-up subsection of a huge spreadsheet with the SAME data, but nearly a dozen histograms and scatterplots with trend lines. So, yes I did calculate the best time to leave home. Earlier. And the days of the week with shortest commute (Thursday). And several other correlations. But it was too big, messy and ugly to post here.


----------------
Hypography Forums Moderator
-- - - - - -
What concerns me is not the way things are, but rather the way people think things are.
Epictetus, Greek Philosopher
The map is NOT the territory.
Korzybski, Polish-American Philosopher

Last edited by Pyrotex; 03-18-2008 at 09:14 PM.
Reply With Quote
Old 03-20-2008   #40 (permalink)
LaurieAG's Avatar
Explaining


 



Re: Pyro's Excel Goodies

Quote:
Originally Posted by Symbology View Post
However I can appreciate your perspective in that if the data entry person is knowledgeable of their domain, conscientious, and diligent, then Excel can be used very quickly and efficiently to solve most any analysis problem.
...
However I am sure that Buffy would note that is another case of "Just because you can, doesn't mean you should"
Hi Symbology,

I'm glad you said 'most any problem' because problems with extremely large amounts of data would cause definite problems. in Excel.
Reply With Quote
Reply

Bookmarks

Tags
excel, formulas, macros, spreadsheet, spreadsheets, vba


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 compatibility freeztar User feedback 11 01-29-2008 09:14 PM
How to convert Ms. Excel spreadsheet to MS. SQL? cannonbow88 Computer Science 2 09-27-2006 05:52 AM
How to convert MS Excel format to My SQL? Chloe Computer Science 5 08-11-2005 08:23 PM


All times are GMT -8. The time now is 01:02 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network