Recently, Bob Umlas, an Excel Most Valuable Professional (MVP), compiled a lifetime's worth of Excel tips and tricks in his book, "This isn’t Excel, it’s Magic!", from IIL Publishing, New York. Here are six great tips from that book that address common questions and issues from our Excel customers.
There are many more tips and tricks that Bob has up his sleeve and that you may find useful. His book is available from the IIL Bookstore.
In this article
Tip 12: Change dates like 20050923 to one Excel can "understand"
Suppose you are looking at a worksheet which contains dates which can't be formatted as "real" dates because of their structure:
Select the date(s), and use Data tab, Text-to-Columns, [Excel2003:Data|Text to Columns]
Which brings up the Text-to-Columns wizard:
Even though the dates are fixed width, in this case you can simply click "Next" twice.
In step 3 of wizard Select Date, YMD:
If you click Finish now, the result will replace the dates. You can select another destination cell:
Here's the result:
Tip 16: Using Pictographs
Anything in the clipboard can be pasted onto a chart
Clicking on the coins, copy (ctrl/c), click on a series, Home/paste (or ctrl/v):
Right-click on the series, use Format Data Series:
Click these options: [Excel 2003:Patterns tab|Fill Effects]
There are 3 format options:
Stack and scale to
If we select Stack, we see:
If we select Stack and scale, we can enter a number into the Unit/Picture box. Again, this is something you can experiment with.
You also may have noticed these options in this dialog:
Picture or texture fill
Here's the gradient option selected and the Preset colors dropdown:
The new chart:
On the picture tab there was a button to select a picture−you can use any picture you have on your computer! You can experiment with the other tabs as well.
Tip 29: Formatting comments
When most people create a comment (Review Tab, New Comment, or Shift/F2), [Excel2003:Insert|Comment], they accept the shape and color and just enter the information they want. So most comments look something like this:
But how about a comment like this?
Or even this: (It's me!)
Here's how you can do it:
When you first create a comment, the cursor is right after whatever you typed. You need to select the comment itself, not the text inside. So, select the border of the comment.
You need the "Change Shape" tool. This can be placed on the Quick Access toolbar: [Excel 2003: View|Toolbars| Drawing|Draw Menu|Change AutoShape]
When the comment is selected by the border, click the new Change Shape tool.
From that, you can select basic shapes, block arrows, flowcharts, stars and banners, or callouts, each of which has yet another set of shapes to choose from. Shown here is the Cloud callout:
Once you have the new shape, (cloud, here), right-click the border once again, and choose Format comment as shown, if you wish to format this comment even further:
That will bring up yet another dialog, from which you can choose Fill Effects:
From this dialog box you can select the Picture tab and import any picture (I chose me!).
As you saw before.
Tip 39: Selecting a random sample of data
If you have a database with many records and you want to take a random sample of that data, here are a few techniques you can use.
One way to get a random sample is to use a computed criteria and advanced filter.
Suppose you want to take a random 10% of the data. Enter the formula as shown in C2 (keep C1 blank). By entering the formula = RAND()<0.1, every time this worksheet calculates, the =RAND() will return another random number. So RAND()<0.1 will return true, about 10% of the time.
(Rand() returns a random value between 0 and 1, not including 1).
Using the Advanced button from the Data tab: [Excel 2003:Date|Filter|Advanced Filter]
You can filter like this:
and that will create a random selection:
This will be different each time. You may notice that there are only 9 items shown not 10, and that's because the values RAND returns are random! It's best to use this on larger databases!
A second way to select a random 10% of your data is to still use the RAND function, but not use filtering. Look at this:
Cells B2 thru B101 contain = RAND(). All you need do is select A2:B101 and sort by column B! Take just the first 10 items, and you have your random 10% of the database!
Tip 55: See all characters in font set
Enter =CHAR(ROW()) in row 1
=ROW() return the row you're in. =ROW() entered in cell G23 returns 23.
=CHAR(97) returns the 97th character in the character set for that font, usually a lowercase "a" (picture fonts like Wingdings or Webdings return something else).
Fill down to row 255.
Easy to see things like ●, ¢, £:
When you see that "●" is in row 149, you can then know that holding Alt while typing 0149 on the numeric keypad will create this character as soon as you let go of the Alt key! And this holds true for all of Office, not just Excel! You can copy/paste special characters for the character(s) you want, and you can then copy the resulting character from the formula bar.
Tip 74: Bringing the selection into view
It's possible you've selected some areas of cells and the scrolled away so you can't see it any more. CTRL/Backspace brings that selection into view, and shift/Backspace brings selection into view as well but reduces the selection to the active cell. So, if this is the before picture:
Then shift/backspace will simply have cell B3 selected.