---
title: "VLOOKUP a number key in Google Sheets | PracticeExcel"
description: "In G2, use VLOOKUP to return the Salary of the employee whose ID is in F2."
canonical_url: "https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id"
locale: en
meta:
  "og:description": "In G2, use VLOOKUP to return the Salary of the employee whose ID is in F2."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_VLOOKUP%2Ba%2Bnumber%2Bkey%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRzIsIHVzZSBWTE9PS1VQIHRvIHJldHVybiB0aGUgU2FsYXJ5IG9mIHRoZSBlbXBsb3llZSB3aG9zZSBJRCBpcyBpbiBGMi4%2Ceyebrow_VLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRyJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJJRCIsIk5hbWUiLCJEZXBhcnRtZW50IiwiU2FsYXJ5Il19LHsibiI6MiwiY2VsbHMiOlsiMTAxIiwiTWFyaWEiLCJTYWxlcyIsIiJdfSx7Im4iOjMsImNlbGxzIjpbIjEwMiIsIkpvbmFzIiwiRmluYW5jZSIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIjEwMyIsIlNvZmllIiwiSVQiLCIiXX0seyJuIjo1LCJjZWxscyI6WyIxMDQiLCJMYXJzIiwiU2FsZXMiLCIiXX0seyJuIjo2LCJjZWxscyI6WyIxMDUiLCJFbW1hIiwiSFIiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9zaGVldHMvcHJhY3RpY2Uvdmxvb2t1cC92bG9va3VwLW51bWJlci1pZCI%2Cs_N9mhW-X9DRvbh-F-.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "VLOOKUP a number key in Google Sheets | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_VLOOKUP%2Ba%2Bnumber%2Bkey%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRzIsIHVzZSBWTE9PS1VQIHRvIHJldHVybiB0aGUgU2FsYXJ5IG9mIHRoZSBlbXBsb3llZSB3aG9zZSBJRCBpcyBpbiBGMi4%2Ceyebrow_VLOOKUP%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRyJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJJRCIsIk5hbWUiLCJEZXBhcnRtZW50IiwiU2FsYXJ5Il19LHsibiI6MiwiY2VsbHMiOlsiMTAxIiwiTWFyaWEiLCJTYWxlcyIsIiJdfSx7Im4iOjMsImNlbGxzIjpbIjEwMiIsIkpvbmFzIiwiRmluYW5jZSIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIjEwMyIsIlNvZmllIiwiSVQiLCIiXX0seyJuIjo1LCJjZWxscyI6WyIxMDQiLCJMYXJzIiwiU2FsZXMiLCIiXX0seyJuIjo2LCJjZWxscyI6WyIxMDUiLCJFbW1hIiwiSFIiLCIiXX1dLCJ0YXJnZXQiOlsxLDNdfX0%2Cp_Ii9zaGVldHMvcHJhY3RpY2Uvdmxvb2t1cC92bG9va3VwLW51bWJlci1pZCI%2Cs_N9mhW-X9DRvbh-F-.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **VLOOKUP a number key**

**Premium**

In G2, use VLOOKUP to return the Salary of the employee whose ID is in F2.

G2fx

|  | A | B | C | D | E | F | G | H |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | ID | Name | Department | Salary |  | ID | Salary | |
| 2 | 101 | Maria | Sales | 42000 |  | 103 |  | |
| 3 | 102 | Jonas | Finance | 51000 |  |  |  | |
| 4 | 103 | Sofie | IT | 58000 |  |  |  | |
| 5 | 104 | Lars | Sales | 39500 |  |  |  | |
| 6 | 105 | Emma | HR | 46000 |  |  |  | |
| 7 |  |  |  |  |  |  |  | |
| 8 |  |  |  |  |  |  |  | |

**Premium lesson**

## **Unlock VLOOKUP and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**INDEX and MATCH****XLOOKUP**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/sheets/practice/vlookup/vlookup-number-id)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id#webpage","@type":"WebPage","description":"In G2, use VLOOKUP to return the Salary of the employee whose ID is in F2.","name":"VLOOKUP a number key in Google Sheets","url":"https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id","breadcrumb":{"@id":"https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Google Sheets practice exercises","item":"https://practiceexcelonline.com/sheets","position":2},{"@type":"ListItem","name":"VLOOKUP","item":"https://practiceexcelonline.com/sheets/practice/vlookup","position":3},{"@type":"ListItem","name":"VLOOKUP a number key in Google Sheets","position":4}]},{"@id":"https://practiceexcelonline.com/sheets/practice/vlookup/vlookup-number-id#/schema/learning-resource/1","@type":"LearningResource","description":"In G2, use VLOOKUP to return the Salary of the employee whose ID is in F2.","educationalLevel":"beginner","isAccessibleForFree":false,"learningResourceType":"exercise","name":"VLOOKUP a number key","teaches":"VLOOKUP"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
