Tuesday, 5 February 2013

Excel: How to show number in custom format

You are able to format Excel's cell items as you like. You can e.g. add custom texts to be shown with numbers. Typical case is to show numbers with units:
  1. Select the cell/cells you want to format:
    Context menu: Select Format Cells
    Shortcut: Windows ctrl + 1, Mac cmd + 1
  2. Select Number and Custom from the Category list.
  3. If you want to one decimal and unit, type following format code
    0.0" kg" or
    0.0" lb"
Following video demonstrates this in action:


Monday, 4 February 2013

How to create and use Excel's drop-down lists

Excel has a great feature to improve productivity by using drop-down list. If you have specific list of allowed entries to a cell, use drop-down list! In my example video below my list contains car brands. Creating list is easy:

  1. Type down your list items to Excel worksheet. It might be a good idea to put list to different worksheet than your main data.
  2. Activate cell where you want to use the list
  3. Select Data-tab from the Excel's Ribbon menu.
  4. Select Validate
  5. From the Allow drop-down list, select List
  6. Click the painting tool on the right hand sight of the Source box
  7. Select list items you typed in the first phase
  8. Press Enter
  9. Now you have drop-down list for selecting items in the cell you activated
Following video demonstrates this:



How to use Excel's absolute reference ($) and why

The normal way to reference Excel's cell is like "A1". This is called relative reference. When copying cell containing formula with relative reference, the reference will change depending on where to paste it. If you for example paste formula containing "A1" reference to one cell above, the new reference will be "B1". If you want to fix column and/or row of the reference so that it won't change when pasting, you can use so called absolute references. All you need to do is to add $ to the reference:
  • $A$1 means that both column and row are fixed
  • $A1 means that column is fixed but row reference will change when pasting formula
  • A$1 means that row is fixed but column reference will change when pasting formula
Following video demonstrates this:



Facebook & Twitter

Be aware about my new posts by following Excel4Everything on Facebook fan page and in Twitter. So Like and Follow and you won't miss any valuable tip or trick! -:)

Sunday, 3 February 2013

How to use Auto Filter -feature

An easy way to analyse data of large tables is to use Excel's Auto Filter -feature. With this feature you can define filtering criteria for each column of the table to show only the information that is most relevant to you.

Following video demonstrates the Auto Filter -feature



Saturday, 2 February 2013

How to use SUMIF()-function

Excel's SUMIF()-function is handy function for summing items matching specified criteria.
The syntax of the SUMIF is

SUMIF(range, criteria, [sum_range])
  • range: range of the cells to apply the criteria against
  • criteria: determines which cells to add
  • sum_range: this is optional parameter specifying which cells to sum. If omitted, the range is used as the sum_range
Following video demonstrates the usage of SUMIF:






Friday, 1 February 2013

How to highlight dates that are older than 70 days using Excel's Conditional Formatting

Following video demonstrates how to use Excel's conditional formatting to highlight dates that are older than 70 days. The formula takes into account that empty cells won't be highlighted. Following formula in D1's Conditional Formatting does the trick:

=AND(D1<>"";DAYS360(D1;TODAY())>=70)

Copy the formula to all cells in column D.

Here is a video demonstrating this: