-
Book Overview & Buying
-
Table Of Contents
Data Analysis and Business Modeling with Excel 2013
By :
Now that we have gathered our data, we can start asking questions of interest about our dataset. For example, we can ask how much money did Fast Forms make in 2014? To answer this question, we will start by using the well-known VLOOKUP function, and then, we will use the exciting new data model's features.
The pmthistory table has all of the applications that were submitted in 2014. It does not have the dollar amount that was charged to the customer. It does have a column named rateplanid and this column points to the table called rateplan that will tell us the dollar amount we are looking for. In the database world, the rateplanid column in the pmthistory table is known as a foreign key. The column id in the rateplan table is known as the primary key. Let's create a VLOOKUP function to pull the price column from the rateplan table into the pmthistory table:
Select the pmthistory tab and type price into cell G1, as shown here:

In cell G2, type =vlookup and then select cell D2...
Change the font size
Change margin width
Change background colour