

It’s in Excel 2003 format (xls), and the file is zipped.
Varsham movie collection report code#
To see the code and test the sample file, you can download the Excel movies database file. The criteria sheet and Lists sheet are automatically updated, so no changes need to be made to those sheets. Then, select a category or actor, and a report is created on Select Movies sheet, with all the movies that meet the selected criteria. To use the database, enter movie information on the Movies List sheet. Indy is coerced to head to Peru at the behest of a young man whose friendand Indy's colleagueProfessor Oxley has been captured for his knowledge. The pivot tables are automatically refreshed when the workbook opens, and when you deactivate the data entry sheet. Set during the Cold War, the Sovietsled by sword-wielding Irina Spalkoare in search of a crystal skull which has supernatural powers related to a mystical Lost City of Gold. These are pivot tables, based on the MovieList database. The final sheet in the workbook stores the lists that are used in the yellow drop down cells. If you select an actor, the Actor criteria range is used. If you select a Category from the drop down list, the Category criteria range is used for the Advanced Filter. There’s a criteria area for each type of filter, stored on the CriteriaSel sheet. The code runs an Advanced Filter, just as you could do manually. To see the code, right-click the Select Movies sheet tab, and click View Code. The yellow cells are named (SelCat and SelActor), and the block of green cells is a range named ExtractMovies.

Select from either of those, and code automatically runs, to filter a list of movies that match your selection. On the report sheet, named Select Movies, there are two drop down lists – one for Category and one for Actor.

In Excel 2007 you could use an Excel Table instead, and in Excel 2003 you could use an Excel List. The database was named MovieList, using a dynamic range. On the data entry sheet, named Movies List, there’s a table with seven columns.Ī unique ID number is entered for each movie, then the title, and other information about the movie. In this database you can store movie data, then create a list of movies for a specific category or actor. This example shows a movie collection database in Excel, but you could set up something similar to keep track of books, sales orders, or almost anything else. For a simple database, Excel can do a pretty good job of organizing and reporting your data.
