Tuesday, 23 July 2013

Filling data down multiple sheets

By , Director, Naturally Sales Ltd.

There are three ways to copy data and formulae down a spreadsheet.  

For small amounts of data you can use a copy and paste commands.  

Filling down a number of cells within one worksheet the easiest way is to drag the content.  
  • Select the cell you want to copy.  
  • At the bottom right corner of the cell there will be a small black square.  Hover the most over the square until the cursor becomes a black cross.  
  • Click the left mouse button and drag the content as far as you wish.  
If you wish to fill down over multiple sheets you can double click on the little black square. 

In Excel 2003 and Excel 2007, this will automatically fill the data as far as the lowest data in any column to the left. In Excel 2010 this will fill as far as the lowest data anywhere in the spreadsheet. This slight difference in behaviour can be tricky when upgrading to 2010.

We look at more Excel shortcuts in Introduction to Microsoft Excel.

Monday, 8 July 2013

Finding text within a cell part 2: the FIND function

By , Director, Naturally Sales Ltd.

Continuing our theme of finding text within a cell, we’ll look now at the FIND function.

The FIND function allows us to see where in a cell’s text a certain string is found. For example, if we look for the letter “t” within the word “Date”, it would return a “3”, because “t” is the third letter of “date”. It’s constructed like this:

=FIND(text,within_cell), or =FIND(“t”,A3) where A3 contains the word “Date”

If Excel is unable to find the text you’re looking for, it will return an error message.

In a future e-tip, we’ll look at how we can combine the FIND and IFERROR functions to see whether or not certain cells contain certain words.

Tuesday, 2 July 2013

Finding text within a cell: the IFERROR function

By , Director, Naturally Sales Ltd.


Many people are familiar with using VLOOKUP, INDEX/MATCH or similar lookup formulas to find cell values from a list. However, when we start trying to find a text string within a cell, or to see whether a cell contains certain text or not, things become more difficult.
Unfortunately, Excel doesn't give us a formula to ask it to find cells which contain certain text, along with other text, in the cell body. However, there are techniques we can use. This will be a 3-part e-tip as we address this useful topic. The first part is to learn the IFERROR function.

The IFERROR functions allows us to substitute an error value in a cell for something else of our choosing, and it works by wrapping around the formula you're creating which may (or may not) return an error value. If works as follows:

    =IFERROR(formula,value_if_error)


for example:

    =IFERROR(SUM(A1:A10),0)


...which will return the sum of A1:A10 unless that sum is an error value, in which case it will display 0 instead of the error.

Struggling to see how this will help you find certain text within a cell? Look out for part 2 coming in a fortnight's time as we take this a stage further.

Monday, 24 June 2013

Fixing errors in data sets

By , Director, Naturally Sales Ltd.


In large data sets,  particularly those downloaded from an external database, it's common to find errors which need tidying. Often these errors aren't errors at all, but simply the way Excel displays numbers within the spreadsheet layout. Today, we'll look at 2 such "errors" which have come up in real examples from recent students on our classes.


Error 1: the hash-tag error: ########

This is a common sight in downloaded spreadsheet data, and one which is easily dealt with. The problem here is not an error, but simply a number (including dates, currencies, percentages, etc.) which is too big for the cell. To view the cell content correctly, resize the column by double-clicking the mouse in the column headers between the one you're in and the one after (i.e. if your error is in column C, double-click between C and D) and the column will expand to fit the longest data.

Error 2: the E error: 5.35E+08
Another common sight, this "error" particularly occurs where you have a long number in a cell with more than 6 characters. It does not occur on dates or currencies, and the cause is the same as the previous example - the number is too big for the cell, yet Excel is attempting to give you a little more information about the number, showing how long the number is (after the +) and the first few digits (535). Much of the time, the method described in section 1 (above) will also work here. Sometimes, however, an extra step may be required. To display properly, the cells should be formatted as "numbers", whereas the default is "general". Before resizing the column, highlight the cells, right-click and format as a number (you may need to adjust the number of decimal places).

Saturday, 22 June 2013

Spreadsheet art

I discovered this fabulous chap recently, who uses Microsoft Excel to create works of art. I struggle to find a business use for this, but it's certainly an original application of spreadsheet skills. Take a look at this web page.

Friday, 21 June 2013

Saving your workspace

By , Director, Naturally Sales Ltd.

You're working with a number of different spreadsheets, you've taken the time to arrange them within the Excel window, everything's where you need it, and it's time to go home. There's no need to spend time re-arranging everything again tomorrow morning – Excel's handy “save workspace” functionality allows you to save Excel exactly as you see it now, and open it up again whenever you need to.

The “save workspace” button is on the View tab. This will create a new file which is effectively a record of how you have Excel set up at the time. It doesn't contain your actual spreadsheets – It contains their size and location information, for re-assembly when it's convenient for you.

Saturday, 15 June 2013

Presenting Data

By , Director, Naturally Sales Ltd.

Pivot tables are a great way to present complex data in a flexible way. Select your data, then click Insert-Pivot table. You can then build your pivot table quickly and easily. For more permanent and nicely-presented reports, such as a dynamic dashboard, it's better to use formulas to interpret your data which will update as new data is added.

We look at this in more detail in Advanced Microsoft Excel. Alternatively, we can customise training to your needs and include your own spreadsheets as exercises.