0% found this document useful (0 votes)
93 views

Week 7 1 Lookups

Here are the steps to use XLOOKUP to look up values from the master data table: 1. In the Project Team table, add a new column called "ID" and populate it with the IDs from the master data table for each person. 2. Use XLOOKUP to look up values from the master data table: =XLOOKUP(B2,Master!A:A,Master!B:B,"NA") This will look up the ID in column B of the Project Team table in column A of the master data, and return the corresponding value from column B. 3. Repeat for other columns like Company, Country, etc. using the relevant columns in

Uploaded by

Bəhmən Orucov
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views

Week 7 1 Lookups

Here are the steps to use XLOOKUP to look up values from the master data table: 1. In the Project Team table, add a new column called "ID" and populate it with the IDs from the master data table for each person. 2. Use XLOOKUP to look up values from the master data table: =XLOOKUP(B2,Master!A:A,Master!B:B,"NA") This will look up the ID in column B of the Project Team table in column A of the master data, and return the corresponding value from column B. 3. Repeat for other columns like Company, Country, etc. using the relevant columns in

Uploaded by

Bəhmən Orucov
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 18

ID First Name Last Name Salary ID 53

72 Emily Smith $64,901 Salary $58,339


66 James Anderson $70,855
14 Mia Clark $188,657 First Name Mia
30 John Lewis $97,566 Salary $188,657
53 Jessica Walker $58,339
56 Mark Reed $125,180 Last Name Lewis
79 Richard Lopez $91,632 Salary $97,566

ID Name Department Salary Employee Salary


66 Ross Sales $25,000 Ross $25,000
14 Helen Sales $30,000
30 Tamara Accounting $19,000
53 Zoey Marketing $23,000
56 Jackson Accounting $30,000
79 Lehman Sales $27,000

ID Name Department Salary Department Salary


66 Ross Sales $25,000 Accounting $19,000
14 Helen Sales $30,000
First Match. If the leftmost column
30 Tamara Accounting $19,000 of the table contains duplicates, the
53 Zoey Marketing $23,000 VLOOKUP function matches the
first instance.
56 Jackson Accounting $30,000
79 Lehman Sales $27,000

ID First Name Last Name Salary First Name MIA


66 Emily Smith $64,901 Salary $188,657
14 James Anderson $70,855
30 Mia Clark $188,657 ! Vlookup is Case-insensitive
53 John Lewis $97,566
56 Jessica Walker $58,339
79 MIA Reed $125,180
79 Richard Lopez $91,632
t column
cates, the
es the
Return Value from a Range:
Price Range Min PMT Purchase Price PMT
0-$10,000 $0 $400 $27,000 $1,000
$10,000-$20,000 $10,001 $600
$20,000-$30,000 $20,001 $1,000
$30,000-$40,000 $30,001 $12,000 Purchase Price PMT
$40,000-$50,000 $40,001 $14,000 $30,003 $12,000
$50,000-$1,00,000 $50,001 $16,000

Group Ages in Range:


Age Age Group Name Age
0 0-15 Ross 28
16 16-30 Helen 12
31 31-45 Tamara 29
46 46-60 Zoey 54
61 60+ Jackson 32
Lehman 45
Age Group
16-30
0-15
16-30
46-60
31-45
31-45
Company CEO Salary
Activision Blizzard Inc Robert A. Kotick Not
CBS Corp Leslie Moonves 62,157,026
Cheniere Energy Inc Charif Souki Not
Credit Acceptance Corp Brett A. Roberts Not
Discovery Communications Inc David M. Zaslav Not
Disney (Walt) Co Robert A. Iger Not
Exxon Mobil Corp R. W. Tillerson 40,266,501
Gamco Investors Inc Mario J. Gabelli 68,970,486
HCA Holdings Inc Richard M. Bracken Not
Honeywell International Inc David M. Cote 33,247,178
Jefferies Group Llc Richard B. Handler Not
Level 3 Communications Inc James Q. Crowe Not
Liberty Interactive Corp Gregory B. Maffei 45,302,040
Mckesson Corp John H. Hammergren 51,744,999
Nike Inc Mark G. Parker 35,212,678
Nuance Communications Inc Paul A. Ricci Not
Oracle Corp Lawrence J. Ellison Not
Pall Corp Lawrence Kingsley Not
Ralph Lauren Corp Ralph Lauren 36,325,782
Tesla Motors Inc Elon Musk Not
Viacom Inc Philippe P. Dauman Not
Yahoo Inc Marissa A. Mayer 36,615,404
Name 2012 Salary
David M. Cote 33,247,178
Gregory B. Maffei 45,302,040
John H. Hammergren 51,744,999
Leslie Moonves 62,157,026
Mario J. Gabelli 68,970,486
Marissa A. Mayer 36,615,404
Mark G. Parker 35,212,678
R. W. Tillerson 40,266,501
Ralph Lauren 36,325,782
VLOOKUP Explained

Report 1 July Customers


USE next spreadshe
3 4
Master data (4_Dat
Customer Name Company Country
Robert Spear Inkly USA
Ann Withers Didactic Switzerland
Gary Miller WenCaL US USA
Wolfgang Ramjac Arcade Germany

Report 2 Are these customers included in master data?

Customer Code Exists?


4093 4093
4761 4761
4073 4073
4985 #N/A
4594 4594
4836 4836
USE next spreadsheets as Customer
Master data (4_Data for VLookup)
Customer Master data

Customer Customer ID Company Country


Ann Withers 4236 Didactic Switzerland
Betina Bauer 4831 Pes Austria
Brigitte Bond 4654 Twistrr Productivity Austria
Corinna Schmidt 4510 Kryptis Austria
Crystal Doyle 4761 Silvrr Switzerland
Dan Ziegler 4594 Baden Packaging Germany
Daniel Garrett 4993 Rehire Austria
Daniela Schreiber 4619 Baden Paper Germany
Ewan Thompson 4073 Perino UK
Gary Miller 4731 WenCaL US USA
James Willard 4556 Blend USA
Kim West 4991 Right App Play USA
Maria Tot 4919 Twistrr Kids Austria
Mike Saban 4769 Twistrr Utility Austria
Natalie Porter 4593 Right App Learning USA
Paul Garza 4364 Kind Ape USA
Paul Hill 4354 Fightrr Switzerland
Paul Wells 4370 Hackrr Europe UK
Peter Ramsy 4287 deRamblr Germany
Richard Elliot 4706 Voltage USA
Robert Blume 4822 Twistrr Games Austria
Robert Marquez 4882 Pet Feed USA
Robert Musser 4027 Dasring Austria
Robert Richardson 4836 WenCaL UK UK
Robert Spear 4083 Inkly USA
Roger Mun 4093 Sleops USA
Stevie Bridge 4956 Hackrr USA
Walter Miller 4314 Twistrr Clothes Austria
Wolfgang Ramjac 4299 Arcade Germany
City Chongqing São Paulo Kathmandu Casablanca Lisbon Mumbai
Temp 50 73 48 55 48 73

Your City: Chongqing


Your Temp: 50
Honiara Edmonton Anadyr Lhasa
82 12 41 39
ID First Name Last Name Salary ID 53
72 Emily Smith $64,901 Salary $58,339
66 James Anderson $70,855
14 Mia Clark $188,657
30 John Lewis $97,566
53 Jessica Walker $58,339
56 Mark Reed $125,180
79 Richard Lopez $91,632

ID First Name Last Name Salary First Name Mia


72 Emily Smith $64,901 Salary $188,657
66 James Anderson $70,855
14 Mia Clark $188,657 Last Name Lewis
30 John Lewis $97,566 Salary $97,566
53 Jessica Walker $58,339
56 Mark Reed $125,180
79 Richard Lopez $91,632
XLOOKUP

Project Team USE next spreads


Name Yearly Salary Division Department Bonus
Master data (8_D
Kim West 60,200 Utility Sales 10%
James Willard 39,627 Productivity Sales 5%
Richard Elliot 29,727 Productivity Finance 0%
Stevie Bridge 93,668 Game Sales 10%
Roger Mun 134,000 Productivity Finance 15%
Paul Garza 34,808 Productivity Sales 5%
Robert Marquez 134,468 Productivity Sales 15%
Natalie Porter 45,000 Productivity Procurement 5%
USE next spreadsheets as Customer
Master data (8_Data for XLOOKUP)
Master data for employees
Bonus Scheme

Start Date Division Department Name Salary Bonus


5/1/2000 Game Sales Peter Ramsy 60,000 10%
9/1/2001 Productivity Procurement Ann Withers 50,000 8%
7/1/2002 Game Sales Wolfgang Ramjac 100,000 15%
8/1/2004 Productivity Finance Daniel Garrett 30,000 5%
1/1/2005 Productivity Sales Robert Spear 10,000 0%
1/1/2005 Productivity Sales Paul Garza
4/5/2006 Game Finance Paul Hill
9/1/2006 Utility Finance Gary Miller
9/1/2006 Game Sales Ewan Thompson
1/1/2009 Productivity Finance Richard Elliot
1/1/2009 Utility Finance Daniela Schreiber
1/1/2009 Utility Sales Brigitte Bond
1/15/2009 Utility Sales Walter Miller
12/1/2009 Productivity Sales James Willard
7/15/2010 Game Procurement Corinna Schmidt
9/1/2011 Productivity Finance Roger Mun
10/1/2011 Game Sales Stevie Bridge
10/1/2011 Utility Procurement Andre Cooper
12/1/2012 Productivity Finance Crystal Doyle
2/1/2014 Utility Sales Kim West
1/1/2015 Game Sales Maria Tot
8/8/2015 Utility Procurement Mike Saban
7/1/2016 Utility Finance Robert Blume
9/1/2016 Game Sales Paul Wells
11/1/2016 Utility Finance Robert Richardson
3/1/2017 Productivity Sales Robert Marquez
12/1/2017 Utility Sales Stevie Bridge
1/1/2018 Game Sales Kim West
9/24/2018 Game Finance Lukas Hofer
10/1/2018 Productivity Procurement Robert Musser
1/1/2019 Game Finance Betina Bauer
2/1/2019 Productivity Procurement Natalie Porter
2/1/2019 Utility Finance Dan Ziegler
ID Employee Name Address Frequency
154 Paige Jones 427 John A. Creighton Boulevard Anytown, USA 12345 26
240 Elijah Ward 888 192nd Street Anytown, USA 12345 26
319 Elizabeth Marshall 530 Dodge Street Anytown, USA 12345 52
331 Cooper Smith 271 Dodge Street Anytown, USA 12345 12
428 Isabella Harris 715 136th Street Anytown, USA 12345 26
451 Kaylee Perez 772 North 30th Street Anytown, USA 12345 12
527 Kimberly Hall 652 Regency Parkway Drive Anytown, USA 12345 12
540 Jesus Clark 803 Fontenelle Boulevard Anytown, USA 12345 52
665 Kylie Woods 245 Fontenelle Boulevard Anytown, USA 12345 26
981 Jackson Stephens 827 Harrison Street Anytown, USA 12345 52
Salary Tax Rate Insurance 401k Employee ID
42,900.00 15% 100.00 8% 319
64,600.00 16% 200.00 7% Employee Address
72,300.00 24% 300.00 3% 530 Dodge Street Anytown, USA 12345
99,700.00 20% 300.00 5%
57,600.00 25% 100.00 5%
82,800.00 23% 200.00 7%
41,700.00 17% 300.00 4%
83,100.00 18% 200.00 5%
70,400.00 21% 100.00 1%
50,200.00 18% 100.00 8%

Employee ID Employee Name Check #


319 Elizabeth Marshall 164
Employee Address
530 Dodge Street Anytown, USA 12345
Pay Deductions
1,390.38 Taxes
Insurance
Retirement

Total
Employee Name Check # Net Pay
Elizabeth Marshall 164 $ 796.99

Pay Deductions
1,390.38 Taxes 251.68
Insurance 300.00
Retirement 41.71

Total $ 593.39

me Check # Net Pay


shall 164 $ 796.99

A 12345
Deductions
0.38 Taxes 251.68
Insurance 300.00
Retirement 41.71

Total $ 593.39

You might also like