Excel/pivot table


Dear Sir,

please see the attached table

i wish to create a pivot table such that i can easily view the records. probably i would only need the name, the country and the number of rooms

i try to create a pivot table but seems like it is not organised. i want to be able to click, for example, john, and the pivot table will be able to show me how many rooms and nights he stayed and booked

can i trouble you to show me a step by step instruction to creating the pivot table?

thanks a lot

Hi Chin,

Have you tried working with Data - Filter - Auto filter.
Looks like what you need can be handled using filters.
You can just select John and see the number of rooms in different lines.

Alternatively, if you want totals only, then you can try using Sub totals on this data where the subtotals get added at every change in the name.

Hope this helps.

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts




I can answer questions related to the following topics: 1. MS Excel - Creating and Linking Formulae, Running Pivot Tables, Vlookup etc. 2. Macros / VBA - Creating Macros to do specific jobs. Importing / Exporting / Validating Data in excel through Macros.


I've been working on excel for over 10 years and on VBA macros for over 3 years now.

Bachelor of Commerce, Chartered Accountant from The Institute of Chartered Accountants of India

©2017 About.com. All rights reserved.

[an error occurred while processing this directive]