Wednesday, August 5, 2015

3 New Functions in Excel 2013

The advent of Excel 2013 brought with it many new or enhanced features that users have wanted for a long time.  Among those were Several Cool Functions.  Now, Excel 2013 is certainly not New anymore, but some of the functions that were first introduced in this version are worth a closer look.

ISFORMULA()
This function serves as a new informational tool. If you wish to quickly know whether a cell or range of cells contain a formula, using this function returns TRUE if the cell contains a formula and FALSE if not. Knowing the difference between data that was merely Entered and that which was Calculated, can serve as important referential purposes.

SHEETS()
You can use the Count property VBA to give you the number of sheets in the current workbook, but who wants to mess around with VBA if you don’t have to! (apologies to my very geeky friends…).  The new SHEETS() function makes it slick and easy to obtain this information without having to resort to more difficult solutions.

DAYS()
The DAYS() function returns the number of days between two dates.  Simple as that.  Now this information has previously been available by merely subtracting the StartDate from the EndDate, but this function provides the ability to combine this floating data with other functions with a more minimalistic, elegant approach.

ISFORMULA(), SHEETS(), and DAYS(), all worthy of your attention when the time is right.  Good stuff…

Tuesday, July 28, 2015

Duplicate Data Revisited

The proper handling of Duplicate Data has been a traditionally troublesome issue for a great many Excel users.  The Duplicates Issue can arise for several reasons:  Combining of similar databases, updating data, entry errors, etc.

While there are ways to Quickly Remove all of you duplicate data, it may be a bit rash to do so without first getting an idea of what is being obliterated.

For example, let's say you are working with Combined and Blended Sales Department data that displays your company’s reps results by individual and month.  Using Conditional Formatting, you can quickly see which records are true duplicates.

Removing Duplicates:
Since the advent of Excel 2007 (and in subsequent versions, of course), it has become laughably easy to remove your duplicate records, and to do so with a bit of Finesse:   

1.  Select the entire database (be careful not to select any self-generating key fields)
2.  Go to the Data Tools group on the Data tab, and click Remove Duplicates
3.  Select your database or table and click OK
4.  A Remove Duplicate information box will pop up (example below) giving you options as to how you want Excel to identify “Duplicates

5.  Depending on whether you want to eliminate all duplicates by Month, Rep, and/or Sales (in this example), you will then indicate which Columns to choose with the checkboxes (Note: Choosing all of the columns assures an exact duplicate by all of your data criteria).
As with anything in life, (Excel or otherwise), once you know how to do something, you will likely wonder why it ever was a problem to begin with.  Once you know how, Removing Duplicates is a Snap!  Give it a try…

 

Tuesday, July 21, 2015

Wildcats, I mean Wildcards!


There are so many cool tricks in Excel.  A person could research and talk about them for years.  The use of functions is, of course, the coolest trick of all in Excel.  To make functions even better, however, you can use Wildcards.

The ability to use Wildcards is a very effective feature in Excel.  Several functions can use these handy critters to better filter the results you are attempting to get.

The following is a list of the more common Excel functions that can make use of Wildcards:

·        AVERAGEIF
      ·        AVERAGEIFS
      ·        COUNTIF
      ·        COUNTIFS
      ·        MATCH
      ·        SUMIF
      ·        SUMIFS
      ·        VLOOKUP

There are 3 different Wildcard Characters in Excel.  Though that may seem to be a paltry few, you may be Amazed at what you can do with them.

The summary below offers an explanation and examples of how these characters can be used in the functions noted above.

Wildcard Character
To
Question Mark (?)
Find any single character (letter, number, etc), such as “B?nk” finds Bank, Bonk, or Bunk
Asterisk (*)
Find any number of characters (once again, letters, numbers, etc), such as “Post*” finds Postage, Postpone, Postcard, Postulate, etc
Tilde (~) with another Character
Insert a literal question mark (?), asterisk (*), or tilde (~) such as “Jameson~?” finds Jameson?, “Jameson~*” finds Jameson*, etc

As you further your mastery of Excel formulas, keep in mind the power of Wildcards.  They can give you a great deal of help as you explore the Wild*!

Tuesday, July 14, 2015

Sparklines!

Sparklines are amazing little appliances that were first introduced in Excel 2010.  They are miniature charts that fit into a single cell in your worksheet, providing you with a visual representation of your data without having to resort to a full-blown chart.

Interestingly, a Sparkline is a tiny chart that resides in the background of a cell, not unlike formatting.  It can overlay (or underlay) other contents of a cell, but are typically used in a separate cell adjacent to your data.

The advantages of Sparklines are many.  They can Simplify your visual representations of your data, and can be done so with just a couple of clicks!  Effect and Simple (and that’s what we all want…).  They are particularly successful in creating Mini-Trendlines such as those which are desirable in sales analysis.  To reinforce this point, check out the illustration below.  At a glance, it is easy to tell who is doing well, and who could use improvement.
Create Sparklines

1.      Select a group of cells (or single cell) in which you want to insert your Sparklines.

2.      Find the Sparklines group on the Insert ribbon, and click the type of Sparkline that you want to create, (Line, Column, or Win/Loss).

3.      In the Data box, select and insert the range of the cells that contain the data on which you want to create your sparklines.

Badda-Bing!  Simple as that!  Want to add a bit of Illustrative Jazz to your Excel reports?  Think Sparklines!

Tuesday, July 7, 2015

Buying a Tesla

I am sure there are many of us who would like to own one of the new status-symbol-laden Tesla automobiles (I know I would!).  Although they do not have a built-in Excel application, the all-electric, futuristic Teslas come with a host of high-tech features.

So, how do you know if this is a car you can afford?  Well, if you have your tablet or a laptop along with you while you are shopping, you can calculate the Monthly Payments using a handy-dandy Excel function.

The PMT() Function - Here is How it works:

Coming up with this information in Excel could hardly be easier.  The PMT() function can calculate the monthly repayment using the following syntax.  Note that a minus sign has been put in front of the PMT function so that it returns a positive payment amount (which is more intuitive for most folks…), and since we are looking for Monthly Payments, the first argument is divided by 12.  The rest is a piece of cake:

-PMT(AnnualInterestRate/12, NumberOfPayments, AmountOfLoan)

To illustrate this, let’s say you traded in your Jaguar (we might as well dream…), and your bottom-line amount of your loan is going to be $51,000.  If your annual interest rate is 3.5%, and you are financing for 60 months, the resulting formula would look like the following:

=-PMT(3.5%/12, 60, $51,000)

Having constructed your formula with very little effort, you hit Enter and, Bamm, you have your monthly payment (In this case, $927.78).   

Too much money?  Don’t have a Jag to trade in?  If you don’t like the results, play around with the interest rate, the length of the loan, or maybe you’d want to check out a Chevy Volt.  The bottom line is that it is all so simple when you use Excel.  Coolness…

Wednesday, July 1, 2015

To Error is Human…

Mistakes happen in Excel.  There is no sure cure for this.  To Error” is indeed “Human”.  Excel is designed to let us mere mortals know when you make a mistake by giving us an Error Message.  This can be helpful, but it can also be rather annoying!

What, for instance, do all of these would-be-helpful Error Messages mean?!?  And What can you do about them?  As we did a couple of years ago, let’s look at a list of Error Messages along with some brief explanations:

• #DIV/0! - You divided by 0 or by an empty cell (We all learned in algebra that you can’t do that…)
• #N/A - A return value of the function is not available (Yeah, you probably messed up the formula)
• #NAME? - Well, you might have used an Undefined range or cell name (easy to correct…).
• #NULL! - You specified an intersection of two areas that do not intersect (Weird, eh?).
• #NUM! - There is a problem with a number in a formula (i.e. Is it really a number?).
• #REF! - An invalid cell reference is mentioned in a function (reasonably self-explanatory…).
• #VALUE! - The wrong type of argument or operand is used in the formula (Okay, fine!)

So, the foregoing covers “What do they mean”.  Now let’s look at “What can you do” by examining a few useful Handlers that can be applied in your worksheet:

1.   ISERR - Any error value except #N/A
2.   ISERROR - Any error value, including #N/A, #VALUE!, #REF!, NAME?, etc
3.   IFERROR – Introduced in Excel 2007, this combines the IF and ISERROR functions

Let’s use the IFERROR in an example. Suppose you have two columns of data which you are simply dividing in a third column. If you Divide by 0 or Divide by a Blank Cell, you will obviously get an Error Message.

 If, however, you want the message to be Clear and Concise to the potential user, you can use IFERROR to define a Custom Response such as “Mistake in Calculation” or “Problem with 2nd Value”, or something more apropos that you can invent for your own special circumstances. In the example shown, the formula would be:


=IFERROR (Column_1 / Column_2, “Error in Calculation”)

 
By creating Custom error responses, rather than accepting sometimes cryptic stock Error Messages, you can Humanize your worksheets.  To Error, after all, is Human…

Tuesday, June 23, 2015

Picture Your Access Data

Access 2013, as well as the previous versions of Access are excellent applications to house your company’s database.  In the latest version, you have the ability to build a Web App Database where data can be retrieved by various other programs including, of course, Excel.

Although Access is a powerful database tool, you may wish to be able to Visualize you data in the form of a well-constructed Chart.  For instance, let’s say that you have your net sales quantified by region, and you would like to slap together a quick Pie Chart for your presentation to the board.  Here is where Excel is your app of choice!

With Excel 2013 open, do the following:

1.   Open your Data ribbon

2.   Click on the Get External Data down arrow

3.   Select From Access

4.   Click on the Access File you wish to view

5.   Choose the Table you want to import and click OK

Your Access data will then be imported in a contemporary Excel Table from which you can select the data from which to make your Pie Chart.

Simple as that!  Importing and manipulating your Access data in Excel has never been easier.  Totally Cool!