Best Microsoft Excel Bloggers

Tuesday, May 31, 2016

Updating Your Pivot Table

Automatically update your Pivot Table 


Whenever I start showing people Pivot Tables, one of the first questions asked is: “What happens when additional data is added to the source data?” 
First, changes to the existing data are automatically updated
 when you select the REFRESH button  located on the contextual Options tab.

If you add additional rows of data, Excel does not automatically add that information to the Pivot Table.
There are two ways to get Excel to automatically update the Pivot Table for any additional data.

ÜStarting with Excel 2010  you can turn your data into a table. If you do this, then Excel will automatically update the Pivot Table. This is by far the easiest way to do it.

Create a Table

Turn your data list into a table and it displays alternating row shading and AutoFilter drop down boxes.
1.      Click in the data.
2.      Click Insert tab.
3.      Click Table.
4.      Verify the data range and click OK.



That is it! Excel now considers your data to be a table and it will incorporate new rows and columns of information as  they are added.  If you open your Pivot Table and re-select your data source, the Pivot Table will now update as the range changes.  As data is added it will automatically be incorporated into the parameters of the original source data.

If you don’t control the data, then you may not be able to turn it into a table. In that case, the process is a bit more involved as you need to create a dynamic range, but it is definitely worth the effort.

Create a Dynamic Range

1.      Click in the source data.
2.      Select the Formulas tab and click on Define Name.
3.      In the New Name dialog box, name your data. In this example, I named it sales_data.
4.      The scope should stay at the default level of Workbook.
5.      In the Refers to: section type the following:



6.      =OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),COUNTA(Sheet1!$1:$1))
7.      Click OK.

What we have created  is  a dynamic range called sales_data. The OFFSET formula is telling Excel that on Sheet1, look at cell A1,  count how many cells are in Column A, and then it  counts how many cells are in row 1, so it will count and include new data as it is added.

Warning:  Make sure there is no other data below your dynamic range. If there is, this will not work.

Friday, February 12, 2016

Phantom Links in Excel Workbooks


Ever open up a worksheet and have an "Update Links" dialog box pop up and, even after searching, you can't find the link?

I have one worksheet that this kept happening in. Even trying to break the link wouldn't work.  Tom Urtis has provided a number of different methods to fix the problem and you can click here to see his solutions. He has a great tutorial on it.

If the first couple of his solutions don't work you and don't want to get into macros and you know it is a phantom link (so it won't impact your spreadsheet) then try my solution.

Click the Update Links icon in the dialog box  and Excel will display an  an Edit Links dialog box and it shows the data source. I tried breaking the link and I still got the Update Links message so I persevered.
Under the Edit Links dialog box is a Start Up Prompt icon.
Click on it and you can tell Excel to stop displaying the Update Links message when opening the file and to NOT update the links automatically.
It's not a perfect solution but at least you get rid of that annoying dialog box.

Monday, November 9, 2015

Go To Special



My primary use  for Go To Special  has been to select only the visible data in subtotals and pivot tables; however, it has a lot of other uses.
To learn more about this feature,click here to read my guest blogger's entry.


Tuesday, September 22, 2015

Creating a Gantt Chart in Excel

Cam't afford fancy software for project scheduling? Try using Excel.

The image below is the end result we will achieve.




In this example, we took each activity and provided a sideways bar to visually show when that activity occurred within the total project. 

To accomplish this we will be using some logic functions as well as conditional formatting.
The project example we are going to use is below:



Thursday, July 16, 2015

Copying Only the Cells that Contain Data


In my last blog entry I talked about using Go To Special to find blank cells. In this entry, written by guest Joe Helstrom, we cover using it to find blank cells as a useful way to only copy cells that contain data.

 Have you ever had a couple of columns of data that you wanted to combine into one column?  What do you do when there are blank spaces in some of the columns of data?  Many will cut and paste the data from one column to the other, then manually delete the rows containing blanks.  This begs the question; Is there an easier way?
Of course there is! One way is to use the GoTo Special feature in Excel.  This feature is located in the Home menu, under Find & Select on the far right hand side of the toolbar. 


jfog-1a
Click here for an example of how to do this.

Ms. Excel- Resident Excel Geek