Pyro's Excel Goodies

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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
Pyro's Excel Goodies

HELLO.

The is Pyrotex the Quintessential -- Spreadsheet Samurai.

I have been asked by Freeztar to post all my Excell spreadsheet goodies in one place, and this is that place. As I said to him in a private message:

Quote:
BWAHAHAHAHA! Da Pyro, he got lotsa lotsa goodies, oh my yes!!!
BWAHAHAHAHA! Da Pyro, he dream in Excel VBS, oh my yes he do!!!
BWAHAHAHAHA! Da Pyro hav de spreadsheets that unfold demselves bigger dan you can tack to wall, and take you to da mat'ematical soul of da Cosmos!!
...or words to that affect. {ahem}

For starters, I give you the "Living Bit Quilt".

This one relies on "Conditional Formatting" for three of the colors, yellow being the static background color. The values in the cells are integers, being the left-most decimal integer in the "distance" of that cell from the upper-left corner of the quilt (as determined by ordinary Pythagorean formula). For example, if the distance is 8.47239... then the cell contains a "4". The "X" and "Y" values for each cell are hidden in the black stripes at the top and along the left edge.

Hold down the keyboard shortcuts, and watch the quilts morph in front of your eyes. Animation!!! Enjoy.

= = = = = = = =

ATTENTION! Brief and easy to read Excel Guides to the Basics of 1. Formulas and Equations -- and 2. Macros (VBA) are available for your edification at Posts #42 and #43 in this thread.
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; 03-24-2008 at 08:55 AM.
Reply With Quote
  #2 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

This one is the Navaho Rug Generator.

Not all of its rug patterns are good---but some of them are spectacular.

This one operates with a VBA macro that first generates a "stamp-pad" pattern, and then "stamps" that pattern in a linear sequence in the upper-left quadrant of the rug. The other quadrants are obtained by symmetry.

This is an excellent example of how the VBA code can interact with formulas in cells of the spreadsheet. The formulas do calculations that are tricky or time-consuming to do in VBA. The VBA then accesses the calculations much like "variables" and performs the processing that makes the rug.

BTW, you can add or delete entire rows and columns out of the middle of the rug, and the VBA still works! Rugs with different aspect ratios make subtly different patterns of rugs.
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
Reply With Quote
  #3 (permalink)  
Old 02-04-2008
freeztar's Avatar
In the Spatula Zone
Hypography Staff Member
Moderator
Editor
Silver Subscription
Sponsor
Re: Pyro's Excel Goodies

Cool!

Bring 'em on!
__________________
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
  #4 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

This one contains no VBA, but does some rather complicated text manipulation with cell formulas. It is called, Scramble.

What it does is take any seven-letter word, and generates random rearrangements of those seven letters. Not as easy as you may think.
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; 02-04-2008 at 10:17 AM.
Reply With Quote
  #5 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

This was an actual working project management spreadsheet,
called Waterfall Hours.

A "waterfall" chart is one that lists tasks down the left edge, and a calendar across the top. In the body of the chart, there are horizontal bars indicating when each task is being worked. Since the tasks are generally in chronological order, the bars tend to join up in a series of "waterfalls" and thus the name.

This one has a true Work Breakdown Structure (WBS) on the left, itemizing the tasks within each WBS element. The input values the user inserts are the days of delay of each task from the beginning of its WBS element -- or delays of each element from its parent element. AND, the number of days required to do that task, AND the number of Equivalent People (EP) required to perform that task.

The cell formulas automatically draw the waterfall chart, and on the following page, calculate the total labor loading and give you a chart for that.

BTW, check out how I created the "calendar" itself along the top of the first page. That's worth the price of the whole spreadsheet.
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; 02-04-2008 at 08:23 AM.
Reply With Quote
  #6 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

Here is a pair of spreadsheets that may be useful for you engineering types. The first takes a sparse matrix (a matrix where most of the cells are empty) and compresses that into a much smaller table. The second takes the compressed table and regenerates the sparse matrix. Together, these are the Sparse Matrix Utilities.

BTW, building the compressed table requires a VBA macro.
Regenerating the sparse matrix does not.
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; 02-04-2008 at 10:18 AM.
Reply With Quote
  #7 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

This one is an Ocean Simulator.

WTF, over? It simulates an aquarium, if you will, containing plants, fish and sharks. The shark eat the fish, the fish eat the plants. All three procreate. The shark and the fish only procreate if they eat enough, else they starve and die. The entire life history of a shark or fish is encoded into an ordinary real number.

This is VBA macro-intensive, as you might guess. As the critters move around in the Toroidal ocean (top connects to bottom, left connects to right), eating and being eaten, another macro is meticulously counting each kind of critter in each generation and plotting the results.

See the boom and bust cycles of nature in your very own computer!!!
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
Reply With Quote
  #8 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

Remember that Spirograph toy you got for Christmas? You pick out some gears, insert them in the base, stick in a colored pen and turn the crank. Psychadelic, dude!

Well, half a century after I got my Spirograph, I simulated it in my computer. Us wizards can do that, you know. And here it is for your amusement.

WARNING--this spreadsheet is a major addictive time waster!

The really fun part of this program is that it is ANIMATED.
There are four parameters and incrementing them
is controlled by the keyboard keys: A, S, D, F
Decrementing them is controlled by Z, X, C, V.
For your convenience, these are all situated in the extreme left corner of your keyboard. Just hold down Control-Shift- and one of those letters. Sit back, watch the screen, take a puff on your bong (just joking!) and watch half the day disappear before you know it.

No VBA required -- all done with math and charting.
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; 04-08-2008 at 02:15 PM.
Reply With Quote
  #9 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

Had a little too much to drink? Well... let's go on a Drunkard's Walk.

This is another VBA macro acting on an arbitrary-sized toroidal rectangular area. It literally simulates a drunkard's walk--each step can be randomly up, down, left, right. Of course, the edges of the rectangle are connected, up to down, and left to right.

Here's the juicy part. As each cell is visited, its value is incremented, and the cell is colored accordingly from a long spectrum of colors. The patterns created look like topographic maps of Pacific islands.

There are some tricks in the borders. Watch for them.

So, just open it up and click on the "Paint 1" button.
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; 02-04-2008 at 10:34 AM.
Reply With Quote
  #10 (permalink)  
Old 02-04-2008
Pyrotex's Avatar
Slaying Bad Memes
Latest blog: The Problem With Ike
Hypography Staff Member
Moderator
Editor
13 Days in Hell Champion!
Join Date: Nov 2005
Location: Houston, Texas
Posts: 3,848
Blog Entries: 7
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

This is a strange one. It is an Egg. And it hatches.

(Danger, Will Robinson! Danger! Danger!)

This is a Work Breakdown Structure, Automatic Cost Manager, spreadsheet CONSTRUCTOR.

Read the notes very carefully before triggering the "hatch" process, because when you do, it will take about ten (10) minutes (yes, that's U.S. standard minutes) for the five original pages to become about 15. About 15 LARGE pages. This is the most VBA code I have ever written in one spreadsheet.

The "egg" information is contained within a detailed WBS which is carefully numbered. You have to insert a lot of customization parameters, for example, telling it whether the WBS is for 1 or 2 companies, their names and abbreviations. You have to select what labor codes you will be using. You can even select the colors you want to use. Or, what the hell -- just use the default values already there!

And then you pull the trigger... and stand back...

It will help if you are a Project Manager--then you will understand (and appreciate, I hope) what you will finally see.
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; 02-12-2008 at 01:59 PM.
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 Suggestions and Wish List 11 01-29-2008
How to convert Ms. Excel spreadsheet to MS. SQL? cannonbow88 Computer Science 2 09-27-2006
How to convert MS Excel format to My SQL? Chloe Computer Science 5 08-11-2005

» Current Poll
Do you read popular science books?
Yes, a few each year - 60.00%
6 Votes
Yes, but very rarely - 10.00%
1 Vote
Yes, most of the time - 20.00%
2 Votes
No - 10.00%
1 Vote
Total Votes: 10
You may not vote on this poll.

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


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