Excel Digest

  Excel help for the rest of us

21 Feb

How to change Excel 2007 default font

To change Excel 2007 default font, follow these steps:

  1. Click the  Microsoft Office Button.XL7OffButton
  2. Click Excel Options (at the bottom right of the menu).
  3. XL7Font2

  4. Excel Options window will open.
  5. XL7Font1

  6. In Excel Options window (left side) click Popular.
  7. Under When creating new workbooks (see the red rectangle in the image above) , specify the required font face and font size.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to change Excel default font 
How to change Excel default file location 
How to change Excel 2007 default file location 
11 Feb

How to summarize data using a pivot table in Excel 2007

Pivot table is a feature of Excel that takes a long list of data, summarizes it into a shorter list that is more easy to analyze and assimilate.

The best way to explain how to create a pivot table in Excel 2007 is by using an example.

Below is a list of products, salesmen and total sales for a product / salesman.

XL7Pivot1

To create a pivot table to summarize the total sales by product, you perform the following steps:

  1. Prepare your data table and make sure you have columns headings.
  2. Select the data range or simply click on a cell within the range.
  3. In the Insert tab click Pivot Table. The window Create Pivot Table will open.
  4. XL7Pivot2

  5. Make sure that Table/Range points to your correct range then click OK.
  6. Now you will get a rectangular area to the left that represents the pivot table, and a field list to the right.
  7. XL7Pivot3

  8. In the Pivot Table Field List to the right select Product and Total Sales. The pivot table that summarizes total sales by product will be created as follows:
  9. XL7Pivot4

  10. If you select Salesman instead of Product, this is what you get: a pivot table that summarizes total sales by salesman.
  11. XL7Pivot5

  12. You can plot a chart from the pivot table as shown below.

XL7Pivot6

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to summarize data using a pivot table 
Excel 2007 User interface – the Insert Tab 
How to use the VLOOKUP Function 
21 Jan

EXCEL logical functions : the NOT function

The NOT function, one of many EXCEL logical functions, is used to evaluate a single logical condition, passed as an argument to the function.  It will return the opposite of that argument. I.e.:

  1. If the evaluated logical condition is TRUE, the function will return FALSE.
  2. If the evaluated logical condition is FALSE the function will return TRUE.

Syntax

NOT(logical)

Logical is a condition that evaluates to TRUE or FALSE.

Examples:

A1 = 6

B1 = 10

=NOT(A1>5) : returns FALSE.

= NOT(A1>10): returns TRUE.

=NOT(A1=B1): returns TRUE.

You can nest the NOT function within another logical function as follows:

=IF(NOT(A1=B1) ;”Valid numbers”;”Invalid numbers”)

If you put this formula in C1 for example, and A1 and B1 have the values shown above, then C1 will have the value: “Valid numbers”, because the NOT function will evaluate to TRUE.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
EXCEL logical functions : IF function 
EXCEL logical functions : the OR function 
EXCEL logical functions : the AND function 
07 Jan

EXCEL logical functions : the OR function

The OR function , one of many EXCEL logical functions, is used to evaluate a number of logical conditions, passed as arguments to  the function.  The function will return a single value of TRUE or FALSE.

Syntax

OR(logical1, logical2 ………)

logical1 and logical2 are conditions that evaluate to TRUE or FALSE. The first argument is required the second one is optional.

You can have up to 30 arguments in EXCEL 2003 and 255 in EXCEL 2007.

Examples:

A1 = 6

B1 = 10

=OR(A1>5;B1>10) : returns TRUE.

= OR(A1>10;B1>10):returns FALSE.

=OR(A1>5;B1>5): returns TRUE.

You can nest the OR function within another logical function as follows:

=IF(OR(A1>5;B1>10) ;”Valid numbers”;”Invalid numbers”)

If you put this formula in C1 for example, and A1 and B1 have the values shown above, then C1 will have the value : “Valid numbers”, because the OR function will evaluate to TRUE.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
EXCEL logical functions : the NOT function 
EXCEL logical functions : IF function 
EXCEL logical functions : the AND function 
05 Jan

EXCEL logical functions : the AND function

The AND function , one of many EXCEL logical functions, is used to evaluate a number of logical conditions, passed as arguments to  the function.  The function will return a single value of TRUE or FALSE.

Syntax

AND(logical1, logical2 ………)

logical1 and logical2 are conditions that evaluate to TRUE or FALSE. The first argument is required the second one is optional.

You can have up to 30 arguments in EXCEL 2003 and 255 in EXCEL 2007.

Examples:

Cell A1 = 6

Cell B1 = 10

Cell C1 :

=AND(A1>5;B1>10) : returns FALSE.

=AND(A1>5;B1=10): returns TRUE.

=AND(A1>5;B1>5): returns TRUE.

You can nest the AND function within another logical function as follows:

=IF(AND(A1>5;B1>10) ;”Valid Range”;”Invalid Range”)

If you put this formula in C1 for example, and A1 and B1 have the values shown above, then C1 will have the value : “Invalid Range”, because the AND function will evaluate to FALSE.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
EXCEL logical functions : the NOT function 
EXCEL logical functions : IF function 
EXCEL logical functions : the OR function 
02 Jan

EXCEL logical functions : IF function

The IF function, one of many EXCEL logical functions, is used to evaluate a logical condition, passed as an argument to the function.  The function will then return one of two values specified as the second argument or the third argument in the function. It will return the second argument if the test evaluates to TRUE or the third argument if the test evaluates to FALSE.

Syntax

IF(logical test , value if TRUE, value if FALSE)

Logical test:  is a condition that evaluates to TRUE or FALSE.

Value if TRUE : is the value to be returned by the function if  logical test evaluates to TRUE.

Value if FALSE : is the value to be returned by the function if  logical test evaluates to FALSE.

Examples:

A1 = 6

B1 = 10

=IF(A1>5; “Valid value”; “Invalid Value”): returns “Valid value”

=IF(A1>B1;A1-B1;B1-A1) : returns 4. This function will always return a positive number.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
EXCEL logical functions : the NOT function 
EXCEL logical functions : the OR function 
EXCEL logical functions : the AND function 
27 Dec

How to install and load the Analysis Toolpak in Excel 2007

To install and load the Analysis Toolpak in Excel 2007 follow these steps:

  1. Click the Office button. XL7OffButton
  2. Click Excel Options, the Excel Options window will open.
  3. XL7Addin1

  4. In the left pane of Excel Options click Add-Ins, The right pane will show a list of Active and Inactive  Add-ins.
  5. At the bottom of the right pane there is a combo box (drop-down) labeled Manage. Select Excel Add-Ins from the drop-down then click GO. The Add-Ins window will open.
  6. XL7Addin2

  7. In the Add-Ins window select the check box that says: Analysis ToolPak, then click OK.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to install and load the Analysis Toolpak 
How to generate a random number within a given range 
How to get the week number of a given date 
18 Dec

Hide rows based on cell value in Excel 2007

To hide rows based on cell value in Excel 2007 follow these steps:

  1. Prepare your data including a header row.
  2. In the Home tab, Editing group, click Sort and Filter then select Filter from the menu.
  3. Your data will now look like this:

XL7HideRows1

In this example we want to hide rows where the sales are greater than or equal to 2000. I.e. we will only show rows where the sales are less than 2000.

  1. Click on the filter arrow next to Sales.
  2. Point to Number Filters and select Less Than.
  3. XL7HideRows2

  4. The Custom AutoFilter window will open.
  5. XL7HideRows3

  6. Enter 2000 in the Combo box to the right and click OK.
  7. Now all rows with values greater than or equal to 2000 will be hidden. Here is the final result:

XL7HideRows4

Note:

If your data is text then you will see Text Filters instead of Number Filters in the menu.

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to hide rows based on a cell value 
Average cells based on multiple criteria in Excel 2007 
How to freeze panes in Excel 2007 
29 Nov

How to some times greater than 24 hours in Excel 2007

To sum times you usually use Excel built-in function SUM. If you have three cells A1, A2 and A3 formatted as time (hh:mm), and you have :

A1 = 02:30

A2 = 10:15

A3 has the formula: =SUM(A1:A2)

then A3 will have the correct values of 12:45.

However if your total times are greater than 24 hours then things get tricky.

If you have :

A1 = 15:30 and A2 = 10:15 then A3 will have 01:45 instead of 25:45. I.e. any hours beyond 24 hours are dropped.

To retain the hours beyond 24, you have two alternatives:

1. If you want to convert the hours beyond 24 into days then use this cell format : dd:hh:mm. The total in the previous example will be 01:01:45 ( 1day , 1 hour and 45 minutes)

2. If you want to keep the hours beyond 24 as is then use this cell format :[h]:mm. The total in the previous example will be 25:45.

In both cases the formula will remain as it is. Only the cell format differs.

See another example below:

XL7SumHrs

More posts on time:

http://www.exceldigest.com/myblog/2009/02/08/how-to-add-or-sum-times/
http://www.exceldigest.com/myblog/2008/12/04/how-to-create-a-custom-time-format/

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to add or sum times 
Calculate the difference between two times 
Add hours or minutes to a standard time 
24 Nov

Copy Excel 2007 data to a Word document

If you want to copy data from Excel to Microsoft word then follow these steps:

In  Excel

  1. Select the worksheet data (range) that you want to copy to a Word document.
  2. On the Home tab, Clipboard group, click

Print This Post Print This Post

Possibly Related Posts (automatically generated)

   
How to collect and paste multiple items 
How to check spelling using the dictionary 
How to automatically save a backup copy of a workbook 

© 2010 Excel Digest | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo