Monday was Victoria Day in Canada, which is the unofficial start of summer. However, my tomato plants are huddled in the garage, wearing little polar fleece sweaters, hoping it will warm up soon.
It dipped to 1°C last night, but at least it didn’t snow!
Despite the frosty weather, I’m putting the Contextures Blog on summer hours, and will be posting Monday, Wednesday and Friday.
For Excel related news, watch the Microsoft Excel blog. They did a great job leading up to Excel 2007, and I hope they’ll do the same for this version.
There are even a few screen shots in the Microsoft press gallery.
In Excel, you can create a drop down Data Validation list, so it’s easy to enter valid items in a cell.
Usually, the list of valid items is stored in the same workbook, but it’s possible to set up a drop down from a list in another workbook — as long as the other workbook is open.
If you’re filling in a form, the data entry cells might be scattered throughout the worksheet. You’d like a quick and easy way to move through the cells, in a specific order. Here is a technique that lets you jump to the next data entry cell in Excel, without any macros.
Recently, I wrote about creating dynamic charts in Excel, where you can select a date range from drop down lists. In that article I warned that the dynamic values would disappear if the entire range is selected, in Excel 2007.
I’ve done more testing, to see when the values stick, and when they disappear, and there’s a new version of the file for you.
When you add a field to the pivot table Values area, it’s automatically given a custom name, such as Sum of Units.
Default pivot table value field names
Use a Shorter Name
You might want to change the custom name to Units, so it’s easier to read and makes the column narrower.
However, if you select the cell and type Units, you’ll get an error message: “PivotTable field name already exists.”
Use a Slightly Different Name
If you try to create a custom name that’s the same as a field name in the source data, you’ll see the error message. In this example, because one of the fields in the source data is named Units, you can’t use Units as a custom name in the pivot table.
However, you can avoid this problem, by adding a space character to the end of the custom name, and it will be accepted.
Use Replace All
Or, if you have multiple value fields in the pivot table, select all the captions, and use the Replace All command to fix all the captions at once.
In the Find What box, type “Sum of” (do NOTadd a space at the end)
Leave the Replace With box empty
Click Replace All.
This will leave a space at the start of the caption, so it’s different from the original field name, and will be accepted.
Instead of showing all the data in a chart, you can select a specific date range, and show only the data from that period. In this example, drop down lists of dates are created with data validation. Select Excel chart dates from a drop down list, and the chart changes to show the new range.