Bookmark and Share

Enter your email address:

Delivered by FeedBurner



Home Page













Subscribe here
Add to My Yahoo!
This page is powered by Blogger. Isn't yours?

Host your Web site with PureHost!


eXTReMe Tracker
  Web http://www.klippert.com



  Thursday, February 04, 2010 – Permalink –

Command Reference

2003-2007-2010

Those of you that are just now making the switch to the Ribbon world, will find this valuable.

ComputerWorld.com






See all Topics

Labels: , , ,


<Doug Klippert@ 3:09 AM

Comments: Post a Comment


  Tuesday, February 02, 2010 – Permalink –

Office Training

Suggestions

TechRepublic lists a number of areas that you might explore when training is needed for a new Office version.

Here are a few:

  • LINKS TO TIP SHEETS AND ARTICLES
    "Instead of telling your users to go out to Microsoft.com and do a search, put hyperlinks to the printer-friendly version of tip sheets and articles on your company's main portal page. Providing links to information you know they need will help you cover the training bases. And presenting the links on an internal web site they already use will show your users that it's okay to go outside of their four firewalls to learn something new. Include your favorite hyperlink in your signature line so it goes out in every e-mail you send."
  • ONLINE TRAINING
  • E-LEARNING
  • WEBCASTS
  • VIRTUAL TRAINING
  • MULTILINGUAL SCREENTIPS AND TRANSLATIONS
  • COMMAND REFERENCE GUIDES
  • OFFICE ONLINE AT WORK
10 ways to train your users on Office 2007 for free




See all Topics

Labels: , , , ,


<Doug Klippert@ 3:51 AM

Comments: Post a Comment


  Monday, February 01, 2010 – Permalink –

Tips for Word and Excel

Also some Windows hints


This site has useful information about:

  • Word
  • Word VBA
  • Excel
  • Excel VBA

    and
  • Windows
Tribbs.co.uk




See all Topics

Labels: ,


<Doug Klippert@ 3:29 AM

Comments: Post a Comment


  Wednesday, January 27, 2010 – Permalink –

Color Scales

Conditional colors

Here is some information on Conditional color scales in Office 2010.

Microsoft Excel 2010 Blog 1

Microsoft Excel 2010 Blog 2

Microsoft Excel 2010 Blog 3







See all Topics

Labels:


<Doug Klippert@ 3:40 AM

Comments: Post a Comment


  Tuesday, January 26, 2010 – Permalink –

Where's the Template

Find and/change storage spots



Describes the different template categories and the locations of templates in 2007 Office programs. Also describes the registry settings that control where to find your custom templates.

Support.Microsoft.com






See all Topics

Labels: , , ,


<Doug Klippert@ 3:44 AM

Comments: Post a Comment


  Wednesday, January 20, 2010 – Permalink –

Help ID's

VBA code

When you build a macro, you can call up information from the Excel Help file.
Ron DeBruin has the information needed through 2007.

Right clicking the Helpfile and choosing Properties will show the HP####### number in 2010.

Help Context IDs for Excel






See all Topics

Labels:


<Doug Klippert@ 3:58 AM

Comments: Post a Comment


  Wednesday, January 13, 2010 – Permalink –

Text Files to Excel

A hard way to do an easy job

Text files can be imported or just pasted into Excel. If you want to learn more about SQL statements and non-code coding, look at this blog:


"Excel doesn't have an easy way to append multiple text files into one worksheet through the user interface. From time to time I hear customers asking how to do this in an easy way. Do you have to use Access or VB code to solve this problem? No. There's a way to do it in Excel by using a simple SQL statement in the connection string."


MSDN Excel Blog





See all Topics

Labels:


<Doug Klippert@ 4:51 AM

Comments: Post a Comment


  Sunday, January 03, 2010 – Permalink –

Keyboard and Key Tips

Finger it out



2007 apps look different because of the ribbon, but the keyboard can still be used to speed up tasks.
Microsoft has an online course that may help

After completing this course you will be able to:
Accomplish tasks by using sequential shortcut keys, known as Key Tips, shown on the Ribbon.
Navigate around the Ribbon using the TAB key and arrow keys.
Accomplish tasks by using key combinations — keys you press at the same time - exactly as you've done in previous versions of Office.
Office.Microsoft.com/Training







See all Topics

Labels: , , , ,


<Doug Klippert@ 3:52 AM

Comments: Post a Comment


  Saturday, January 02, 2010 – Permalink –

New Calendars

Another year

Here are free Excel calendars for downloading.

Twelve months on one sheet or one month per tab.



DotXLS.com





See all Topics

Labels:


<Doug Klippert@ 3:21 AM

Comments: Post a Comment


  Wednesday, December 30, 2009 – Permalink –

Chart Null Data Gaps

Fill in the spaces



When creating a chart, data can sometimes be missing. You have a choice of leaving the cells empty or making them zero.

By default, an empty cell will leave gaps in your graph. Zero entries will send a line graph down to the base line.

One way to force Excel to interpolate the data is to enter the function =NA() in the empty cells.

Another way is to go to Tools>Options and choose the Chart tab.

Pick how you want data plotted - with gaps, as zero, or interpolated.






Microsoft also has this suggestion:

Gaps between the dates
"If the datasheet data for the category axis contains date number formatting, Microsoft Graph automatically uses a special type of axis in your chart called a time-scale axis.
A time-scale axis shows a blank category for dates for which you have no data. If you do not want to see these gaps — for example, if you have data for 1-Jan, 15-Jan, 3-Feb, 12-Feb, and 2-Mar, and you want to plot the days next to each other - you can change the time-scale axis to a standard category axis.
On the Chart menu, click Chart Options, click the Axes tab, and then click Category under Category (X) axis."

Note, For 2007+, on the Design tab, click Select Data in the Data area, and then click Hidden and Empty Cells on the Select Data dialog box.


[Edited entry from 12/30/2006}




See all Topics

Labels:


<Doug Klippert@ 3:14 AM

Comments: Post a Comment


  Tuesday, December 22, 2009 – Permalink –

Link Workbooks

Tie them together


Excel is a flatfile database, but you can do some Access kinds of relationships.


"A link is a formula that gets data from a cell in another workbook. When you open a workbook that contains links (a linking workbook), Microsoft Excel reads in the latest data from the source workbook or workbooks (updates the links).

Use links when you want to maintain information in a single workbook, but also use the information in other workbooks. For example, if your product prices change frequently, you might keep a master price list.
Other workbooks that use the price data in calculations, such as purchase orders, inventory valuations, or sales estimates, can create links to the price list workbook so calculations always use current prices. When prices change, you only have to enter the new prices in one place."


  1. Open both workbooks.

  2. In the source workbook, select the cells you want to link to and click the Copy button.

  3. Switch to the destination workbook and click the upper left cell of the range where you want the links.

  4. On the Edit menu, click Paste Special, and then click Paste Link.
Create and Manage Links




[Edited entry from 12/22/2006]



See all Topics

Labels:


<Doug Klippert@ 3:07 AM

Comments: Post a Comment


  Monday, December 14, 2009 – Permalink –

Have a Geeky Chrstmas

And a Functional New Year


It is rather late in the season, but this is a gift that gives all year long:
This hilarious clock is the perfect accessory for any Excel power user. Each numeral has been replaced with a suitable Excel function that will evaluate to that numeral.

We've used one function from as many function categories as possible to really provide a broad range of functions.



For instance:
=FACT(3) - The FACT() function returns the Factorial of a number. The Factorial of 10 is 10x9x8x7x6x5x4x3x2x1. This function is great for statisticians calculating combinations and permutations. In our case, the Factorial of 3 is 3x2x1 or 6

MrExcel.com:

Excel Function Clock


[Edited entry from 12/14/2006]




See all Topics

Labels:


<Doug Klippert@ 3:18 AM

Comments: Post a Comment


  Saturday, December 12, 2009 – Permalink –

Display Row, Column Headings

User Function



Here's an odd little use of functions.

If you want to display the Row number on a spreadsheet, the formula
=Row()
works just fine.
You could then hide the Row and Column headings and format the Row numbers any way you want. If a Row is deleted the numbers will automatically update.

Column headings are a little harder. The formula =Column() will show the number of the Column, not the letter, i.e. "2" instead of "B".

The following formula extracts the Column letter:

=SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","")


To break it down:

=ADDRESS(row_num,column_num,abs_num)

This finds the address at Row number "1" and current Column number. The abs_num of "4 " says make the result a relative address.

The formula will produce a result such as "AA1".

SUBSTITUTE(text,old_text,new_text)

This function looks at the address, i.e. "AA1".
It replaces the Row number character ("1") with a null or empty value ("").
The formula will produce a result such as "AA".

Also see Daily Dose of Excel by Dick Kusleika.

Dick mused:'

"Sometime before the year 3,000, Microsoft will hopefully increase the number of columns in Excel (Hey, I can dream can't I). The challenge before you is to write a function that converts a column number to its letter equivalent assuming columns go to ZZZZ. That’s about 450,000 columns - maybe more than I need."


Of course Office 2007-10 has taken it up to 16,284 columns.

[Edited entry from 12/10/2006]




See all Topics

Labels:


<Doug Klippert@ 3:08 AM

Comments: Post a Comment


  Wednesday, December 09, 2009 – Permalink –

Sparklines

Quick graphic reinforcement


A graph or chart can give the reader a visual representation of a great deal of data. Concepts or results can be more easily grasped by a well formatted graphic.

Charts, usually, take up more space in a document than is absolutely required.

Edward Tufte has come up with the concept of Sparklines (Sparklines:Intense, Word-sized Graphics)
.
These are small graphs about the same height and width as common words. They are not out of place in the text of a document.

Sparklines give the reader a snapshot of the data that quickly supports the material being discussed.



See:
Bisantz Sparklines

The Sparkmaker can create Sparklines for Word, Excel, or PowerPoint. They can also be produced in HTML.



[Edited entry from 12/6/2006]




See all Topics

Labels: , , ,


<Doug Klippert@ 3:25 AM

Comments: Post a Comment


  Sunday, December 06, 2009 – Permalink –

Curves

and More


Gabriels Horn from the Curve Bank
Famous curves from Cal State at LA. All your favorites from Astroid to Witch of Agnesi.

Here is a collection of Functions relating to astronomy from Stargazing.net.

Can't tell who might be interested in the obliquity of the equator given date in days after J2000.0. See: Astro VBA

Other Curve stuff:

DelphiForFun.org: converting polar coordinates to Cartesian coordinates.
"Students of analytic geometry, (the kind that combines algebra and geometry), often work in one of two coordinate systems: Cartesian or Polar - and frequently must convert from one to the other.

The Cartesian system locates points on a plane by measuring the horizontal and vertical distances from an arbitrary origin to a point. These are usually denoted as a pair of values (X, Y).

The Polar system locates the point by measuring the straight line distance, usually denoted by R, from the origin to the point and the angle of an imaginary line from the origin to the point, θ, (Greek letter Theta), measured counterclockwise from the positive X axis."


[Edited entry from 12/2/2006]




See all Topics

Labels:


<Doug Klippert@ 3:00 AM

Comments: Post a Comment


  Friday, December 04, 2009 – Permalink –

Password Background

Unencrypted

Alan Myrvold has written a background article on how Office handles passwords and what password strength means.

"Word, Excel, and PowerPoint have been able to password protect documents for several versions by setting the 'password to open'. What we felt could be improved was the ability to enforce password strength rules, similar to what may be required when logging into your computer at work."






Enabling password rules for Office 2010




See all Topics

Labels: , ,


<Doug Klippert@ 3:51 AM

Comments: Post a Comment


  Sunday, November 29, 2009 – Permalink –

New Conditional Formatting

Much more capabilities


Pre-2007 Excel was limited to only 3 conditions. The new Office is more generous and versatile.
Here are some of the features:



Format all cells based on their values
Use this to create a data bar, 2-color or 3-color color scale, or icon set rule.
Format only cells that contain:
Use this to create the Excel 2003-style rules and more (format cells greater than, less than, greater than or equal to, less than or equal to, equal to, not equal to, between, not between). This is also the entry point to create rules of type: specific text, date occurring, blanks, non-blanks, errors, non-errors.
Format only top or bottom ranked values:
Use this to create top n, top n%, bottom n, bottom n% rule types.
Format only values that are above or below average:
Use this to create above average, below average, 1 or 2 or 3 standard deviation above, or 1 or 2 or 3 standard deviation below rule types.
Format only unique or duplicate values:
Use this to create rules that format unique or duplicate values.
Use a formula to determine which cells to format:
Use this to create Excel 2003-style rules where you can enter a formula to determine whether a format should be applied.


2007+ Conditional Formatting


[Edited entry from 11/28/2006]




See all Topics

Labels:


<Doug Klippert@ 3:46 AM

Comments: Post a Comment


  Tuesday, November 24, 2009 – Permalink –

Formatting Overview

Looking good


The judicious use of formatting can make data easier to understand as well as pleasant to see.
Scott Lowe put together a series of articles on how to format data in Excel.

The Articles are on TechRepublic.com

Anatomy of Excel formatting: Part 1
  • Boldface, italicize and underline cell content
  • Change the size and font of your text
  • Apply a default Excel style (i.e. dollar, percent, etc) to cells
  • Use date and time formatting in your spreadsheet
  • Apply shading
Anatomy of Excel formatting: Part 2
  • Apply borders
  • Resize rows
  • Resize columns
Anatomy of Excel formatting: Part 3
  • Text formatting
  • Justify cell contents
  • Change the direction of the text in your spreadsheet
  • Word wrap text
Anatomy of Excel formatting: Part 4
  • Automatically format cells based on their contents
  • Change the margins for your printed page
  • Add a header and footer to your printer spreadsheet


[Edited entry from 11/20/2006]



See all Topics

Labels:


<Doug Klippert@ 3:37 AM

Comments: Post a Comment


  Sunday, November 15, 2009 – Permalink –

Color News

A multidiscipline subject


Here is a study about how color effects a reader's choice of concentration.

It was intended for newspaper publishers, but the same knowledge can be used in Web design, PowerPoint, or any other reporting application. Word and Excel will also benefit.

Color, Contrast, and Dimension in News Design

ColorProject

The Poynter Institute is a school for journalists, future journalists, and teachers of journalists.
Poynter.org



[Edited entry from 11/8/2006]




See all Topics

Labels: , , , , , , ,


<Doug Klippert@ 3:01 AM

Comments: Post a Comment


  Thursday, November 05, 2009 – Permalink –

Change Code to Comments

Fast solution


When you're testing procedures, you can temporarily convert a block of VBA code to comments that will be ignored during a trial run.

Doing so manually by inserting an apostrophe before each line of code can be a real chore.

To simplify this task,
  1. Open any module in the Visual Basic Editor (VBE)
  2. Choose View >Toolbars>Edit from the menu bar to display the Edit toolbar.
  3. Select the lines of code that you want to turn into comments.
  4. Click the Comment Block button on the Edit toolbar (it's the sixth button in from the right end of the toolbar).
Each line of the selected code is now preceded with an apostrophe. To convert the comments back to executable code, select the appropriate lines and click the Uncomment Block button, which is immediately to the right of the Comment Block button.



[Edited entry from 10/27/2006]


See all Topics

Labels: , , ,


<Doug Klippert@ 3:39 AM

Comments: Post a Comment


  Wednesday, November 04, 2009 – Permalink –

Paste is Special

Versatile functions


If the data you brought into Excel comes through as text rather than numbers, Paste Special can fix it.

  1. Go to an empty cell.
  2. Copy it
  3. Select the "corrupted" data.
  4. Go to Edit>Paste Special and choose Add.
This works better than multiplying by one. Empty cells remain empty


What's So Special About "Paste Special"?

Excel Paste Special function

Pasting Using Paste Special



[Edited entry from 10/27/2006]

See all Topics

Labels:


<Doug Klippert@ 3:04 AM

Comments: Post a Comment


  Thursday, October 29, 2009 – Permalink –

Hep Me

It's EZ


Thomas Brunt's Outfront.net has a number of web developer tips.

Shirley Wood wrote an article about "Spell checking your web site"

FrontPage uses the same dictionary as Word and Excel.

A spell checker, however, only goes so far:


Eye halve a spelling checker
It came with my pea sea
It plainly marcs four my revue
Miss steaks eye kin knot sea.
Eye strike a key and type a word
And weight four it two say
Weather eye am wrong oar write
It shows me strait a weigh.
As soon as a mist ache is maid
It nose bee fore two long
And eye can put the error rite
It's rare lea ever wrong.
Eye have run this poem threw it
I am shore your pleased two no
Its letter perfect awl the weigh
My checker tolled me sew.


[Edited entry from 10/14/2006]




See all Topics

Labels:


<Doug Klippert@ 3:11 AM

Comments: Post a Comment


  Sunday, October 25, 2009 – Permalink –

Hep Me

Help topic locations


This from Ron de Bruin:



"Using the Help Context IDs

To make use of this file(s), locate the help topic of interest and make a note of its context ID.

Then, write a VBA subroutine that displays the topic.

You can attach the subroutine to a button, or provide some other way for the user to execute the sub.

For example, if you'd like to display the help topic that show the Date/Time Functions List,
you'll find that the context ID for that particular topic is 5199659.

The following VBA procedure displays that help topic."


Sub ShowHelp()
Application.Help "XLMAIN" & Val(Application.Version) & ".CHM" ,5199659
End Sub


Help Context IDs for Excel

[Edited entry from 10/15/2006]




See all Topics

Labels:


<Doug Klippert@ 3:06 AM

Comments: Post a Comment


Export Formatted Sheets

Access to Excel


Access provides an easy way to export data to Excel through the Office Links feature.

To use this feature, simply select a relevant database object and choose Tools>Office Links> Analyze It With Excel.

The worksheet Excel creates includes some minor formatting applied to the field headings that appear in row 1. Some formatting in your original Access database affects the worksheet cell formatting as well. For example, if you're exporting from a datasheet, gridline and font attributes are carried over to Excel. If you use the Office Links feature to export data behind a form, text box shading and font properties are applied.

The final result in Excel may not exactly match your Access data; however, you'll probably find that less work is required to get your Excel version of the data into an easily readable state.

In Office 2007-10 it's External Data>Excel




[Edited entry from 10/10/2006]




See all Topics

Labels: ,


<Doug Klippert@ 3:05 AM

Comments: Post a Comment


  Thursday, October 22, 2009 – Permalink –

Move Using Alt

One sheet to another



To move data from one worksheet to another, highlight the data.

Hold down the ALT key and move the mouse until the pointer arrow is on the border of the selection.

Drag the selection down to the destination worksheet tab.

When the arrow touches the tab, Excel switches to the desired worksheet.

Now drag the selection to the correct position. Let go of the mouse and then the ALT key.

To copy data hold down the CTRL+ALT keys and perform the steps above.

BTW the screen will not scroll while you hold the ALT key down.


[Edited entry from 10/6/2006]




See all Topics

Labels:


<Doug Klippert@ 3:55 AM

Comments: Post a Comment


  Saturday, October 17, 2009 – Permalink –

Shortcut Borders

Keyboard trick


Use Ctrl+1 to bring up Excels Formatting dialog box. Shift+B will take you to the Borders tab.

Now you can use the following key strokes (2002+):

ALT+T
Apply or remove the top border.
ALT+B
Apply or remove the bottom border.
ALT+L
Apply or remove the left border.
ALT+R
Apply or remove the right border.
ALT+D
Apply or remove the downward diagonal border.
ALT+U
Apply or remove the upward diagonal border.
ALT+H
Apply or remove the horizontal interior border.
ALT+V
Apply or remove the vertical interior border.
ALT+O
outlines the cells.
ALT+I
give interior (vertical and horizontal).
ALT+N
removes all borders.
ALT+C
brings up the color palette.



Shortcuts for Applying Borders

Ctrl+Shift+7 will outline a cell without having to display the Format dialog.


[Edited entry from 9/29/2006]




See all Topics

Labels:


<Doug Klippert@ 3:26 AM

Comments: Post a Comment


  Sunday, October 11, 2009 – Permalink –

Update Excel on the Web

Auto Republish


You can save an Excel file as a Web page and makes it easy to update data in a worksheet that has already been saved to the Web.

Here is how to save an Excel file as a Web page and set it up it for automatic updates:
  1. Click Save As Web page from the File menu. (click the Office logo in 2007)

  2. In the Save As dialog box, click the Publish button. (click Publish, Create Document Workspace in 2007)

  3. Use the drop down arrow beside Choose to select what you want to publish.

  4. In the File name field, enter a file name.

  5. Place a check beside Auto Republish every time this worksheet is saved. This way the data will be updated each time you make changes to the worksheet.

  6. Select Open published page in Web browser to view the data in your Web browser after you click Publish.

  7. Click Publish.
Lockergnome.com:
 Save Excel as Web Page

DevX.com:
 Four Ways to Use Excel on the Web

Penn State:
 Interactive Excel on the Web




[Edited entry from 9/21/2006]



See all Topics

Labels:


<Doug Klippert@ 3:46 AM

Comments: Post a Comment


  Thursday, October 08, 2009 – Permalink –

Copy Paste

Excel tables


One way to create a new table in an Access database from information included in an Excel spreadsheet is to select the pertinent data on the spreadsheet, including the field names.

Copy the selection (Edit>Copy, or CTRL+C)

Switch back to Access .

With Tables objects being shown in the database window, choose Edit>Paste, or use the CTRL+V shortcut.

Access will ask if the first row contains the field names and then will paste the information as a new database table.

[Edited entry from 9/16/2006]




See all Topics

Labels: ,


<Doug Klippert@ 3:44 AM

Comments: Post a Comment


  Wednesday, September 30, 2009 – Permalink –

When 28 is 30

How long is a month?


When you use the banker's DAYS360 function to calculate the number of days between two dates, you can get an odd answer.

If you use the DAYS360 function with a start date of February 28 and with an end date of March 28, a value of 28 days is returned.
You expect a value of 30 days to be returned for every full month. (12*30=360)

This behavior may occur if you use the U.S. method, also known as the NASD method, with the DAYS360 function.

To work around this behavior, use the European method with the DAYS360 function. With the European method starting dates and ending dates that occur on the 31st of a month become equal to the 30th of the same month. To use the European method with the DAYS360 function, use the following syntax:

=DAYS360(cell number of start date,cell number of end date,TRUE)

Using FALSE or omitting the third parameter uses the U.S. method

Support.microsoft.com
An unexpected value with the DAYS360 function


[Edited entry from 9/6/2006]



See all Topics

Labels:


<Doug Klippert@ 3:18 AM

Comments: Post a Comment


  Thursday, September 24, 2009 – Permalink –

Shut it All Down

Close the spreadsheet and Excel


As it comes out of the box, at this point, Excel 2007 is set to display spreadsheets on the task bar. No big deal 2003 did too.

If, however, you only have one workbook open and want the application to shut down when you close the book you must make a little change.

Just as before, you must deselect Windows in the Taskbar from the View Options.

In 2007 it is located by clicking on the logo icon, then choose Excel Options. The Windows entry is on the Personalize screen




[Edited entry from 8/29/2006]




See all Topics

Labels:


<Doug Klippert@ 3:42 AM

Comments: Post a Comment


  Thursday, September 17, 2009 – Permalink –

Lock the Barn

Protect your work



John Walkenbach has put together an FAQ on Workbook/Worksheet/VBA protection.
Spreadsheet Protection FAQ

The Microsoft Knowledge Base article KB 293445 Has a list of references to protection information.


Microsoft Excel provides multiple layers of protection to allow you to control who can access and change your data:
  • Worksheet protection: You can protect elements on a worksheet (for example, cells with formulas) from all user access, or you can grant individual users access to the ranges that you specify.
  • Workbook-level protection: You can apply protection to workbook elements, and you can protect a workbook file from being viewed and edited. If a workbook is shared, you can protect it from being returned to exclusive use and prevent the change history from being deleted.
... articles address some of the more frequently asked questions about workbook and worksheet protection in Excel:
  • How can I grant only a few users access to a range in my worksheet?
  • Why are users not allowed to edit the ranges that I established permissions for?
  • What new features are available in workbook protection?
  • Why don't the permissions that I set on ranges in my worksheets carry over to Windows 98 computers?
Here is more information
Overview of security and protection in Excel



[Edited entry from 8/20/2006]



See all Topics

Labels:


<Doug Klippert@ 3:41 AM

Comments: Post a Comment


  Saturday, September 12, 2009 – Permalink –

Declaring Multiple Variables

Declare each one


When setting up a macro in VBA, if you want to declare multiple variables in one line of code, be sure to specify the type for each variable, even if the variables are the same type. Avoid code like the following:

Dim strFName, strLName, strMI As String

In such a case, only the last variable, strMI, is actually declared as a String type. The first two variables are designated by default as Variant data types.

To correctly declare the three variables, you would use the statement:

Dim strFName As String, strLName As String, strMI As String



[Edited entry from 8/14/2006]




See all Topics

Labels: , , ,


<Doug Klippert@ 3:52 AM

Comments: Post a Comment


  Friday, September 11, 2009 – Permalink –

AutoShapes

Drawing bar objects



Kim Hedrich has put together a series of basic articles on AutoShapes for TechTrax.

AutoShapesPart 1 - How to draw circles, ovals, squares and rectangles; also modifying fill and line colour

AutoShapes Part 2 - Fill Effects

AutoShapes Part 3 - Shadows and 3-D

AutoShapes - Text Inside a Shape




[Edited entry from 8/13/2006]




See all Topics

Labels: , , ,


<Doug Klippert@ 3:09 AM

Comments: Post a Comment


  Thursday, September 10, 2009 – Permalink –

Trouble with Save?

Also great notification service



You may experience issues when you try to save a Microsoft Excel file if one or more of the following conditions are true:
  • You save an Excel file to a network drive where you have restricted permissions.
  • You save an Excel file to a location that does not have sufficient drive space.
  • The connection to the Excel file has been lost.
  • There is a conflict with an antivirus software program.
  • You save an Excel file that is shared.
  • The 218-character path limitation has been exceeded when you save an Excel file.
  • The Transition Formula Evaluation feature is turned on in Excel.
  • The file was created from a template that contains embedded objects.

How to troubleshoot errors when you save Excel files. KB 271513.
Receive Free Email Alerts every time Microsoft Publishes NEW Support or Knowledge Base Articles! kbAlertz.com is an e-mail notification system that scans the entire Microsoft Knowledge Base every night, and e-mails you when updates or additions are made to the technologies, you subscribe to.
kbAlertz [Edited entry from 8/12/2006] See all Topics

Labels:


<Doug Klippert@ 3:49 AM

Comments: Post a Comment


  Wednesday, September 02, 2009 – Permalink –

Dynamic Tabs

Change tab names automatically


Changing the names of tabs is easy, just double click the tab or right click and choose rename.

Allen Wyatt has a small piece of code that will automatically update the tab name based on the value of a cell in the spreadsheet.


Sub myTabName()
ActiveSheet.Name = ActiveSheet.Range("A1")
End Sub

Allen also has some error checking code on his site:

Dynamic Worksheet Tabs


Dick Kusleika suggests another way using a change event:

Naming a sheet based on a cell


[Edited entry from 8/3/2006]



See all Topics

Labels:


<Doug Klippert@ 6:28 AM

Comments: Post a Comment


  Tuesday, August 25, 2009 – Permalink –

Charting Tools

Sample graphs


Ed Ferrero has a number of sample Excel charts and tools.

One he calls a Wind Rose:


How to build a wind rose. Converts compass directions to degrees and radians, and plots a nice-looking chart.



Ferrero Consulting Pty Ltd:
EdFerrero.com/Charting


[Edited entry from 7/26/2006]




See all Topics

Labels:


<Doug Klippert@ 3:03 AM

Comments: Post a Comment


  Saturday, August 22, 2009 – Permalink –

Self Help

Get started in the right direction


The Office of Technology Services of Towson University, located in Towson, Md., provides Self-Help Training Documents for many applications.

They are available for many levels of knowledge. They’re clean, clear, and concise.
  • Access

  • Adobe Acrobat

  • Dreamweaver

  • Excel

  • FrontPage

  • Microsoft Office Tools

  • Outlook

  • Outlook Web Access

  • PowerPoint

  • Publisher

  • Visio

  • Windows

  • Word Art

  • Word
Tech Docs



[Edited entry from 7/21/2006]



See all Topics

Labels: , , , , , , , ,


<Doug Klippert@ 3:03 AM

Comments: Post a Comment


  Thursday, August 20, 2009 – Permalink –

Still More Functions

Never Enough


Laurent Longre Has put together an Excel add-in with 65 more functions.

Here are a few you might find useful:


CHBASE


converts a value from a base into another base.

EASTERDATE


date of Easter Sunday for a given year

FORMULATEXT


returns the formula of a cell

MMAX


returns the N highest numbers of a range or an array

NBTEXT


converts a positive number into spelled-out text (supports 13 languages)

UNIQUEVALUES


returns the unique items of a range or an array

MOREFUNC.XLL, 65 add-in worksheet functions

[Edited entry from 7/18/2006]




See all Topics

Labels:


<Doug Klippert@ 3:12 AM

Comments: Post a Comment


  Friday, August 14, 2009 – Permalink –

Digital Signatures

How do I know it's real?


If you find a need to provide some sort of certification that your document has not been tampered with and is the rel thing, you might consider a digital signature.

This Microsoft Support article discusses the process.
What is a digital certificate?

What is a digital signature?

What occurs when I use a digital signature?

What Word files can I sign?

How can I obtain a digital signature?
  • Method 1: Obtain a digital certificate from a certification authority
  • Method 2: Create your own digital certificate
    Description of digital signatures and code

    Here's information for Excel.

    Digital Signatures for Excel


    [Edited entry from 7/11/2006]


    See all Topics

    Labels: ,


    <Doug Klippert@ 3:55 AM

    Comments: Post a Comment


      Thursday, August 13, 2009 – Permalink –

    Scroll Restrictions

    Without Protection


    You can protect a spreadsheet so that data is shielded from inadvertent entries.
    There is another way to set up a scroll area that does not involve protection.
    Open the Control Toolbox (right-click any existing tool bar) and click on the Properties icon.

    In the Scroll Area text box, type the scroll area range, or type the defined Name for the range.
    To cancel the Scroll Area restricted range, clear the Scroll Area text box.



    If you are using Office 2007, the Property icon is on the Developers tab.



    Multiple areas can be selected using Protection, but only one area is allowed using the Scroll Property.



    [Edited entry from 7/10/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:28 AM

    Comments: Post a Comment


      Monday, August 10, 2009 – Permalink –

    Military Clipart

    Thousands of items


    If you find the need for Armed Forces photos and art, here is the place to look.
    Regardless of your opinion about their present mission, the military does present a spectacular visage.



    "06/17/06 - An F/A-18E Super Hornet aircraft sits at the ready as storm clouds pass overhead aboard the Nimitz-class aircraft carrier USS Ronald Reagan (CVN 76) in the Philippine Sea June 17, 2006.
    (U.S. Navy photo by Photographer's Mate 2nd Class Aaron Burden)

    All of these files are in the public domain unless otherwise indicated. However, we request you credit the photographer/videographer as indicated or simply "Department of Defense."


    HqDA.Army.Mil - Clipart


    [Edited entry from 7/7/2006]




    See all Topics

    Labels: , , , , ,


    <Doug Klippert@ 3:59 AM

    Comments: Post a Comment


      Wednesday, August 05, 2009 – Permalink –

    Large Text Files

    Split between worksheets


    While this problem is alleviated in Excel 2007 with its 1,048,576 rows by 16,348 columns, The old XL versions are still here.

    Text files with a large number of records are better handled in a program like Access. Having said that, there can be times that these lists must be imported into Excel. If the file has over 65,536 records, the data will not fit on a single worksheet.

    Here's a Microsoft Knowledge Base article with the macro code needed to bring oversized text data into Excel and split it into multiple worksheets:

    Sub LargeFileImport()
    
    'Dimension Variables
    Dim ResultStr As String
    Dim FileName As String
    Dim FileNum As Integer
    Dim Counter As Double
    'Ask User for File's Name
    FileName = InputBox("Please enter the Text File's name, e.g. test.txt")
    'Check for no entry
    If FileName = "" Then End
    'Get Next Available File Handle Number
    FileNum = FreeFile()
    'Open Text File For Input
    Open FileName For Input As #FileNum
    'Turn Screen Updating Off
    Application.ScreenUpdating = False
    'Create A New WorkBook With One Worksheet In It
    Workbooks.Add template:=xlWorksheet
    'Set The Counter to 1
    Counter = 1
    'Loop Until the End Of File Is Reached
    Do While Seek(FileNum) <= LOF(FileNum)
    'Display Importing Row Number On Status Bar
    Application.StatusBar = "Importing Row " & _
    Counter & " of text file " & FileName
    'Store One Line Of Text From File To Variable
    Line Input #FileNum, ResultStr
    'Store Variable Data Into Active Cell
    If Left(ResultStr, 1) = "=" Then
    ActiveCell.Value = "'" & ResultStr
    Else
    ActiveCell.Value = ResultStr
    End If
    
    'For Excel versions before Excel 97, change 65536 to 16384
    If ActiveCell.Row = 65536 Then
    'If On The Last Row Then Add A New Sheet
    ActiveWorkbook.Sheets.Add
    Else
    'If Not The Last Row Then Go One Cell Down
    ActiveCell.Offset(1, 0).Select
    End If
    'Increment the Counter By 1
    Counter = Counter + 1
    'Start Again At Top Of 'Do While' Statement
    Loop
    'Close The Open Text File
    Close
    'Remove Message From Status Bar
    Application.StatusBar = False
    
    End Sub


    Importing Text Files Larger Than 16,384/65,536 Rows

    Notice the code about 17 lines from the bottom of the macro.

    'For xl97 and later change 16384 to 65536.

    Also, after import, the data must be parsed. Use Data>Text to columns.




    If you have not worked with macros before, Dave McRitchie has a tutorial:

    Getting Started with Macros and User Defined Functions


    [Edited entry from 7/2/2006]



    See all Topics

    Labels:


    <Doug Klippert@ 3:10 AM

    Comments: Post a Comment


      Thursday, July 23, 2009 – Permalink –

    Excel VBA Help File

    Download from Microsoft


    Here is a downloadable compiled Help file covering the vagaries of Excel VBA.

    You can use this file without having to, necessarily opening the application.

    Excel 2003 VBA Language Reference



    [Edited entry from 6/16/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:56 AM

    Comments: Post a Comment


      Thursday, July 16, 2009 – Permalink –

    Access-Excel-XML-HTML

    Transfer data


    XML makes data transferable between applications.
    Here is a tutorial with downloadable files.
    Some simple guidance of how to transfer data from Excel or Access into HTML web pages using XML data files. VBA programs can be used to export data tables from Excel or Access into simple XML files. There are several examples of using different methods to display the XML and XSL files on web pages in order to quickly share your data with others.


    An introduction to Excel and XML data files

     
    Also:
    Some nice photos and calendar layout:
    Monthly calendar with photos


    [Edited entry from 6/8/2006]




    See all Topics

    Labels: , ,


    <Doug Klippert@ 5:43 AM

    Comments: Post a Comment


      Wednesday, July 15, 2009 – Permalink –

    Restore Defaults

    Office 2003 redo


    To reset the original settings in Office 2003, follow these steps.
    Make sure that you back up your files before you follow these steps.
    1. 1. Start any Office 2003 program.
    2. On Help menu, click Detect and Repair.



    3. Click to select the Discard my customized settings and restore default settings check box, and then click Start.
    4. Quit the application, and then click Ignore.
    5. Click OK when you receive the following message:
      Reset of setting to default succeed.

    Microsoft Office Diagnostics in 2007 replaces Diagnose and Repair:

    Howtogeek.com


    [Edited entry from 6/7/2006]


    See all Topics

    Labels: , , , , ,


    <Doug Klippert@ 3:22 AM

    Comments: Post a Comment


      Sunday, July 12, 2009 – Permalink –

    Plain Numbers

    I'd Like to Make It Clear


    Plain Figures is a method of transforming statistical and financial data into figures, tables and graphs that people readily understand.

    Have you ever:
    • squinted your eyes trying to see the numbers in a PowerPoint presentation?

    • scratched your head at a charity leaflet with an indecipherable pie chart titled 'Where your donation goes' ... and set it aside?

    • missed discussion at a meeting because you were busy trying to figure out the figures?

    • put aside a graph or table, thinking "I'm not good with numbers."?

    Then you know how important the clear display of numerical information can be. Common problems People have trouble using numerical information for many reasons. Most commonly, authors don't know:
    • what to include: when unsure what numbers are important, people frequently display them all, overpowering the reader with irrelevance.

    • which format to use: the choice between text and table, table and chart, bar and pie.

    • how to use the technology effectively: computer software generates graphs easily, but the results hide your point behind incomprehensible chartjunk.

    • how to explain the information: selecting the right words for titles, columns and captions.

    Plain Figures is a partnership between Sally Bigwood, located in Wakefield, Yorkshire, UK, and Melissa Spore, who divides her time between Toronto and Saskatoon, Canada. Sally and Melissa are sisters and both have dual citizenship in the United States. PlainFigures.com [Edited entry from 6/4/2006] See all Topics

    Labels: , , ,


    <Doug Klippert@ 3:59 AM

    Comments: Post a Comment


      Wednesday, July 08, 2009 – Permalink –

    Polyglot Polynomials

    ToolPak Translator


    I was disappointed recently when I tried to look up Eric Desart's ToolPak translator. I found his site "niet beschikbaar."

    I won't use the boy and wet thumb story, but Ron de Bruin did spring up to save the day and make the download available.


    "Ever wanted an oversight of the Analysis-ToolPak Add-In functions, their descriptions, their arguments, their VBA and Procedure names, and all of this in your LOCAL language including translations versus the corresponding English names?

    This utility extracts this data from your LOCAL MS Excel edition.

    As such this table can be generated for ANY LANGUAGE EDITION of MS Excel, even when this language is not yet integrated in the utility."


    Analysis ToolPak Translator


    [Edited entry from 5/31/2006]




    See all Topics

    Labels: ,


    <Doug Klippert@ 3:59 AM

    Comments: Post a Comment


      Tuesday, June 30, 2009 – Permalink –

    Thirtieth Condition Formatting

    Three is not always enough


    Pre-2007 Excel gives the user the ability to specify up to three conditions under Format>Conditional Formatting.

    If that is not enough, Frank Kabel and Bob Phillips of xlDynamic.com offer a free download that extends the conditions to 30!




    Extended Conditional Formatter

    Also see:
    Conditional Formatting (including 2007)

    [Edited entry from 5/15/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:05 AM

    Comments: Post a Comment


      Sunday, June 21, 2009 – Permalink –

    Clip Art at Home

    Install more


    Do you remember all of the clip art that was available locally with Office XP?

    When you have an Internet connection, you have access to the Office Online collection, but if you would like more clip art installed on your machine:


    A small amount of sample clip art images was included The 2007 Office systems and Office 2003 and is part of the "local collection" that is searched when you do not have Internet access to the Microsoft Office Online Clip Art and Media Web site. Office 2003 no longer included a media content CD with additional clip art. However, the Microsoft Office XP Media Content CD can still be installed locally or on a network share.

    The Office XP Media Content CD contains approximately 35,000 clips that are a subset of the clips that are available on the Microsoft Office Online Clip Art and Media Web site. The Office XP Media Content CD was included with Microsoft Office XP Professional, Microsoft Office XP Standard, and Microsoft Publisher 2002 Deluxe Edition.

    To install the contents of the Office XP Media Content CD on a computer, follow these steps:
    1. Exit all programs that are running

    2. Insert the Office XP Media Content CD into the CD drive or into the DVD drive
      (Hold down the SHIFT key to prevent the program from automatically starting. If Microsoft Windows Installer automatically starts, click Cancel)

    3. Click Start, click Run, type the following command, and then click OK:
      msiexec.exe /i CD_drive:\CAG.MSI ADDLOCAL=ALL /qb
    (CD_drive is the letter of the drive that contains the Office XP Media Content CD)
    Support.Microsoft.com
    How to add clip art to Clip Organizer in a 2007 Office system and in Office 2003



    [Edited entry from 5/5/5006]



    See all Topics

    Labels: , , , , , , ,


    <Doug Klippert@ 3:53 AM

    Comments: Post a Comment


      Wednesday, June 17, 2009 – Permalink –

    VBA Variable Problems

    Explicit protection


    It's good practice to always use the Option Explicit statement in the beginning of your code modules to ensure that all variables are unambiguously declared in your procedures.

    With this process in place, you'll receive a "Variable not defined" error if you try to execute code containing undeclared variables. Without this statement, it's possible to mistype variable names, which would be interpreted as new Variant type variables.

    This could severely impact the results of your code, and you might not ever know it. If you do find a problem, tracking down where the error is can be a chore.

    Although you can manually type the statement into your modules, changing a setting in Access can ensure that the statement is always added to new modules.

    1. Open a module (start the VBA Editor)

    2. Choose Tools>Options from the menu bar

    3. On the Editor tab of the Options dialog box, select the Require Variable Declaration check box in the Code Settings panel

    4. Finally, click OK




    [Edited entry from 5/2/2006]



    See all Topics

    Labels: , , ,


    <Doug Klippert@ 3:33 AM

    Comments: Post a Comment


      Sunday, June 14, 2009 – Permalink –

    Julian Dates

    Gregorian to/from Julian



    Julian dates refer to the number of days from the first of the year and the number of days until the end of the year.


    The year -45 has been called the "year of confusion," because in that year Julius Caesar inserted 90 days to bring the months of the Roman calendar back to their traditional place with respect to the seasons. This was Caesar's first step in replacing a calendar that had gone badly awry. Caesar created a solar calendar with twelve months of fixed lengths and a provision for an intercalary day to be added every fourth year. As a result, the average length of the Julian calendar year was 365.25 days.

    The Gregorian (Pope Gregory XIII) calendar is based on a cycle of 400 years, which comprises 146,097 days. Since 146,097 is evenly divisible by 7. Dividing 146,097 by 400 yields an average length of 365.2425 days per calendar year, which is a close approximation to the length of the tropical year. The Gregorian calendar accumulates an error of one day in about 2500 years.


    Calendars by L. E. Doggett


    From Chip Pearson's site CPearson.com:


    "Many applications (especially mainframe systems) store dates in the Julian format, which is a 5-digit number, consisting of a 2-digit year and a 3-digit day-of-year number. For example, 24-August-1999 is stored as 99236, since 24-August is the 236th day of the year. Excel does not support Julian dates directly, but you can use them with only a few fairly simple formulas.

    Converting A Standard Date To A Julian Date

    The formula below will convert a standard Excel date in A1 to a Julian Date.

    =RIGHT(YEAR(A1),2)&TEXT(A1-DATE(YEAR(A1),1,0),"000")

    This formula takes the 2 right-most characters of the YEAR of the date in A1, and then appends the number of days between the date in A1 and the 0th day of that year. The TEXT function formats the day-of-year number as three digits, with leading zeros if necessary.

    Converting A Julian Date To A Standard Date


    The formula below will convert a Julian date to a standard Excel date.

    =DATE(IF(0+(LEFT(A1,2))<30,2000,1900)+LEFT(A1,2),1,RIGHT(A1,3))

    If the year digits of the Julian date are less than 30 (i.e., 00 to 29), the date is assumed to be a 2000 century year. If the year digits of the Julian date are greater than or equal to 30 (i.e., 30 to 99), the date is assumed to be a 1900 century year. This formula works by taking advantage of the fact that the DATE function can handle days beyond the "normal" days in a month. For example, DATE correctly computes 100-Jan-1999 to be 10-April-1999.

    These Julian dates must have the leading zero or zeros for years between 2000 and 2009. For example the 123rd day of 2000 must be entered as 00123. Format the cell as TEXT before entering the data, or enter an apostrophe before the Julian date -- e.g., '00123. This will prevent Excel from treating the Julian date as a number and suppressing the leading zeros."


    US Naval Observatory has this definition (and a calculator):

    Julian dates (abbreviated JD) are simply a continuous count of days and fractions since noon Universal Time on January 1, 4713 BCE (on the Julian calendar). Almost 2.5 million days have transpired since this date.


    April 29, 2004 at 6:00 AM would be 2453854.75

    [Edited entry from 4/30/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:41 AM

    Comments: Post a Comment


      Monday, June 01, 2009 – Permalink –

    Count the Colors

    I bid 3 Red



    What if you would like to know the color name or to count or to sum cells by a fill color? There is no built-in function in Excel.

    In this case you can make a User Defined Function (UDF).

    Here is the sample UDF that you can use to analyze, count and sum the cells depending on their filled color.

    These UDF function can be used in the same way as built-in functions that you can use in the worksheet.

    • AnalyzeColor Returns the color name, the color index or color index in RGB.
      Syntax: AnalyzeColor(color range, optional; "text" or "index" or "rgb". When it is omitted "text" is used.)


    • CountColor Counts the number of cells depending on their filled color.
      Syntax: CountColor(color range, target range)


    • SumColor Adds all the numbers in a range of cells depending on their filled color.
      Syntax: SumColor(color range, target range)
    Sum and Count by fill color

    Chip Pearson:
    Working with Cell Colors


    [Edited entry from 4/11/2006]


    See all Topics

    Labels:


    <Doug Klippert@ 3:13 AM

    Comments: Post a Comment


      Friday, May 29, 2009 – Permalink –

    Report Manager

    Define Print & View Areas


    The Excel 2000 Report Manager add-in is not included with Excel 2002+, as was the case with previous versions of Excel.

    To use it, you must first download the Excel 2002 Report Manager add-in from Downloads on Microsoft Office Online. Follow the instructions on the Downloads page to install the Report Manager.
    (For 2007 see Support.Microsoft.com)

    from Microsoft Office Online


    "Using the Report Manager add-in program, you can combine worksheets , views (a set of display and print settings that you can name and apply to a workbook. You can create more than one view of the same workbook without saving separate copies of the workbook.), and scenarios (a named set of input values that you can substitute in a worksheet model.) into printable reports. For example, if you have a Best Case and a Worst case scenario, a Summary view, and a Details view, you can create a report that presents the Best Case scenario in the Details view and another report that presents the Best Case Scenario in the Summary view. Reports that you create are automatically saved with your workbook so that you can print them at any time."


    Note If the Report Manager is not available on the View menu after downloading the add-in, click Add-ins on the Tools menu, and then select Report Manager.

    You can use the Report Manager to do the following:

    Create a report for printing

    1. On the View menu, click Report Manager.
    2. Click Add.
    3. In the Report Name box, type a name for the report.
    4. In the Sheet box, click the sheet you want to use for the first section of the report.
    5. Do one of the following:
      • To use a view for the first section of the report, select the View check box, and then click the view in the View box.
      • To use a scenario for the first section of the report, select the Scenario check box, and then click the scenario in the Scenario box.
    6. Click Add to enter the view or scenario as a section in the Sections in this Report box.
    7. Repeat step 5 and 6 until you've created all of the sections you want in the report.
    8. To change the order of the sections, in the Sections in this report box, click the section you want to move, and then click either Move Up or Move Down.
    9. To number the pages of the report consecutively, select the Use Continuous Page Numbers check box.
    Note Microsoft Excel prints sections of a report in the order in which they're listed in the Sections in this report box.

    Edit a report for printing

    1. On the View menu, click Report Manager.
    2. In the Reports box, click the report you want to edit, and then click Edit.
    3. Do one or more of the following:
      • To add a new section, click the sheet, view, and scenario you want under Section to Add, and then click Add.
      • To delete a section, click the section in the Sections in this report box, and then click Delete.
      • To change the order of the sections, in the Sections in this report box, click the section you want to move, and then click either Move Up or Move Down.
      • To number the pages of the report consecutively, select the Use Continuous Page Numbers check box.
      Note Microsoft Excel prints sections of a report in the order in which they're listed in the Sections in this report box.

    Print a report

    1. On the View menu, click Report Manager.
    2. In the Reports box, click the report you want to print.
    3. Click Print.
    4. In the Copies box, type the number of copies you want to print.
    Also see: Template Wizard with Data Tracking


    [Edited entry from 4/9/2006]


    See all Topics

    Labels:


    <Doug Klippert@ 3:30 AM

    Comments: Post a Comment


      Tuesday, May 26, 2009 – Permalink –

    Name that Range

    How to use names in Excel


    Named ranges are one of the more powerful tools in Excel.

    Jan Karel Pieterse of JKP Application Development Services has written a tutorial that will help you understand this technique.

    Here are some of the chapter titles:

    • How To Define Range Names

    • How To Use Range Names

    • Absolute And Relative Addressing

    • The Context Of Names

    • Special Names

    • A Step Further: A Formula In A Defined Name

    • Dynamic Names

    • Passing Arguments To A Defined Name Formula

    • Bugs in Excel's Name Object
    Range Names in Excel


    [Edited entry from 4/5/2006]


    See all Topics

    Labels:


    <Doug Klippert@ 3:52 AM

    Comments: Post a Comment


      Tuesday, May 19, 2009 – Permalink –

    UDF is not a Baby Alien

    Things should to function


    Frank Rice has written a "show how" about creating functions that are not included in the box.


    "Excel allows you to create custom functions, called "User Defined Functions" (UDF's) that can be used the same way you would use SUM(), VLOOKUP, or other built-in Excel functions.
    The Excel user who wishes to use advanced mathematics or perform text manipulation is often seriously disappointed by Excel's limited library of formulas and functions. A UDF is simply a function that you create yourself with VBA.

    The following is a sample that is a good candidate for a UDF:
    Function CtoF(Centigrade)
    CtoF = Centigrade * 9 / 5 + 32
    End Function

    In the Worksheet you would enter something like:
    =CtoF(A1)


    frice's Weblog

    Here are some other links:

    Vertex42.com:
    User Defined Functions


    Support.Microsoft.com:
    Functions to Calculate Light Years



    [Edited entry from 3/27/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:38 AM

    Comments: Post a Comment


      Friday, May 15, 2009 – Permalink –

    Tabs with the Number of the Week

    Count to 52



    Excel no longer has a theoretical limit on the number of worksheets in a workbook. One common use of this ability is to add a worksheet for each week in the year.

    Here's a macro that does the trick:
    Sub YearWorkbook()
    Dim iWeek As Integer
    Dim sht As Variant
    Application.ScreenUpdating = False
    Worksheets.Add After:=Worksheets(Worksheets.Count), _
    Count:=(52 - Worksheets.Count)
    iWeek = 1
    For Each sht In Worksheets
    sht.Name = "Week " & Format(iWeek, "00")
    iWeek = iWeek + 1
    Next sht
    Application.ScreenUpdating = True
    End Sub

    ExcelTips.VitalNews.com:
    Naming tabs for weeks


    [Edited entry 3/21/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:56 AM

    Comments: Post a Comment


      Friday, May 08, 2009 – Permalink –

    Data from the Other Sheet

    Sometimes we must go next door


    Here is a discussion about how to use data that may be on a different worksheet, or another workbook.


    Getting data from other sheets can be very easy: or it can be very hard, it all depends on what you need to do. This article looks at some of the ways you can get data from other sheets.

    • The basics
    • Using the Indirect function
    • Back to the old school, XLM! (previous and next sheet)
    • VBA user defined functions (previous and next sheet)
    • Links
    Methods In Excel

    Also: BetterSolutions.com
    Cell References



    [Edited entry from 3/13/206]


    See all Topics

    Labels:


    <Doug Klippert@ 3:12 AM

    Comments: Post a Comment


      Wednesday, May 06, 2009 – Permalink –

    Who was that font I saw you with last night?

    That was no font, that was my typeface


    You can find the Fonts supplied with some Microsoft products
    Select a product name from the list to get a list of fonts supplied with that product.

    Microsoft's Typography is an interesting site to poke around in.

    Here are some books I use for reference material:

    Words into Type

    by Marjorie E. Skillin, Robert Malcolm Gay ISBN 0139642625


    Stop Stealing Sheep & Find Out How Type Works


    by Erik Spiekermann, E.M Ginger ISBN 0201703394


    The Elements of Typographic Style

    by Robert Bringhurst ISBN 0881791326

    A font can be defined as a collection of characters with the same style and size. A typeface is the design of the characters regardless of size or style. The terms are used interchangeably today.


    [Edited entry from 3/11/2006]




    See all Topics

    Labels: , , , , , ,


    <Doug Klippert@ 3:06 AM

    Comments: Post a Comment


      Thursday, April 30, 2009 – Permalink –

    Google from the Help Menu

    Search with Excel, Word, PowerPoint


    Where better to search the Internet for support on an Excel, PowerPoint, or Word problem than through the Help menu?

    Would you like to add Google to that menu?

    Ron de Bruin at rondebruin.nl has developed free add-ins that does just that.


    "Google Search 6.0/7.0 places a new sub-menu item under the Help menu of whatever program you call it from. When that item is selected, up pops a user-friendly interface. This allows a largely intuitive completion and execution of a Google Search.

    On clicking the Search button a lot goes on behind the scenes.
    • Your default (i.e. your usual) web browser is loaded and, without further instructions,
    • It's off to the Google Advanced Search Page.
    • It then fills in an Advanced Query to your specifications
    • Executes that query.
    • Once results are found (or not found) you are shown those results just as if you had carried out all of the steps of the process."

    [Edited entry from 3/5/2006] See all Topics

    Labels:


    <Doug Klippert@ 3:41 AM

    Comments: Post a Comment


      Thursday, April 23, 2009 – Permalink –

    Lookup, Down, and Sideways

    A very useful Excel feature


    Excel does not have "relational" tables like database applications such as Access.

    You, however, can make use of database functions including the ability to look up values in a table based on a value.

    You could, for instance look up a salesperson's records based on an employee ID.

    All 'Bout Computers has an article describing "Lookups".

    Using VLOOKUP, HLOOKUP, INDEX, and MATCH in Excel to interrogate data tables

    John Walkenbach has a book "Excel 2003 Formulas" with a 24-page chapter on Lookup functions and other database/list tricks.

    Chip Pearson talks about lookups on his site as well.

    Aaron Blood's site offers download files explaining lookup. See numbers 36, 37, and 44.

    One of the zipped Workbooks (number 35) Lookup.zip, is a study in lookup methodology.

    Daily Dose of Excel:
    VLookup on Two Comumns

    [Edited entry from 2/25/2006]




    See all Topics

    Labels:


    <Doug Klippert@ 3:58 AM

    Comments: Post a Comment


      Thursday, April 16, 2009 – Permalink –

    SpWebSheet

    No Excel needed



    Here's a site that lets you design and post spreadsheets on the web.
    "Keep your records, lists and spreadsheets in one place online. Easily slice, dice and share with others.

    With a free account, you can...
    • Access your spreadsheets from anywhere
    • Share your spreadsheets easily - just email the URL
    • Add spreadsheets to your weblog
    • FREE storage

    NumSum.com

    [Edited entry from 2/16/2006]


    See all Topics

    Labels: ,


    <Doug Klippert@ 3:14 AM

    Comments: Post a Comment


      Thursday, April 09, 2009 – Permalink –

    Excel-lent E-Mail

    Outlook, Excel, and VBA


    Ron de Bruin, Microsoft MVP - Excel, has put together a collection of VBA routines to make Excel e-mail friendly.

    See if these topics tempt you:

    Example Code for sending mail from Excel
    • Mail Workbook
    • Mail one Sheet
    • Mail more than one Sheet
    • Mail the Selection or range
    • Mail Every Worksheet with Address in cell A1
    • Mail sheet or sheets to one or more people
    • Mail range or sheet in the body of the mail (Send personalized email)
    • Mail a message to each person in a range with Outlook
    • Mail a message to each person in a range with CDO (no security warnings)
    • Sending a different file to each person in a range with Outlook
    • Zip the ActiveWorkbook and mail it with Outlook
    • Security (Prevent displaying the dialog to Send or not Send)


    Also Download Addins for Excel e-mail information

    Also see:

    John Walkenbach:
    Sending Personalized Email from Excel


    [Edited entry from 2/10/2006]




    See all Topics

    Labels: ,


    <Doug Klippert@ 3:23 AM

    Comments: Post a Comment


      Friday, April 03, 2009 – Permalink –

    Where Have All the Bytes Gone?

    Folder size list


    You can create a list in Excel of all the folders on a drive and their sizes.
    (The credit goes to Peter Beach, an Excel MVP.)

    Get Folder Size code

    1. Copy the code and open Excel.
    2. Press Alt+F11 and, if necessary, on the Visual Basic Editor menu, Insert>Module
    3. Paste the code.
    4. You could use Alt+Tab to bring the worksheet forward.
    5. Go to Tools>Macros and run the Macro named "GetFolderListing".

    It may take a little time to complete. BTW, if you feel geeky enough, here is a picture of some of the year 2005 MVPs from John Walkenbach's site. [Edited entry from 2/5/2006] See all Topics

    Labels:


    <Doug Klippert@ 3:54 AM

    Comments: Post a Comment


      Monday, March 30, 2009 – Permalink –

    Linked Table Problems

    Lost functionality


    Have you found that you cannot update linked Excel tables in Access 2003?


    If you have installed Microsoft Office 2003 Service Pack 2 (SP2):


    MORE INFORMATION
    Because of legal issues, Microsoft has disabled the functionality in Access 2003 and in Access 2002 that let users change the data in linked tables that point to a range in an Excel workbook. However, when you make changes directly in the Excel workbook, the changes appear in the linked table in Access.


    Support.Microsft.com:
    You cannot change data in linked tables that are to an Excel workbook

    You might try reinstalling and then only installing SP1.


    Also:

    VB123.com:
    Guacamole dipped - Access to Excel linked table gotcha

    PCWorld.com:
    Patent ruling costs Microsoft $8.9 million


    "A jury in U.S. federal court found that Microsoft infringed on a Guatemalan inventor's 1994 patent on technology linking the company's Access and Excel programs, and ordered the world's largest software maker to pay $8.9 million in damages.



    [Edited entry from 2/1/2006]




    See all Topics

    Labels: ,


    <Doug Klippert@ 3:14 AM

    Comments: Post a Comment


      Sunday, March 22, 2009 – Permalink –

    Intro to Excel

    English Excel


    The UCL (University College London) site for the High Energy Physics Group of the Department of Physics & Astronomy, has an introduction to Excel e-book on this page. It's the material used in a 10 week course.


    "This web page contains material for the computing and data analysis elements of the first-year PHYS1B40 Practical Skills course.

    The main elements of the course are:

    Analysis of data and treatment of uncertainties of measurement (Data Analysis) - discussed in lectures and illustrated by exercises using Excel

    Use of spreadsheets (Excel) for

    Analysis and presentation of experimental data
    Mathematical modeling, simulation, analysis and problem solving
    Introduction to computer programming by means of Visual Basic for Applications (VBA)


    Here are some links to the topics covered topics:

    Excel

    Data Analysis

    Visual Basic

    [Edited entry from 1/27/2006]


    See all Topics

    Labels:


    <Doug Klippert@ 3:34 AM

    Comments: Post a Comment


      Friday, March 13, 2009 – Permalink –

    Web Queries

    Do You Question the Web?


    This feature can make data acquisition a lot easier than Copy-Paste-Reformat-Try again.

    "Generally, though, people tend to overlook the option of using the Web as a data source for Excel, be that source the Internet, an intranet, an extranet, or a Web Service. But they shouldn't. Web queries are an easy, yet remarkably flexible and predictable way of bringing data into Microsoft Excel from anywhere on the Web. You can point a Web query at any HTML document that resides on any Web server - or even on a file server, for that matter - and pull part or all of the contents back into your spreadsheet...When you start using Excel's Web queries, you will realize they are almost as limitless as the Web is.

    Well Kept Secret

    On the menu bar, go to Data>Import External Data. (In 2007, Data>Get Extrnal Data>From Web). Then, select Import Data to use an existing Web query or select New Web Query to build a new one.

    Web Query

    Also see:
    Vertex42.com:
    Excel Web Query Secrets Revealed


    MSDN.Microsoft.com/library
    Integrate Far-Flung Data into Your Spreadsheets with the Help of Web Services

    Updating Excel From the Web

    And:
    Web Queries and Dynamic Chart Data in Excel 2002

    [Edited entry from 1/15/2004]




    See all Topics

    Labels: ,


    <Doug Klippert@ 3:43 AM

    Comments: Post a Comment


      Wednesday, March 04, 2009 – Permalink –

    Animate Window Size

    So cool!


    The following macro has little or no practical computing value, but it can add a "way cool" element when a worksheet is unhidden.
    There are three states that a worksheet can be in; Minimized, Maximized, and Normal.

    This macro will gradually resize a worksheet from small to Maximized. The worksheet appears to be growing:

    Sub SheetGrow()
    Dim x As Integer
    With ActiveWindow
    .WindowState = xlNormal
    .Top = 1
    .Left = 1
    .Height = 50
    .Width = 50

    For x = 50 To Application.UsableHeight
    .Height = x
    Next x

    For x = 50 To Application.UsableWidth
    .Width = x
    Next x

    .WindowState = xlMaximized
    End With
    End Sub


    From AutomateExcel.com:
    ActiveWindow.WindowState
    (By Mark William Wielgus)




    Also fun:

    Sub SheetGrow()

    Dim x As Integer, xmax As Integer

    With ActiveWindow

    .WindowState = xlNormal

    .Top = 1

    .Left = 1

    .Height = 50

    .Width = 50



    If Application.UsableHeight > Application.UsableWidth Then

    xmax = Application.UsableHeight

    Else

    xmax = Application.UsableWidth

    End If

    For x = 50 To xmax

    If x <= Application.UsableHeight Then .Height = x

    If x <= Application.UsableWidth Then .Width = x

    Next x

    .WindowState = xlMaximized

    End With

    End Sub



    # posted by Joerd : 12/30/2005



    [Edited entry from 12/30/2005]
     
    See all Topics

    Labels:


    <Doug Klippert@ 3:24 AM

    Comments: Post a Comment


      Wednesday, February 25, 2009 – Permalink –

    Hide Digits

    Simple obfuscation


    The kid said,
    "Daddy, I know the secret password!
    It's star, star, star, star!"
    ****
    You can use functions to hide parts of sensitive data.

    Social Security Number 555-55-5555

    =CONCATENATE("***-**-", RIGHT(B2,4))

    Combines the last four digits of the SSN with the "***-**-" text string

    (***-**-5555)



    Credit Card Number 5555-5555-5555-5555

    =CONCATENATE(REPT("****-",3), RIGHT(B3,4))

    Repeats the "****-" text string three times and combines the result with the last four digits of the credit card number

    (****-****-****-5555)

    Microsoft Office Online:
    Display only the last four digits of identification numbers


    [Edited entry from 12/22/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 3:12 AM

    Comments: Post a Comment


      Wednesday, February 18, 2009 – Permalink –

    SCORE Templates

    Free business advice


    SCORE is a nonprofit organization providing small business advice and training.

    SCORE's 10,500 volunteers have more than 600 business skills. Volunteers share their wisdom and lessons learned in business. Our volunteers are working/retired business owners, executives and corporate leaders.
    • SCORE offers Ask SCORE email advice online.
    • Face-to-face small business counseling at 389 chapter offices.
    • Low-cost workshops at 389 chapter offices nationwide.
    • "How to" articles and business templates
    Here are some of the available templates:
    A Business Plan for a Start-up Business
    Microsoft Word
    A Business Plan for an Established Business
    Microsoft Word
    Bank Loan Request for Small Business
    Microsoft Word
    Break-Even Analysis
    Excel
    Competitive Analysis
    Microsoft Word
    Financial History & Ratios
    Excel
    Loan Amortization Schedule
    Excel
    Opening Day Balance Sheet
    Excel
    Personal Financial Statement
    Excel

    Projected Balance Sheet
    Excel
    Start-up Expenses
    Excel
    4-Year Profit Projection
    Excel
    12-Month Cash Flow Statement
    Excel
    12-Month Profit and Loss Projection
    Excel
    12-Month Sales Forecast
    Excel

    SCORE Template Gallery

    [Edited entry from 12/15/2005]

    See all Topics

    Labels: ,


    <Doug Klippert@ 3:01 AM

    Comments: Post a Comment


      Tuesday, February 10, 2009 – Permalink –

    Dynamic AutoShape Link

    Show the star

    Here's a hint that I had forgotten about.

    You can tie the result of a cell to an AutoShape.

    This displays the value in a more dramatic manner.
    1. Create an AutoShape on the Worksheet
    2. With the shape selected, type an equal sign in the formula bar.
    3. Enter the address of the linking cell (or click the cell)
    4. Hit Enter
    Thanks to AutomateExcel.com for the reminder.


    [Edited entry from 12/6/2005]


    See all Topics

    Labels:


    <Doug Klippert@ 3:19 AM

    Comments: Post a Comment


      Friday, January 30, 2009 – Permalink –

    Free Excel Templates

    Financial enlightenment


    Matt H. Evans CPA. CMA, CFM has complied a list of 75 free Excel spreadsheets devoted to financial matters.

    Here are a few of the entries:
    Time Value (xls)
    Introduction to time value concepts, such as present value, internal rate of return, etc.
    Lease or Buy a Car (xls)
    Basic spreadsheet for deciding to buy or lease a car.
    Top Five NPV & IRR (xls
    Explains Internal Rate of Return, compares projects, etc.
    Statements (xls)
    Generate a set of financial statements using two input sheets - operational data and financial data.
    Business Financial Analysis Template
    for start-up businesses from Small Business Technology Center
    Income Statement
    What If Analysis
    Assessment Templates
    Set of templates for assessing an organization based on the Malcolm Baldrige Quality Model.


    ExInfrm.com


    [Edited entry from 11/28/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:06 AM

    Comments: Post a Comment


      Thursday, January 22, 2009 – Permalink –

    SuDoku

    CrossNumber puzzles


    I have to admit that I have not caught the fever that these puzzles seem to have generated.

    Most every newspaper in the world has started publishing these brain teasers.


    "Sudoku , sometimes spelled Su Doku, is a logic based placement puzzle, also known as Number Place in the United States. The aim of the canonical puzzle is to enter a numerical digit from 1 through 9 in each cell of a 9x9 grid made up of 3x3 subgrids (called "regions"), starting with various digits given in some cells (the "givens"). Each row, column, and region must contain only one instance of each numeral.
    Completing the puzzle requires patience and logical ability. Its grid layout is reminiscent of other newspaper puzzles like crosswords and chess problems.
    Although first published in 1979, Sudoku initially became popular in Japan in 1986 and attained international popularity in 2005."


    Wikipedia — Sudoku

    Here is a download that will construct as many of these puzzles as you might be Jonesing for.

    Andy Pope Su Doku

    Also:

    Su Doku.com

    Web Su Doku

    Here's an Excel template from the Redmond people:
    1. Enter puzzle values in Starting position grid
    2. Set Game state to 1
    3. Press F9 to calculate
    4. The Possible numbers grid will show the first step in the solution
    5. The Final position will show the current result
    6. Continue to repeat calculation by pressing F9 until the puzzle is solved or the solver stops responding
    Sudoku solver


    [Edited entry from 11/18/2005]

    See all Topics

    Labels: ,


    <Doug Klippert@ 3:32 AM

    Comments: Post a Comment


      Wednesday, January 14, 2009 – Permalink –

    Spreadsheet Design

    Make it work and look good


    Timothy Miller uses the nom de screen of "Jethro" (Moses' Father-in-Law).

    His SpyJournal.biz site/blog gives some tips on how to present an Excel solution


    Design and layout

    One of the easiest ways to set up spreadsheets that calculate or generate results that need to be reported is to separate the function from the form. Just like a shiny exterior on a car hides the internal engine and wiring. I always create my reports and front end menus to look good and generate results and calculations in more functional sheets.
    Hiding unnecessary sections

    If you must have calculations and working sections visible, then hide the unnecessary bits. Hiding a row or column is only one way of doing this. Using the group function you can rollup whole rows of information, e.g. components that add to a subtotal or constants and variables such as exchange rates, interest rates, and other indexes.
    Use of colour and graphics

    I like to use the company logo or other graphic as a design element in my spreadsheet. Sometimes I do this by using the corporate colours, other times by using the graphic itself. If I have a spreadsheet with a lot of macro buttons, I may use command objects and use the logo as a picture on the button.
    Removing excel components

    There are a number of excel components that you can turn off. Menu screens and reports screens may not need horizontal or vertical scroll bars, sheet tabs or row and column headings. Using macro buttons to return to a menu can overcome the need for sheet tabs. Not displaying gridlines will give a clean uncluttered look to a layout, and then using borders as necessary can create emphasis in the right areas.

    You'll find the complete text here:
    Design Presentation Tips
    Also see:
    SpreadsheetStyle

    [Edited entry from 11/7/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 3:00 AM

    Comments: Post a Comment


      Friday, January 09, 2009 – Permalink –

    Graph Data and Shapes

    Statistical collection


    Betty C Jung has put together a serious collection of tutorials, links, and data sources.

    Here are some of the topics:
    • Charting Data
    • Data Presentation
    • Cumulative Frequencies
    • Fishbone Diagram
    • Flowcharts
    • Frequency Distributions
    • Gantt; PERT Charts
    • Graphing With Excel
    • Analyzing and Plotting Data with Excel
    • Organizational Charts/Mapping
    • Social Network Analysis
    Graphing & Presenting Data


    [Edited entry from 11/3/2005]

    See all Topics

    Labels:


    <Doug Klippert@ 3:49 AM

    Comments: Post a Comment


      Tuesday, January 06, 2009 – Permalink –

    Clip Art Gallery

    Sprinkle carefully


    Judicious use of Clip art can spice up a document. Here's an article about how to customize existing pictures including:
    • Display clip-related toolbars
    • Customizing your clip art
    • Cropping
    • Sizing
    • Adding text wrapping
    • Blurring
    • Rotating and flipping
    • Adding a drop shadow
    Edit clip art in Word

    Also:
    Clip art gallery

     

    Halloween clips
    Clip Art demo
    5 new things about the Clip Art and Media site
    Mary Sauer's Design Gallery Help
    Microsoft Clip Art & Media Help

    [Edited entry from 10/12/2005]

     See all Topics

    Labels: , , ,


    <Doug Klippert@ 3:15 AM

    Comments: Post a Comment


      Monday, January 05, 2009 – Permalink –

    Excel 2007 Limits

    New Boundaries


    Here are a few of the major changes in Excel 2007.
    The total number of available columns in Excel

    Old Limit: 256 (2^8)
    New Limit: 16k (2^14)
    The total number of available rows in Excel

    Old Limit: 64k (2^16)
    New Limit: 1M (2^20)
    Number of unique colors allowed a single workbook

    Old Limit: 56 (indexed color)
    New Limit: 4.3 billion (32-bit color)
    Number of conditional format conditions on a cell

    Old Limit: 3 conditions
    New Limit: Limited by available memory
    Number of levels of sorting on a range or table

    Old Limit: 3
    New Limit: 64
    Number of items shown in the Auto-Filter dropdown

    Old Limit: 1,000
    New Limit: 10,000
    The total number of characters that can display in a cell

    Old Limit: 1k (when the text is formatted)
    New Limit: 32k or as many as will fit in the cell (regardless of formatting)
    The maximum length of formulas (in characters)

    Old Limit: 1k characters
    New Limit: 8k characters
    The number of levels of nesting that Excel allows in formulas

    Old Limit: 7
    New Limit: 64
    Maximum number of arguments to a function

    Old Limit: 30
    New Limit: 255
    The number of characters that can be stored and displayed in a cell formatted as Text

    Old Limit: 255
    New Limit: 32k

    These were reported by David Gainer.

    Some other numbers

    More information is available at David's blog:

    A discussion of what's new in Excel


    [Edited entry from 10/26/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:37 AM

    Comments: Post a Comment


      Saturday, December 27, 2008 – Permalink –

    Mac vs. PC

    Spreadsheet vagaries


    The 1904 date system and the 1900 date system


    "The default date system in Excel 2004 for Mac is the 1904 date system. The default date system in Excel 2003 is the 1900 date system. Typically, the use of different date systems does not cause a problem.

    However, if you transfer a workbook from Excel to Excel for Mac, or vice versa, and then copy a date from one workbook to the other, the date may increase or decrease by four years and one day. This issue occurs if the two workbooks use different date systems.

    For example, if you copy the date 1/1/1998 from a workbook that uses the 1900 date system and then paste the date into a workbook that uses the 1904 date system, the date appears as 1/2/2002. Alternatively, if you copy the date 1/1/1998 from a workbook that uses the 1904 date system and then paste the date into a workbook that uses the 1900 date system, the date appears as 12/31/1993.

    As long as you know about the date systems that your workbooks use, the different date systems should not cause a problem.


    KB214330

    [Edited entry from 10/18/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 3:49 AM

    Comments: Post a Comment


      Sunday, December 21, 2008 – Permalink –

    Startup Woes

    When kickstart is inappropriate


    It happens to me less often than in the past, but when Excel does not want to open correctly, here are some resources to solve the problem.

    "There are several reasons why you may experience problems when you start Microsoft Excel. This article discusses how to troubleshoot the cause of the startup problem, and possible remedies to correct the problem. The article also contains links to other Microsoft Knowledge Base articles that discuss known startup problems in greater detail."

    Support.Microsoft:
    How to troubleshoot startup problems in Excel
    Also:

    Chip Pearson:
    Startup Errors In Excel

    Contextures:
    Starting Excel and Opening Files

    JKP Application Development Services:
    Fixing Startup problems

    John Walkenbach
    Solving Common Setup Problems

    [Edited entry from 9/16/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:15 AM

    Comments: Post a Comment


      Sunday, December 14, 2008 – Permalink –

    Format Numbers

    It's your choice



    Here is an almost forgotten sample spreadsheet. It was constructed, for Microsoft, back in 1997 by Lori B. Turner, and is still relevant.

    The sheets are protected. In order to see the cell formatting, you need to go to Tools>Protection to Unprotect Sheet . . . There is no password required

    Formatting sample Workbook

    Also:

    OzGrid:
    Custom Formats

    If you need to format numbers that will be displayed connected to text, here is one way to do it:

    1. In cell A1, enter the text "You still owe the sum of".
    2. In cell A2, enter the number "5434".
    3. In cell A3, enter the text "for invoice # 2232 from 6/15/2001".
    4. In cell A4, enter the formula =A1&" "&TEXT(A2,"#,##0")&" "&A3.

    You still owe the sum of 5,434 for invoice # 2232 from 6/15/2001


    Excel Tips
    Formatting concatenated numbers and text

    Or:



    Also:
    Excel Format Tips

    Also:
    A very well produced examination of the subject by Jon Peltier:
    Number Formats in Microsoft Excel


    [Edited entry from 10/10/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:12 AM

    Comments: Post a Comment


      Sunday, November 30, 2008 – Permalink –

    Time Without Limits

    No Delimiters


    Excel is most happy when you enter dates and times with the correct separators.

    1/1/2004 is a good date. So is 1-1-2004.

    If you just entered 112004 in a cell formatted as a date you'll get:

    Wednesday, August 27, 2206

    the 112,004th day since January 1, 1900.

    Chip Pearson has come up with VBA code, using the Worksheet_Change event procedure, that will allow you to enter dates without dashes or slashes.



    See:
    Date And Time Entry

    [Updated entry from 9/24/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:43 AM

    Comments: Post a Comment


      Tuesday, November 25, 2008 – Permalink –

    Information Functions

    Who, What, Where


    If you need to know if automatic calculation is on or off or the number of worksheets that are active, Excel can display the INFO.



    System Information:

    Current directory
    =INFO("directory")

    Available bytes of memory
    =INFO("memavail")

    Memory in use
    =INFO("memused")

    Total bytes of memory
    =INFO("totmem")

    Number of active worksheets
    =INFO("numfile")

    Cell currently in the top left of the window
    =INFO("origin")

    Operating system
    =INFO("osversion")

    Recalculation mode
    =INFO("recalc")

    Excel version
    =INFO("release")

    Name of system. (PC or Mac)
    =INFO("system")


    More:

    Excel-VBA.com:
    Excel Spreadsheet Information Functions


    [Edited entry from 9/8/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:09 AM

    Comments: Post a Comment


      Sunday, November 23, 2008 – Permalink –

    Array Formulas

    Good orderly direction


    An array is defined as "An orderly arrangement". It can be thought of as a collection of data packaged in a container. The individual items in the container can be selected by referring to their location; first, second, and so on.


    • Each argument within an array must have the same amount of rows and columns.
    • You must enter an array by pushing Ctrl+Shift+Enter.
    • You cannot add the {} (braces) that surround an array yourself, pushing Ctrl+Shift+Enter will do this for you.
    • You cannot use an array formula on an entire column.

    "Have you ever sat in front of your monitor pulling your hair out trying to identify duplicate entries in a list? If so, you should learn about Microsoft Excel's array formulas. In fact, you can use array formulas to perform calculations that are otherwise impossible in Excel, and you can enhance the power of some of the program's existing functions."

    Excel's Array Formulas
    By Helen Bradley

    Chip Pearson:
    Introduction To Array Formulas

    "Array Formulas are formulas that work with arrays, instead of individual numbers, as arguments to the functions that make up the formula"




    PacBell.net/beban/:
    The file "Array Functions" contains 27 Function Procedures and 2 Sub Procedures for manipulating arrays (and worksheet ranges).
    Excel Tools

    Bob Ulmas:
    Using Array Formulas in Excel


    Daily Dose of Excel:
    Anatomy of an Array Formula


    Support.Microsoft.com:
    Sample Visual Basic macros for working with arrays

    Limitations for working with arrays in Excel

    When to use a SUM(IF()) array formula




    [Updated entry from 9/4/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:27 AM

    Comments: Post a Comment


      Saturday, November 15, 2008 – Permalink –

    Locate Duplicates with Conditional Formatting

    Highlight entries


    Conditional formatting can be set up by selecting the whole range, or for the first cell in the range and then copy down that conditional format. I find it is usually just as easy to select the whole range to start with. The formula will adjust itself.

    In this example, cell B2 has a heading of Product Numbers.

    Select cell B3 (or the entire targeted range) and from the menu.

    Select Format > Conditional Formatting.

    The Conditional Formatting dialog opens with the initial dropdown saying
    "Cell Value Is".

    Click the arrow next to this, and choose
    "Formula Is".

    After selecting "Formula Is", the dialog box changes appearance.
    Instead of boxes for "Between x and y", there is now a single formula box.

    You can type in any formula as long as that formula will evaluate to TRUE or FALSE.

    The formula to type in the box is
    =COUNTIF(B:B,B3)>1

    Conditional Formatting

    This says, "look through the entire range of column B.

    Count how many cells in that range are the same value as what is in B3."
    (In the graphic, B7 is the Active cell.)

    That same comparison will be made in every cell that contains the conditional formatting.

    (If your data is in column E and you are setting the first conditional formatting up in E5, the formula would be =COUNTIF(E:E,E5)>1.)

    Anytime a duplicate appears in the range, it will receive the special formatting.

    In this example, any time a duplicate number appears anywhere in column B, even if it is not itself formatted, the selected range will reflect the duplicate.

    =COUNT(B:B,B3)>2 would count entries that appear more than two times.
    =COUNT(B:B,B3)=2 would count entries that appear twice.

    If you want only a part of the column in the formula, it is easier to use absolute addresses, such as =COUNT($B$3:$B$200,B3)>1

    Adapted from MrExcel.com

    Also see:

    Chip Pearson's discussion of duplicates:
    Duplicate And Unique Items In Lists

    and:

    Contextures.com:
    Conditional Formatting
    (See Hide Duplicate Values)


    [Edited entry from 8/20/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:42 AM

    Comments: Post a Comment


      Friday, November 14, 2008 – Permalink –

    Sort Worksheets

    Order tabs


    Worksheets can be dragged and dropped into any order required. They can be set up in numeric or alpha order, but doing it by hand is a bother.

    Chip Pearson has written some macros that will do the job for you:

    • Sorting Worksheets In Alphabetical Order
    • Sorting In Custom Order
    • Grouping Sheets By Color


    Here's the code to sort by tab color:


    Sub GroupSheetsByColor()
    Dim Ndx As Long
    Dim Ndx2 As Long
    For Ndx = 1 To Worksheets.Count - 1
    For Ndx2 = Ndx To Worksheets.Count
    If Worksheets(Ndx2).Tab.ColorIndex = _
    Worksheets(Ndx).Tab.ColorIndex Then
    Worksheets(Ndx2).Move after:=Worksheets(Ndx)
    End If
    Next Ndx2
    Next Ndx
    End Sub


    Sorting Worksheets In A Workbook


    (The colorindex variable chooses one of the 56 colors in Excel's basic palette.
    Here are all the colors and numbers as compiled by F. David McRitchie:
    Excel Colors )

    [Edited entry from 8/30/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:35 AM

    Comments: Post a Comment


      Wednesday, November 05, 2008 – Permalink –

    Lotus 1-2-3?

    Excel!


    You could tell when Lotus was being taught by the instructor's chants of the multiple keystrokes. "Slash, F, Down arrow, Return, Slash, . . ."

    "Another feature that illustrates 1-2-3's human-engineering design is its jargon-free prompts, explanatory messages, and fail-safe mechanisms.

    Suppose I want to delete a spreadsheet file. When I type "/F", I get a menu of possible file actions, the first of which is in inverse video. I can execute any action by either moving the inverse video cursor to that action name and hitting the Return key or hitting the key that is the first letter of the action name.

    If I hit the right-arrow key until the action name "Delete" is in inverse video, I get an explanatory note immediately below the command line that says, "Delete a worksheet, print, or graph file" ("worksheet" is Lotus's name for a spreadsheet).

    That's what I want to do, so I conveniently hit Return. The inverse video cursor is already positioned on the option I want, "Worksheet", so I hit Return again. 1-2-3 now reads the current disk and gives me a menu of all the spreadsheet files by name.
    I then move the inverse video cursor to the spreadsheet I want to delete and hit Return again (there's no need to type the file name - just point to it). 1-2-3 displays two options, "No" and "Yes", with the cursor on the "No" option and an explanatory note, "Do not delete the file". By moving the cursor onto the word "Yes" (which includes the note "Delete the file") and pressing Return, I can delete the spreadsheet file.

    Wouldn't you like a piece of software that does all that for you?"


    First Lotus 1-2-3 Review


    Lotus was another application that missed the Windows train.



    Here is a video discussing the spreadsheets about twenty years ago:
    "Excel now dominates the spreadsheet world, but once upon a time there was actual competition among spreadsheet products. This program looks at Quattro 1.0, Allways 1.0, Lotus 1-2-3 3.0, Ashton-Tate's Full Impact, and Excel 2.1. Guests include Gary Kildall, Jan Lewis, and Jared Taylor of PC Magazine. Originally broadcast in 1988."


    Spreadsheet Wars

    One of the problems expressed in this program, was that you needed to run Excel on a 286 or 386 machine.


    Wikipedia.com:

    "The rise of Microsoft Windows in the personal computer market was accompanied by the rise in Microsoft's competing spreadsheet, Excel, and it gradually usurped the position of 1-2-3. Being loyal to OS/2, Lotus was slow to embrace Windows. Additionally, several versions of 1-2-3 were available concurrently, each with different set of functionality and slightly different interface."

    Lotus 1-2-3

    Here is the original PC spreadsheet program. You can download it, play with it, and then run back to Excel.

    VisiCalc.exe

    VisiCalc: Information from its creators, Dan Bricklin and Bob Frankston

    [Edited entry from 8/24/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 3:41 AM

    Comments: Post a Comment


      Tuesday, November 04, 2008 – Permalink –

    Too Many Slices

    More data than the pie will hold


    A pie chart displays the per cent of the whole is represented by the component elements. Four salesmen, four slices of pie.

    The problem arises when there are 10 or so components that vary in size. The labels begin to overlap and the chart is difficult to read:



    One suggestion that Chris Weber offers is to rearrange the order of the slices:



    The article uses MS Graph in Access, but the techniques are applicable in all the other applications that can use graphs.

    SmartAccess:
    Easy as Pie. . .

    "Chris Weber provides you with a generic method to control the data for pie charts that are actually readable."

    (A downloadable example file is also provided


    [Edited entry from 8/8/2005]



    See all Topics

    Labels: , , ,


    <Doug Klippert@ 3:38 AM

    Comments: Post a Comment


      Saturday, November 01, 2008 – Permalink –

    What if?

    Scenario suggestions


    "I wonder how our net profit would be affected if we could reduce our variable cost per unit by just a few cents. How much could we save if we found a lower interest rate? Wouldn't it be nice to be able to play around with some scenarios, do some "what-ifs" — without messing up your current data? It's easy with Microsoft Office Excel . You can set up "scenarios" to experiment with the data and compare the possibilities. Who knows? It could be a road map to better solutions for your business."

    Excel "what-if" scenarios

    American Institute of Certified Public Accountants (AICPA.org):
    " To find out how to use what-if functions, follow along as this tutorial takes you step-by-step through several problems. Excel 2000 is used here to illustrate these concepts, but the process is similar in all spreadsheet programs."

    Using a spreadsheet to do "what-if" analyses


    [Edited entry from 8/3/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 2:27 AM

    Comments: Post a Comment


      Sunday, October 19, 2008 – Permalink –

    Calendars

    One day at a time


    Here are some links with downloadable examples, and some code that can be used to create calendars in Excel:

    John Walkenbach:


    Appointment Calendar



    Andrew Engwirda's Excel tips:

    Excel Calendar

    Calendar Toolbar

    Andrew has a calendar worksheet that can be downloaded:

    Calendar.zip

    He also suggests:

    "Tushar Mehta has a very nice calendar too which can be found here:

    Calendar"



    Erlandsen Data Consulting:

    "Create a Create a simple calendar for each month or a small calendar (pocket) for a whole year.

    The calendar automatically formats some holidays (included Easter Sunday etc.), you might need to customize the workbook to suit your needs."


    MakeCalendarPlanner()
    (Evelyn Woolston scroll down to entry #5)


    Microsoft Templates:

    Calendar templates


    [Edited entry from 7/24/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:06 AM

    Comments: Post a Comment


      Thursday, October 16, 2008 – Permalink –

    Custom Dictionary

    Spell it the way you want to!


    Although Office has its own dictionary, it probably does not contain all the words and jargon that you use. If this is the case, you can add your own frequently used terms, and names to the dictionary.

    1. Open Word
    2. From the Tools menu, click Options
      (See link below for 2007)
    3. Select the Spelling and Grammar tab
    4. Click the Custom Dictionaries button
    5. Place a check beside the dictionary you want to modify
    6. Click the Modify button
    7. In the Word field, type in the word you want to add to the dictionary and click the Add button Click OK
    8. Click OK to close the Custom Dictionaries dialog box
    9. Click OK to close the Options dialog box


    If you want to remove a word from the dictionary, complete steps 1 through 7. Select the word you want to remove and click the Delete button.


    The Custom.dic file is a text file. You can create it or edit it using notepad.


    Multiple dictionaries can be created for special purposes, like a list of employee names.


    The Custom.dic file is used by all of the Office applications that do Spell checking.


    How to add a custom dictionary in Word


    About.com:

    Working With Dictionaries in Word

    Microsoft.com

    How to create an exclude dictionary in Word

    Copy the Custom Dictionary to a Floppy Disk and Use It on Other Computers

    Error when you add a word to the custom dictionary

    [Edited entry from 7/11/2005]




    See all Topics

    Labels: , , , ,


    <Doug Klippert@ 1:42 AM

    Comments:
    Wow, really cool post. Keep us updated!
     
    Post a Comment


      Wednesday, October 15, 2008 – Permalink –

    Download Demonstrations

    Still good after all these years


    Back in the day, Barnes Consulting was a major player with Office 97. They've gone on to other consulting areas, but you can still study what they called "On-Line Experiences".


    These detail the benefits and outline the steps of many Excel features. They are worth the download.


    They are a great resource for learning advanced features, training, and tips on a great consistent presentation that you can use to format your workbooks.


    While they were written for Microsoft Excel versions 5.0 and 7.0, they are still viable in Excel 200x.


    These Experiences were developed for Microsoft Corporation by Baarns Publishing.


    Here are the titles of the illustrated workbooks that are free to download:

    • Subtotals Experience
    • Group and Outline Experience
    • Range Name Experience
    • Functions Experience
    • PivotTable Experience
    • Auto Filter Experience
    • Auto Format Experience
    • Power Chart Experience
    • Scenario Experience
    • Solver Experience

    Downloadable Learning Experiences


    [Edited entry from 7/14/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 3:19 AM

    Comments: Post a Comment


      Saturday, October 11, 2008 – Permalink –

    Stock Answer

    Built in service



    You can easily insert an automatically updated stock quote for a specific company in a spreadsheet.

    Here are the instructions:

    1. On the Tools menu, click AutoCorrect options.
      (Use the Office button and Excel Options in 2007)
    2. Click the Smart Tags tab and place a check beside Label data with smart tags.
    3. Click OK.
    4. Type in a Stock symbol (such as MSFT) in a cell.
      (The symbol must be in all caps)
    5. Click outside of the cell.
    6. Place your mouse cursor over the purple triangle in the lower-right corner of the cell.
      Click the arrow.
    7. Click Insert refreshable stock price.
    8. Select whether to insert the stock price on a new worksheet or in a specific area on your current worksheet.


    You can refresh a stock quote price at any time by right clicking anywhere within your worksheet and selecting Data Range Properties. Enter a value for how often the stock quote price should be refreshed.




    [Edited entry from 7/8/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 4:16 AM

    Comments: Post a Comment


      Wednesday, October 01, 2008 – Permalink –

    Data Comparison

    No formulas


    The Data Consolidation technique allows you to compare lists quickly and easily.

    With the Consolidation technique, you can identify the number of duplicate entries in two or more lists without using a formula.
    (not that it's easier, just that there are no formulas)


    Example:

    In the sheet there are two lists: List 1 is in column A (in cells A2:A10), and List 2 is in column C (in cells C2:C10).

    1. In Cell B1 type "List number".
    2. In Cells B2:B10, enter the number 1.
    3. In Cells D2:D10, enter the number 2.
    4. Cut Cells C2:D10 and paste them into Cell A11.
    5. Press Ctrl+*, then press Ctrl+F3, and enter a name for the list (such as Compare).
    6. Select cell D4 or another worksheet.
    7. From the Data menu, select Consolidate.
    8. Select Count as the Function.
    9. In the Reference box, press F3 and paste the Name you defined for the list.
    10. Click Add.
    11. Select both Top row and Left column "Use labels in" checkboxes.
    12. Click OK.


    The numbers appears in Column B are the totals of the list number in Column B.

    If the result = 1, the name appears in List 1 and does not appear in List 2.
    If the result = 2, the name appears in List 2 and does not appear in List 1.
    If the result = 3, the name appears in both lists (1+2=3).

    The action is not dynamic, so if you make changes, the Consolidation must be rerun.

    From:
    "Mr Excel ON EXCEL" (Holy Macro Books)

    Also see:
    John Walkenbach:
    Comparing Two Lists With Conditional Formatting

    Chip Pearson:
    Duplicate And Unique Items In Lists

    Here's a more complex method:
    Microsoft Office Online:
    Use Excel to compare two lists of data

    Also:
    BetterSolutions.com:
    What are Consolidated Worksheets ?

    [Edited entry from 6/26/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 4:15 AM

    Comments: Post a Comment


      Tuesday, September 30, 2008 – Permalink –

    Access Data - Excel Time Sheets

    Distribute to everyone


    Many times an office will provide Excel for all users, but not want or need to also install Access on every desk.

    Helen Feddema has laid out a method to use the data in an Access database to create Excel workbooks. These workbooks can then be e-mailed to employees to be used to record time spent on projects.

    The code provided is above the entry level user, but understandable.

    There is a downloadable file that includes the instructions and samples of the Access and Excel files.

    Go to Access Archon Columns from Woody's Office Watch.


    The pertinent file is down near the bottom of the page. Look for article 127 and download accarch127.zip.

    [Edited entry from 6/24/2005]



    See all Topics

    Labels: ,


    <Doug Klippert@ 3:04 AM

    Comments: Post a Comment


      Sunday, September 28, 2008 – Permalink –

    Video Tutorials

    Free instructions


    Michael Alexander has produced a collection of about 60 online video demonstrations of some interesting Excel maneuvers.


    Topics include:

    Basic Excel Concepts

    • Using "Paste Special"
    • Using Text to Columns
    • Tips on Filtering with "AutoFilter"

    All About Pivot Tables
    • Create a Basic Pivot Table
    • Sorting in a Pivot Table
    • Create a Drill Down Effect with a Pivot Table

    All About Charts
    • Create Dynamic Chart Labels
    • Create a Thermometer Effect in your Column Charts



    And More:
    DataPig Technologies

    [Edited entry from 6/21/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 4:59 AM

    Comments: Post a Comment


      Wednesday, September 24, 2008 – Permalink –

    Statistics and Excel

    What are the chances


    "Excel is the widely used statistical package, which serves as a tool to understand statistical concepts and computation to check your hand-worked calculation in solving your homework problems. The site provides an introduction to understand the basics of and working with the Excel. Redoing the illustrated numerical examples in this site will help improving your familiarity and as a result increase the effectiveness and efficiency of your process in statistics."


    Dr. Hossein Arsham

    The site is very clearly written. While some of the concepts are advanced, Dr. Arsham explains them in simple terms. It is a good introduction to the Analysis ToolPak.

    Here are some of the subjects covered:

    • Descriptive Statistics
    • Normal Distribution
    • Confidence Interval for the Mean
    • Test of Hypothesis Concerning the Population Mean
    • Difference Between Mean of Two Populations
    • ANOVA: Analysis of Variances
    • Goodness-of-Fit Test for Discrete Random Variables
    • Test of Independence: Contingency Tables
    • Test Hypothesis Concerning the Variance of Two Populations
    • Linear Correlation and Regression Analysis
    • Moving Average and Exponential Smoothing


    The University of Baltimore:
    Statistical Data Analysis

    [Edited entry from 6/16/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 4:28 AM

    Comments: Post a Comment


      Tuesday, September 23, 2008 – Permalink –

    List All Files

    All files in a folder


    Here is a macro that will produce a list of all the files in a selected folder.
    • The folder name for the listed files
    • The file names of the files found
    • The file sizes of the files found
    • The dates and times of the files found
    • The total number of files listed
    Macro to List All Files in a Folder


    [Edited entry from 6/16/2005]


    See all Topics

    Labels: ,


    <Doug Klippert@ 3:19 AM

    Comments: Post a Comment


      Sunday, September 14, 2008 – Permalink –

    Add a Picture to a Comment

    Also graphs



    1. Right-click the cell that contains the comment.
      (or choose Insert Comment)
    2. Choose Edit Comment, and clear any text from the comment.
    3. Click on the border of the comment, to select it.
    4. Choose Format>Comment
      (or Ctrl+1)
    5. On the Colors and Lines tab, click the drop-down arrow for color.
    6. Click Fill Effects
    7. On the picture tab, click Select Picture
    8. Locate and select the picture
    9. Click Insert, click OK, click OK

    Contextures.com



    Also:

    Charles Maxson has some code that will place a picture in the comment box based on the contents of a cell.

    " Imagine that you have a list of parts for a product and you want to assign them to cells... then your users could see them as they hover over the cells."

    Excel: Code to add picture to Excel Comment


    Mary Ann Richardson, on TechRepublic.com, suggests saving a graph as a JPG and using that as a picture in a comment.

    Add an Excel chart to a comment




    [Edited entry from 6/4/2005]





    See all Topics

    Labels:


    <Doug Klippert@ 2:46 AM

    Comments: Post a Comment


      Thursday, September 04, 2008 – Permalink –

    Running Total in Comment

    Circular solution



    You can't have a worksheet formula that looks like this:

    =C3+C3

    But you can do something similar if you use VBA and store the results in another location.

    "In Microsoft Excel you can avoid circular references when you create a running total by storing the result in a non-calculating part of a worksheet. This article contains a sample Microsoft Visual Basic for Applications procedure that does this by storing a running total in a cell comment."


    Microsoft Support:
    Create a running total in a cell comment

    The macro runs each time the value of a cell changes.
    It adds the current value of the cell to the value of the cell comment. Then it stores the new total in the cell comment.

    I'm sure someone can come up with other uses for this macro.



    Also see:

    Decision models.com:
    Repetitive Calculation Features and Add-Ins


    Daily Dose of Excel
    Dick Kusleika
    Circular References - The Good Kind

    [Edited entry from 5/24/2005]



    See all Topics

    Labels:


    <Doug Klippert@ 12:03 PM

    Comments: Post a Comment


      Friday, August 29, 2008 – Permalink –

    Template Wizard with Data Tracking

    Add it back in


    Add-ins are often replaced in new versions of Office. In Office 2000, Excel had a Wizard that would create an entry form and store information in a database.

    To retrieve that function you need to add back the Template Wizard.

    "The Microsoft Excel 2002 Template Wizard is an add-in program that sets up a database to store data entered from an Excel form. When you load the add-in program, the Template Wizard command is added to the Data menu in Excel."


    When you download the WZTEMPLT.XLA, you must install it in the Office11 folder:
    X:\Program Files\Microsoft Office\Office11\Library

    How to install the Excel 2002 Report Manager add-in and Template Wizard add-in in Excel 2003 and 2007


    The Wizard can be downloaded here:
    Excel 2002 Add-in: Template Wizard with Data Tracking

    (When you run the executable, be sure to change the destination to the Office11 folder, if you are using Office 2003, Office 12 for 2007.)


    How to use the Template Wizard with the Data Tracking add-in
    Also see:
    Report Manager

    [Edited entry from 5/16/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 3:33 AM

    Comments: Post a Comment


      Thursday, August 21, 2008 – Permalink –

    Choose List Criteria

    Set values


    1. Somewhere in the workbook, create three named ranges:

      1. Type (elements of this named range should be Sedans, SUVs)
      2. Sedans (elements of this named range should be Toyota Camry, Nissan Altima, Mazda 6)
      3. SUVs (elements of this named range should be Toyota RAV4, Ford Escape, Jeep Liberty)

    2. Select A1:A10, go to Data>Validation select List. Under source, type:
      =Type

    3. Select B1:B10, go to Data>Validation select List. Under source, type:
      =INDIRECT(A1)


    Choose a vehicle type from the selection that appears in the A column, and the choices in B will be limited to the entries in the appropriate list.



    To create a named range, select the list:

    Hit Ctrl+F3. Enter the name and hit OK (or Enter),

    or
    Type the name in the Name Box on the left side of the Formula bar and hit the Enter key,

    or
    Go to Insert>Name. If the list selected includes a label/title, choose Create, otherwise choose Define, type the name and hit Enter).


    Also
    Contextures.com:
    Data Validation -Create Dependent Lists

    [Edited entry from 5/7/2005]




    See all Topics

    Labels:


    <Doug Klippert@ 2:00 AM

    Comments: Post a Comment