Tuesday, December 30, 2014

Links are Cool!

I think we all agree that Charts are Engaging, Readily Informative, and Cool. But is there a way to make them Even Cooler, you ask?  Oh, yeah, Man!

For instance, let’s say you have a chart of sales figures that is interactive relative to which sales representative you choose from a Dropdown Box.  An
easy way to do this is by using Validation. Simply select the cell in which you want the dropdown, choose Validation / Allow List and then select a range for your Source of dropdown entries.  Presto! Instant DropDown Box!  By combining a dropdown and elements such as a VLookup function, you can create a powerful and interesting report in Excel

But, would it be possible to have the Title of the Chart Change to reflect the value chosen? Yes, indeed! (It is so easy, you’ll laugh…)

Here is How You Do This:

1.    Select the Chart Title

2.    Go to the Formula Bar and type an Equals Sign: “ =

3.    Then Select the Drop-Down Box Cell to which you want to link

4.    Note: The final cell reference formula should look something like: “=Sheet1!$B$3

How Totally Cool is that?!?!  Now every time you change the Name or Value in the Drop-Down, the Chart not only updates its graphical display of data, it Automatically Updates its Title! 

With this trick you can WOW your boss, your colleagues, your employees, even your dog or cat!  Give it a try!


Happy New Year, All!

Tuesday, December 23, 2014

Graphics in Excel


Excel users can be a funny lot.  Many of us tend to think of anything outside of cold, hard data is a waste of time and, moreover, rather frivolous.  Data and, more importantly, Information is, of course, what Excel is all about.  The thing is, though, it doesn’t have to be dull.

Excel is actually loaded with an array of graphics tools that can make your spreadsheets more engaging and readily informative.  Let’s look at some ways this can be done:

 Interesting Charts

Using some lively graphics can add real Pop to an otherwise sufficient chart.  Plotting Surfing Days in Southern California?  Use Surfboards in your chart!

 
SmartArt

You can find SmartArt in the Illustrations group on the Insert ribbon.  SmartArt quickly enables you to create diagrams of Org Charts, Processes, Cycles, and much more.

 
WordArt

Enter some eye-catching stylized text with Word Art objects.  Just click on the WordArt dropdown button from the Text group and choose a style that appeals to you.  You can resize and drag this text to any part of your worksheet.

 
Shapes

Let’s not forget the readymade shapes that add Functionality, as well as engaging panache to your Excel workbooks.  You can add Words and Hyperlinks to these easily-created shapes, enabling the user to navigate to anywhere you wish them to go
There are several other ways to add graphics to your Excel masterpieces, of course, and they can indeed add a touch of brilliance to your work.  I encourage you to try them out on your next report.  I’m sure your users will approve!

Happy Holidays All!

Thursday, December 18, 2014

Medical Records and Excel

Having been diagnosed with a bit of pneumonia a couple of days ago, and getting a laundry list of medications to manage, it occurred to me that Excel would likely be a good friend in this regard.  So I created a simple spreadsheet/checklist to help me keep track of the what and when of my meds.

But wait!  Excel can do so much more: A brief amount of investigation revealed that, indeed, Excel offers a great deal of potential premade assistance to individuals wanting to track their medical concerns. Included in this group are the following templates:

·       Weight Loss Tracker with BMI

·       Blood Pressure Tracker

·       Calorie Amortization Schedule

·       Blood Sugar Tracker

·       Exercise Planner

·       Fitness Progress Tracker

There are many third-party predesigned dashboards, databases, and templates created for medical professionals as well.  A few of the most notable are those from:

·       Chandoo

·       Softonic

·       Tableau Software

In addition to a these out-of-the-box suggested formats, good old Pivot tables can be a tremendous boon, especially for medical professionals.

There are applications in Excel that can touch a myriad of facets of our personal, as well as our professional lives.  This is simply one more way that Excel can be of assistance.

Wednesday, December 10, 2014

Taking Polls and Grading Quizzes

Interactivity is a cornerstone to creating engaging, dynamic Excel workbooks and tools.  Option Buttons are one way to add this ability to your Excel creations, and make them more professional in the process.

Option Buttons can also be very useful in creating Quizzes in Excel, and although they can at first appear a little intimidating, they are really not too difficult to create.  The following is a step-by-step explanation of how to create your first quiz using Option Buttons:

1.   Add the Developer tab on your toolbar:

a.   Click the File tab and then click Options, and then click the Customize Ribbon category.

b.   In the Main Tabs list, select the Developer check box, and then click OK

2.   Under the Developer tab, choose Insert/Form Controls/Option Button

3.   Draw the Option Button box on your worksheet and repeat for however many buttons you wish to have for choices

4.   Now, (this is Important), to make the buttons work together, return to your Insert dropdown and choose Group Box from the Form Control group

5.   Then draw your Group Box all the way around your Option Buttons

Three More Steps, and We are Done:

6.   Right-Click one of the Option Buttons, choose Format Control from the dropdown and select a Cell Link that you want your Option Buttons to populate

7.   Now comes the Cool Stuff: Create a Formula that is based on the value that is shown in the Cell Link

8.   For example, let’s say you have linked three Option Buttons to Cell $E$5 and you wanted Option 2 to return a “Correct” response and the others to return “Incorrect”, here is what you do:

In cell E6, type =IF(E5=0,"", IF($E$5=2, "Correct!", "Sorry, Incorrect"))
 
 
Now when the quiz-taker chooses Answer 2 of the three possible, they are rewarded with the “Correct!” feedback.  Option Buttons, another way to make Excel do things you never thought possible!

Thursday, December 4, 2014

The Cloud Rules!

Let’s face it, tablets and so-called phablets (a term I find curiously disturbing) are where the world is today, and there is an ever-increasing amount of Real Work done on these devices.

The Cloud is making all of this practical and efficient, and this is very much the case with Excel.  When it comes to Microsoft, OneDrive has replaced the previously-called SkyDrive, and it has become easier and more intuitive than ever to use.
 
By placing your Excel workbooks on OneDrive, they can be shared on any of your devices.  All you need to do is save your Excel file to your OneDrive and it is there whenever and wherever you need it.  Since I commonly switch from a conventional PC to a laptop to an iPad during the day, I am finding the capacity to do this a Great Convenience 
 
That’s not all, of course.  In addition to easily saving your Excel masterpiece to OneDrive and accessing it on your other devices, you can also Share It with the World if you so choose.  Simply click Share on the left panel, save it to OneDrive and then complete the Invite People feature to provide them access to your work.  What makes this Especially Cool is that the other parties with whom you are sharing Do Not even have to have Excel on their computer!  This is a great attribute, as not everyone has Excel on All of their devices (the Luddites – Ha!).

Since the learning curve is now not at all steep for creating/modifying Excel workbooks on tablets, the opportunity is presented to not only share your work, but also work on your work while on a tablet, phablet, or maybe in the not-so-distant future, on a smartphone (of course, this may require some very keen eyesight…).  Is it all about work, work, work, you say?  Well, perhaps you have a point.  In my next blog I’ll show you something really Fun (and perhaps a bit useless) to do in Excel.

 
Cheers!

Wednesday, November 26, 2014

MicroGraphs for All!

As many of you may know, “Sparklines” first appeared in Excel 2010.  Sparklines make it quick and easy to create readily-intelligible micrographs within the cells of your Excel spreadsheets that highlight important details of your data.  They have the same utility as traditional graphs and charts, but they have the additional benefit of being incorporated right next to the data which you wish to illustrate.

Well, that’s pretty cool, but what if your company is still using Excel 2007 or even Excel 2003, (a recent survey showed a significant number of companies still using these older versions), and you want to use some Cool Little Micrographs on your spreadsheets?  What can you do?

A very effective way to make these engaging little graphs is to incorporate an unpretentious formula and a touch of conditional formatting.  Let’s look at how this can be done…

Let’s say you have the Producers of your company’s products in Column A as illustrated below, and in Column B you have the Units Sold each producer has sold. Here is the simple formula you should put in Cell C2 (and then copy it to C8):

= REPT( “l” , B2/1,000) 


For each Approximate Count of One Thousand, the formula puts an old-fashioned Hash Mark, (using a bold, simple font works well), in Column C. With a bit of Conditional Formatting, the result is a clean, professional report that integrates a MicroGraph! Using these elementary graphs makes your data Visually Comprehensible and enhances the user’s understanding of what is being said in your Excel reports.

If you are using a pre-2010 version of Excel (or even if you are using a more contemporary version), try it out sometime and see what you think. It’s good stuff!

Happy Thanksgiving All!

Wednesday, November 19, 2014

Sales Analysis with Coefficient of Determination


The correlation of data can be an extremely worthwhile endeavor for any business analyst. Adding some graphical depiction of your analysis can make it even better.

One of my favorite charts and accompanying functions are Scatterplot (XY) Chart and the Coefficient of Determination function. This quick analysis combo truly should be in your Excel Tool Belt!

Let’s say, for instance, that you want to do some speedy research into the efficacy of your sales advertising. Perhaps you want to know whether it is typically better to spend advertising dollars on Tuesday or Thursday.

First determine your ad effectiveness on Tuesdays by selecting data from those days and making a Scatterplot Chart.  Then do the following:

1. Right-click on one of the data points and
2. Choose Add Trendline
3. Right-click the Trendline and choose Format Trendline
4. Format the Trendline to your preferences and
5. Put a Checkmark next to Display R-squared Value on Chart

 
The R-squared value is your Coefficient of Determination (COD) that will tell you how strong your data on your two axes. In the example above, the COD value is .74 (or 74%) representing a strong correlation between spending advertising dollars on Tuesdays and increased sales.

Then simply do the same for your Thursday data, and compare the size of the CODs. If you get, for example, a Coefficient of Determination of 74% on Tuesday and 41% on Thursday, Hey, it’s a no-brainer!  Spend your money on Tuesdays!

Try using a Scatterplot and Coefficient of Determination sometime when seeking the strength of a correlation of data sets or multiple sets. It is Fast and Effective. Just don’t tell anyone how Easy it was!

Wednesday, November 12, 2014

Truly Blank?

Today’s topic may initially seem a bit obscure, but let me assure you, if you are ever faced with some odd results from what appears to be routine data, it is something to consider.  Let’s say that you have what appears to be a number of blank cells in the range on which you are performing a calculation.  If you are getting strange results, you might ask yourself, “Are the blank cells actually blank?  The truth is that it is Not Always Easy to know whether a cell or cells in Excel are Truly Blank!

The reason it is difficult to immediately know if blank cells are truly blank is due to the fact there are several ways of Hiding Data through:

o   The use of identically-colored fonts

o   Empty-string results of a formula

o   Masking the data with the use of Custom Formatting (three semicolons: ;;; )

It can cause Mayhem with your calculations.

To detect this Invisible Data, there are at least a couple of techniques.  Assuming your cell in question is A1, you can:

1.      Simply insert this Function in an adjacent cell:  =ISBLANK(A1) 

o   If the cell is Blank, it will return True; if it is Not Blank, it will return False

o   Copy the simple formula to include the rest of the range you are investigating

2.      A second technique it the use an IF Statement as follows:  =IF(A1<>"","Not Blank", "Blank")

o   This IF Statement obviously returns Blank or Not Blank
 
o   You can then take the appropriate action with the Not Blank cells

By determining if your cells are Truly Blank, you can help Avoid Quirky Results on your worksheet.  And, as Martha Stewart might say, “That’s a good thing…

Thursday, November 6, 2014

Keeping Things Safe

How many times have you heard or read that you should routinely back up your data on your computers?  Well, protecting your Excel work can be similarly important. 

Perhaps you are asking “Why is this important?” Maybe you have never done this, and never had a problem. That may be just fine if you are the only one using one of your Excel masterpieces, but if are sharing your work (and most of us probably are) with others there will come a time when the others will want to “Experiment” with your formulas and format. Don’t let this happen!  The construction of your workbook may have taken dozens of hours to create, and there is the potential for substantial ruin!

Happily, Excel has built-in Protection Tools to help us all out.

Let’s take a look at Excel 2013 for a How-To Example (other versions are similar):

Protecting and Unprotecting a Worksheet with a Password

1. If there are specific cells that you wish to enable users to modify (such as a Data Entry Range in a dynamic report), go to the Review tab and select the Allow Users to Edit Ranges in the Changes group and select the range you wish to keep accessible. In the example below, cells B5:B14
2. Next, click the Protect Sheet button in the same dialogue box. Excel in turn opens a Protect Sheet dialog box (see below), where you can Assign a Password, and select the Permissions you wish to be available to the users.
3. Click OK

You can easily Unprotect the worksheet with the password anytime you wish to make changes. And, of course, as this can cause a business disaster (people have been fired for losing this), Be Sure to Keep Track of the Password. This should barely warrant mentioning, but it does happen.

One Last Important Note: Protecting your worksheets is Not making it absolutely Secure.  It is not ample protection to prevent users from accessing confidential or sensitive data, and any backyard hacker can break it.  It is for casual protection.

Protecting Your Worksheets.  Certainly a Best Practice for any Excel practitioner, and one worth your time. Give it a try, and find out how easy it is to add a bit of protection to your hard work.

Wednesday, October 22, 2014

The Advanced Filter

As you may well agree, there are a great many powerful gadgets in Excel that are seldom used.  The Advanced Filter is just one such example of an often-overlooked, but enormously useful tool.

The beauty of this tool is that it is, well, Advanced.  You can, however, use it in comparatively simple ways to get an immediate understanding of how it works.  We will take a look at a couple of examples of how to use the Advanced Filter.

First of all, we will assume you have the following small database (keeping in mind, of course, that this tool works equally well with databases containing thousands of records):

 As is the case with any well-designed database, each field (column) has a header/name.  Not surprisingly, this is a necessity when using this tool.

Next, we will access the Advanced Filter by going to the Sort & Filter group on the Data tab, and clicking on Advanced. 

In the List range field put the location of your database (in this case it is B3: C11).

For the Criteria range, let’s assume you want to see all of the sales for the North, West, and East regions, and you want to place this filtered result below your database (use B13 for a starting point).  Simply set up a range such as in the following cells E3:E6 (or wherever you wish):

Your result will appear as follows in your chosen location:
Okay, Cool, but don’t stop there; you can use multiple field names and criteria to extract a wealth of information in a mere three clicks.

When you’re ready to Graduate up to another level, give the Advanced Filter a try.  I think you will like it!

Thursday, October 16, 2014

Automatic Fun!

It is probably fair to say that the vast majority of us appreciate Spellcheck in the apps we use on a daily basis (except, of course, when it chooses to do weird substitutions…).  What many Excel pros are missing, however, is that they can Customize automatic corrections with the highly useful, (but typically underutilized), Autocorrect tool.

This is particularly useful if you find yourself typing long (or even moderate) Boilerplate phrases that are tedious and time-consuming.  For a brief example, let’s say you work for Harley-Davidson Motor Company and the company policy is that no abbreviations of the corporate name be used in correspondence.  Typing the entire name every time you do any kind of spreadsheet or correspondence may not seem terribly onerous, but it can be a small irritation (and who needs that!).

The way you set up a phrase (company name in this case) in Autocorrect may seem like a bit of a chore, AutoCorrect can make this is as easy as typing HDMC.

Here is How You can Set this Up:

1. Go to FILE and select Options from the bottom of the column

2. Choose Proofing and click on the AutoCorrect Options button

4. In the Replace box, type HDMC

5. In the With box, type Harley-Davidson Motor Company

6. Click Add and then OK. That’s all there is to it!

But wait! There is a chance for some Tricks along with the Treats.  Many of you know the gag of accessing a fellow employee’s computer, and switching the mouse controls from (for example) to left-handed from right-handed, and then watching the bewilderment of the user.  Well, you can also have some fun (all very adolescent) with a person with Autocorrect. 

Let’s say you have a friend named Jim at work (or whomever). While he is away from his computer, go into AutoCorrect and enter Jim in the Replace box and Easy Rider in the With box. This can be done in Word too, of course, and he will perhaps think he is channeling the Harley experience.  (Just be sure you have him do this in your presence, so he doesn’t unnecessarily embarrass himself.)

Autocorrect.  Useful for productivity and a bit of mischief. 

Wednesday, October 8, 2014

Never Retire!

Since I have my 65th birthday coming up in a few days, I thought it would be interesting to take a look at a really cool formula or two that calculates when you are going to retire.  This can be a useful tool if, for example, you work in Human Resources or if you are doing Financial Planning.  It can also be entertaining if you just like to Daydream about days in the future when all you are concerned about is laying on the beach (getting even more wrinkly…).

I, for one, have absolutely no desire to retire anytime soon, since I enjoy teaching, blogging, and instructional design too much to give it up (besides, I look like I’m only in my 40s, Ha!).

If you have worked with Excel for some time, you know that it can be a bit quirky when it comes to handling dates.  Today, however, we will look at a couple of truly elegant ways of calculating your retirement date based on the Retirement Age you choose and on your Date of Birth.

In our first example, we’ll assume that the person’s birth date is in cell A2 and retirement age is 66.  In cell A3 create a formula as follows:

=DATE(YEAR(A2)+66,MONTH(A2),DAY(A2))

Another, even shorter, formula that you can use is the following (please note that you will need to format your cell as a date after using these formulas):


=EDATE(A2,66*12)
 
Well, there you have it; two uber-cool ways for Calculating Your Retirement Date. Now pardon me while I get back to work (laying on the beach can wait…).

Wednesday, October 1, 2014

Power Query

Pulling data from sources outside of Excel is a fact-of-life for many Excel users.  In the past, Microsoft Query was the Go-To add-in for importing data of this sort into Excel, but it had several limitations.  It is therefore exciting to see that Microsoft is offering a New (Free!) add-in called Power Query!

Microsoft Power Query for Excel provides an intuitive user experience for uncovering, combining, and refining data across a wide variety of outside sources. The list of possible sources is shown below, and even includes FaceBook and Wikipedia:
  • XML file
  • Text file
  • Web page
  • Facebook
  • Wikipedia
  • Sybase Database
  • Teradata Database
  • SharePoint List
  • OData feed
  • CSV file
  • SQL database
  • Microsoft Exchange
  • SQL Server database
  • Azure SQL Database
  • Access database
  • Oracle database
  • IBM DB2 database
With Power Query, you can create, share, and manage queries from search data available inside and outside your organization. Users of this powerful tool can find and use shared queries to mine the underlying data in the queries for their data analysis and reporting.

Using Power Query you can:
  • Zero in on the specific data you care about from your sources
  • Further discover relevant data using the search capabilities within Excel
  • Combine data from multiple, dissimilar data sources and prepare it for further analysis with tools in Excel and Power Pivot
  • Share the queries that you created with others within your organization
If you are a Power User and your job involves analysis of information stored in other sources and formats, you will likely want to explore Power Query.  It is, of course, all about Power (and did I mention it is Free?!?)