Model behavior

BY J. CARLTON COLLINS, CPA

Q: I have several worksheets of data that I want to pivot, but the Excel 2003 option to pivot multiple ranges of data no longer exists in Excel’s later editions. I find that I must copy and paste all workbook data onto a single worksheet to pivot the combined data. Is this my best approach, or can you recommend a better solution?

A: The Excel 2003 option to pivot data from multiple ranges is still in the later editions of Excel, but this tool is hidden. As explained in the January 2011 Technology Q&A topic “I Command You” (page 63), you can unhide this older PivotTable and PivotChart Wizard tool by adding it to your Quick Access toolbar or Ribbon. However, I recommend a better option using Excel’s newer Data Model capabilities, as follows. When creating a new PivotTable, check the box labeled Add this data to the Data Model, as circled below.

 

Initially you won’t see a difference. However, if you check this box again when pivoting your second range of data, Excel will combine the ranges, enabling you to pivot the combined data. After pivoting a second range of data, click the ALL button at the top of the PivotTable Fields dialog box, pictured below, to display the field names for the separate data ranges.

 

The final product will look just like a normal PivotTable, with the data contained within originating from multiple data sources.

J. Carlton Collins ( carlton@asaresearch.com ) is a technology consultant, CPE instructor, and a JofA contributing editor.

Note: Instructions for Microsoft Office in “Technology Q&A” refer to the 2013, 2010, and 2007 versions, unless otherwise specified.

Submit a question
Do you have technology questions for this column? Or, after reading an answer, do you have a better solution? Send them to jofatech@aicpa.org. We regret being unable to individually answer all submitted questions.

SPONSORED REPORT

How to make the most of a negotiation

Negotiators are made, not born. In this sponsored report, we cover strategies and tactics to help you head into 2017 ready to take on business deals, salary discussions and more.

VIDEO

Will the Affordable Care Act be repealed?

The results of the 2016 presidential election are likely to have a big impact on federal tax policy in the coming years. Eddie Adkins, CPA, a partner in the Washington National Tax Office at Grant Thornton, discusses what parts of the ACA might survive the repeal of most of the law.

QUIZ

News quiz: Scam email plagues tax professionals—again

Even as the IRS reported on success in reducing tax return identity theft in the 2016 season, the Service also warned tax professionals about yet another email phishing scam. See how much you know about recent news with this short quiz.