Перейти к содержимому
GridBelt
  • Тест по Excel
  • Упражнения
  • Программы
  • Цены
Войти
Начать бесплатный тест
  • Тест по Excel
  • Упражнения
  • Программы
  • Цены
ВойтиСоздать аккаунт
Начать бесплатный тест
GridBelt

Тренируйте навыки Excel прямо в браузере.

Тест по Excel

  • Уровень 1: Начальный
  • Уровень 2: Средний
  • Уровень 3: Продвинутый
  • Подготовка к тесту по Excel за 7 дней
  • Таблица лидеров
  • Тест по Excel на собеседовании
  • Тест по Excel от Indeed

Упражнения

  • Все упражнения
  • Программы
  • Для начинающих

Материалы

  • Формулы Excel
  • Горячие клавиши Excel

Компания

  • О проекте
  • Цены
  • Как мы проверяем

© GridBelt. Все права защищены.

  • Политика конфиденциальности
  • Условия использования
  • Политика возврата средств

Excel — товарный знак корпорации Microsoft. Indeed, TestGorilla, SHL и другие товарные знаки принадлежат их владельцам. GridBelt — независимый сайт для практики: он не связан с Microsoft, TestGorilla, SHL или Indeed, не одобрен и не спонсируется ими.

  1. Упражнения
  2. /
  3. VLOOKUP

VLOOKUP practice: pull the unit price for every order (exact match)

  • Начальный
  • ~5 мин
  • VLOOKUP

Текст упражнения на английском

An office-supplies wholesaler exported 100 sales orders for October 2026: order ID, date, SKU and quantity in columns A to D. The price list sits to the right of the orders, in G2:J26 — 25 SKUs with product name, category and unit price. Billing needs the unit price on every order line. Instead of copying prices by hand, pull each one from the price list with a lookup on the SKU.

Что нужно сделать

  1. 1Click E2 and type =VLOOKUP(C2, — the SKU of this order is the value to look for.
  2. 2Select the whole price list G2:J26 as the table, then press F4 (Windows) or ⌘T (Mac) so it reads $G$2:$J$26; the table must not move when you fill down.
  3. 3Type ,4,FALSE) and press Enter: the unit price is the 4th column of the table (SKU, Product, Category, Unit price) and FALSE asks for an exact SKU match.
  4. 4Fill E2 down to E101 (double-click the fill handle). Spot-check E101: its formula must still reference $G$2:$J$26.

Ячейки ответа

Обратная связь

Введите формулу в таблицу, нажмите Enter, а затем «Проверить». Мы оцениваем значение в каждой ячейке ответа и формулу, которая его даёт.

Задания

  1. Не провереноIn E2, look up the unit price of the SKU in C2 from the price list G2:J26 with VLOOKUP (exact match), then fill the formula down to E101. XLOOKUP or INDEX/MATCH are accepted too.

Для заданий в таблице рекомендуем компьютер. Лист прокручивается внутри этой области.

StartInsertFormulasDataView
A1fxГотовим вашу рабочую книгу…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Введите формулу в лист, затем нажмите «Проверить».

Об этом упражнении

Набор данных (строк: 100) на одном листе, одна ячейка ответа, около 5 мин. Проверка прямо в браузере: значение и формула, которая его даёт, с обратной связью о том, что исправить.

Как решить

  • E2=VLOOKUP(C2,$G$2:$J$26,4,FALSE)

VLOOKUP searches the first column of the table ($G$2:$J$26, the SKUs) for the value in C2 and, once it finds the row, returns the value from the column you number — 4 is Unit price because the table starts at column G. FALSE (or 0) demands an exact SKU match; without it VLOOKUP assumes the list is sorted and returns the nearest smaller SKU, which gives wrong prices without any error. Because the formula points at the price list rather than copying numbers, changing a price in column J updates every order line that uses that SKU.

Pitfall 1: the column number counts from the first column of the table, not from column A — if your table starts at G, Unit price is column 4 even though it sits in column J. Pitfall 2: an unlocked table (G2:J26) slides down one row each time you fill, so the last orders search an empty range and return #N/A; lock it with F4 / ⌘T. Pitfall 3: VLOOKUP can only return columns to the right of the lookup column and breaks when someone inserts a column inside the table (the hard-coded 4 then points at a different field). Alternatives: =XLOOKUP(C2,$G$2:$G$26,$J$2:$J$26) names the return column directly (Excel 365), and =INDEX($J$2:$J$26,MATCH(C2,$G$2:$G$26,0)) is the classic version-independent form; both survive inserted columns. Performance: on tens of thousands of rows, VLOOKUP with FALSE scans the whole list for every row; sorting the list and using TRUE with an exact-match guard, or XLOOKUP with binary search mode 2, is dramatically faster.

Другие рабочие способы

  • =XLOOKUP(C2,$G$2:$G$26,$J$2:$J$26) — Excel 365; the return column is named, no column counting
  • =INDEX($J$2:$J$26,MATCH(C2,$G$2:$G$26,0)) — INDEX/MATCH, works in every Excel version
  • =VLOOKUP(C2,$G$2:$J$26,4,0) — 0 is the same as FALSE

Частые ошибки

Writing =VLOOKUP(C2,$G$2:$J$26,3,FALSE): column 3 of the table is Category, so every order shows a text like "Paper" instead of the price. Count the columns of the table, starting with the SKU column as 1.

Как мы проверяем

Принимается любая формула, которая даёт верный результат, если только задание не называет функцию: тогда другая функция даёт половину балла. Мы сравниваем значения с небольшим допуском и не учитываем регистр и пробелы в тексте. Верное число, введённое вручную вместо формулы, даёт половину балла. Задания с несколькими ячейками получают полный балл, если верны 100% ячеек, и половину — если верны от 50%. Там, где это важно, мы также меняем входную ячейку в копии вашего листа и проверяем, что формула пересчитывается правильно.

Ответы рассчитаны по правилам Excel 365 и 16 ноября 2026 г. сверены в нашей системе проверки. Автор: GridBelt team.

Входит в программы

  • Learn Excel From ScratchДень 7

Похожие упражнения

  • Look up a customer tier from another sheetНачальный, ~5 мин
  • Show "Not found" instead of #N/AСредний, ~7 мин
  • Replace VLOOKUP with XLOOKUPСредний, ~6 мин
  • INDEX and MATCH exact lookupСредний, ~6 мин

Справка по функции

Официальная документация

Следующее упражнение

Look up a customer tier from another sheet