Archive for the ‘Excel’ Category

Excel VBA Tip

Tuesday, August 24th, 2010

Visual Basic for Applications is a programming language that allows you to expand upon macros in Microsoft Office products. It is not the same as Visual Basic, as it needs an application to run and cannot run programs independently.

There are many uses for VBA, but it’s a good idea to start small when you’re learning something new.  This piece of code will run a macro which will count the number of rows and columns in a selection of an Excel worksheet and put the result in a message box. You would enter this code in the Visual Basic for Applications Editor.

Sub Count()
myCountR = Selection.Rows.Count
myCountC = Selection.Columns.Count
MsgBox “You selected ” & myCountR & ” rows and ” & myCountC & ” columns.”
End Sub

This sample of code gives the macro a name (Count), creates 2 variables (myCountC and myCountR) and provides a message box to pop up on the screen.

If you would like to learn more, we have a 2 day class that will help you learn the terminology and the basics of VBA programming.  Visit our website to find out when the next class is offered!

  • Share/Bookmark

Excel Tip: Permut Function

Thursday, August 12th, 2010

There are hundreds of functions available in Microsoft Excel. One of those functions is the PERMUT function. PERMUT is short for permutations, which is how many ways a set of numbers can be rearranged.  For example, 123 could be 321, 132, 231 and so on.

This function helps you find out how many different ways a set of numbers can be re-arranged.  When people talk about how many different variations it would take to try and guess a password, the PERMUT function could be used to find out.

The function is:  =PERMUT(number, number_chosen). The first argument is how many numbers are available in the set, while the second argument is how many numbers you’ll pull out of the set.  For example, if you wanted to create a password from the 26 letters in the alphabet, and the password was going to be 6 characters long, then the function =PERMUT(26,6) would return 165,765,600 which means there are that many different ways to put together the 26 letters in the alphabet in 6 character combinations.

If you want to learn more about functions in Microsoft Excel, I’d recommend joining us for an Excel class.  We offer many different levels, and are confident you will learn something new!

  • Share/Bookmark

Excel Tip: Navigating Worksheets

Tuesday, July 20th, 2010

Do you have Excel workbooks with 5 or more worksheets?  Most of us do! I know it can be frustrating to scroll through all the worksheets with the tiny arrows, but did you know there’s an easier way?

Right click on those navigational arrows, and a pop up box will appear with the names of all  your worksheets. Select the one you want, and you’ll be there. It’s much faster and easier than moving through all the sheets with the arrows.

These are the kinds of great tips you’ll gain from attending one of our classes.  We hope to see you soon!

  • Share/Bookmark

Excel Tip: Custom Views

Tuesday, June 22nd, 2010

You may have noticed the CUSTOM VIEWS button on the VIEW tab in Microsoft Excel, but not known what that button was used for (Custom Views are available in older versions as well, but not as obvious on the tool bar.)

Custom Views allow you to set print margins, hidden columns, and other view options so that you can have multiple views saved with your spreadsheet.

This can be useful if you and a co-worker often use the same spreadsheet, or you need one view for data entry and another for printing reports.

In Excel 2007, go to the VIEW tab, and choose the CUSTOM VIEW button in the WORKBOOK VIEWS group. At this point, a dialog box will pop up and you can ADD and name different views.  Note that these views are then applied to all worksheets in the workbook.

For more tips and tricks using Microsoft Excel, attend one of our classes.  We are holding a seat just for you!

  • Share/Bookmark

Excel Tip: Working with Formulas

Thursday, June 17th, 2010

The main reason most people use Microsoft Excel is so that it can help them perform mathematical functions.  Sometimes, you know what a formula or function should do, but it doesn’t appear to be doing what you expect.  If you’ve double-checked your order of operations (which is the order calculations are performed — parentheses, exponents, multiplication, division, addition, subtraction) and you think you have plenty of parentheses, then use the Formula Auditing tool available to you.

In earlier versions of Excel, go to TOOLS / FORMULA AUDITING / EVALUATE FORMULA.  In Microsoft Excel 2007, you will go to the FORMULAS tab and choose EVALUATE FORMULA.  The location of the option is the only difference in 2007.

This will give you the ability to step through your formula one calculation at a time to try and find your error.  It’s a great troubleshooting tool.

For more great tips, attend one of our many Microsoft Excel classes!  We look forward to helping boost your productivity.

  • Share/Bookmark

Excel 2007 Tip: Converting Table to Range

Thursday, June 10th, 2010

The tables in Microsoft Excel 2007 are great for so many things — easy to sort, format, total, and more. Sometimes, though, you have a table in Microsoft Excel and you don’t want it to work as a table any longer.  A recent client needed to combine two sets of data that were both configured as tables and was having a hard time.

Once she realized she could convert the table back into a range and combine the data, she was happy. If you find yourself in a similar situation, do the following:

  • Click anywhere inside your table
  • Go to the TABLE DESIGN tab on the RIBBON
  • In the TOOLS group, click CONVERT TO RANGE

For more great tips, attend one of our classes.  We have seats waiting for you!

  • Share/Bookmark

Excel Tip: Drill Down Details

Tuesday, April 13th, 2010

Excel Pivot Tables are a powerful tool in Microsoft Excel, especially when you are working with large amounts of data. When I show students a range of 2000+ rows and create a pivot table that summarizes all that data in maybe 15 rows, there is sometimes skepticism that all the data has been pulled into the pivot table.  Other times, users need to know exactly what data has been summarized so that they can share that subset of data with others.

Excel has made it easy to find out what data feeds into each summarized number.  In the Pivot Table, double-click on the number in question.  A new worksheet is created, with a detailed list of the rows of data that made up that summarized number.

You can then print, or graph, that subset easily.

For more ways to use Microsoft Excel to help you work more efficiently, check out one of our Excel classes. We love helping students learn more about the software we love!

  • Share/Bookmark

Excel 2007 Tip: Tables

Tuesday, March 9th, 2010

If you’ve been using Microsoft Excel 2007 for a while, you might have noticed the button on your Ribbon referring to tables.  Tables are a new feature in Microsoft Excel 2007 and are useful in a few different ways.

When you convert a range of cells into a table, you can manipulate and format it separately from the rest of the worksheet.  And formatting it is extremely easy using the themes and styles built into Excel 2007!

When you convert a range into a table, you will notice drop-down arrows at the top of each column.  This makes filtering and sorting very easy!  You can also easily add additional rows or columns of data into your table and know that it will be included in the previous data.

Instead of selecting an entire range, you only need to click in any cell within a table to select the entire table.

Tables cannot have blank rows or blank columns, but applying the various themes and styles provide formatting to help differentiate the different data contained within your table.

Finally, if you use SharePoint, it is a simple step to export a table into a SharePoint list which means you don’t have to share an entire workbook!

For more tips and tricks on using Microsoft Excel, please visit one of our classes.  We’re looking forward to helping you learn more about this great piece of software.

  • Share/Bookmark

Excel: What is a Pivot Table?

Thursday, January 28th, 2010

In our Microsoft Excel Level 2 class, most students aren’t sure what a Pivot Table can do for them.  When they realize the capabilities of pivot tables and charts, they usually want to learn more!  This is why we added a 1/2 day class devoted to Pivot Tables to our calendar.

A Pivot Table is a quick, easy way to summarize data. You can use it on large amounts of data, or you can use it on small amounts of data that has certain items repeating. For example, a pivot table allows you to take 2000 rows of sales data and quickly pull out information that tells you how much of a particular product a particular salesperson sold.

Microsoft Excel 2007 has made it even easier to manipulate data with Pivot Tables, and we’d love to show you how they can help you provide concise reports in a fraction of the time. Visit us soon and learn how!

  • Share/Bookmark

Excel Tip: DAVERAGE Function

Tuesday, December 8th, 2009

Microsoft Excel offers a wide range of database functions that allow you to analyze your data. One of the most common database functions is the DAVERAGE function.  (Database functions begin with a “D”).  The DAVERAGE function allows you to find the average of a certain field in your table that meets certain criteria.  This is different than the AVERAGE function which finds the average of all the numbers in a given range.

The syntax for the function looks like this:

DAVERAGE(database, field, criteria)

The database argument holds the range of your database.  The field argument is for the field you want to average.  It can be a cell reference, a field name inside quotations, or the number of the column that holds the range of data for that field. The final argument is the cell range that contains your criteria.

If you have a database that holds test scores, and you want to find the average of all passing grades, you would first set up the criteria range below your database data. That range would duplicate the field names in the first row, and you would place your criteria in the 2nd (and subsequent, if needed) rows.

For example, your data would be held in the range A1: C45. Test scores are in column C. In row 47, you would repeat the field names (likely FName, LName, Score). In row 48, you would place the criteria >59 to set the criteria of only scores of 60 and above.

The resulting function would look like:

DAVERAGE(A1:C45, “Score”, A47:C48)

and it would only calculate an average on those scores that are higher than 59.

For more tips and tricks for using Microsoft Excel, attend one of our Excel training classes. We look forward to welcoming you to Executive Training Solutions!

  • Share/Bookmark