Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Formatting Axis Patterns.

Formatting Axis Patterns

Written by Allen Wyatt (last updated March 1, 2025)
This tip applies to Excel 97, 2000, 2002, and 2003


2

Most people who create charts with Excel don't know that you can change just about everything that controls how the chart appears. One of the things you can easily change is the pattern used to denote a chart's axis. By default Excel normally uses a solid line for an axis. If you want to change the pattern used by Excel, follow these steps:

  1. Right-click on the axis whose pattern you want to change. Excel displays a Context menu for the axis.
  2. Choose Format Axis from the Context menu. (If there is no Format Axis choice, then you did not right-click on an axis in step 1.) Excel displays the Format Axis dialog box.
  3. Make sure the Patterns tab is selected. (See Figure 1.)
  4. Figure 1. The Patterns tab of the Format Axis dialog box.

  5. Use the Style drop-down list to select the pattern that Excel should use for the axis.
  6. Use the Color drop-down list to select a color for the axis.
  7. Use the Weight drop-down list to specify how dark the pattern should appear.
  8. Click on OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3196) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Formatting Axis Patterns.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Deriving the Worksheet Name

Excel doesn't provide an easy way to grab the worksheet name for use within a worksheet. Here are some ideas on ways you ...

Discover More

Avoiding Scientific Notation on File Imports

When importing information from a CSV file, you may get unintended results from time to time. Here's how to force Excel ...

Discover More

Counting Odds and Evens

If you have a series of values in a range of cells, you may wonder how many of those values are even and how many are ...

Discover More

Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!

More ExcelTips (menu)

Changing Axis Tick Marks

Create a chart in Excel, and you may find that the tick marks shown on the axes in the chart aren't to your liking. It is ...

Discover More

Plotting Times of Day

Got a chart created from your worksheet? You can plot times of day in the chart if you apply the simple techniques in ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 1 + 8?

2025-11-03 23:55:13

Tomek

While the newer dynamic array functions are probably the simplest solution, using a pivot table is definitely simpler than the last solution proposed in the tip. To do so you just need to
1. Make sure the data in column A has a column heading in cell A1, such as Values.
2. Select the whole range of data, including the heading.
3. On the insert tab select Pivot table.
4. Select the location for the pivot table (it can be on the same sheet or on a New Worksheet) then press OK.
5. From the field list that shows up, drag the Values to the Rows area, and again to the Ʃ Values area. The latter will automatically
be assigned to Count of Values, unless all values are numeric. In such case you will need to right click in the Sum of Values
column that was created automatically and select Summarize values By Count.
6. Finally, you need to click on the down arrow beside the Row Labels, and select Value Filters - Greater than,
   and specify the value of 2 (or whatever number repetitions you want to ignore).

While this approach still requires several steps, in my opinion they are easier to follow than the helper-column approach from the tip. Also, if you are not familiar with pivot tables, be not afraid; they are really not that complicated once you start using them.

Even though this is not a formulaic approach Nolan asked for, it has additional benefits:
• It creates a sort of the helper column for you, but it is condensed to only unique Values,
• You can easily sort and filter the content of the pivot table by the Values or by the Count of Values.


2025-11-01 07:07:46

Alex Blakenburg

If you are using MS365 you could include the TrimRange function into the 2 options using LET ie =LET(X,A1:.A3000 (hard to see but there is a "period" before the A3000) this way Excel only has to evaluate down to the last used cell in column A instead of the full 3000 rows. Technically possible for the option without the LET but there are some traps to this if the ranges are different columns.


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.