Excel tutorial
/

Functions

Intermediate

Excel VALUE function: convert numbers stored as text into real numbers

The VALUE function turns numbers stored as text into real numbers: prices from 1C and websites, “12 500 UZS”, “25 kg”, percentages — with examples.

Numbers copied from accounting software, a bank statement, a website or a CSV file often arrive as text. They look like numbers, but =СУММ() ignores them and the total comes out as 0. Worse, sometimes the report is just quietly wrong.

The VALUE function turns text that looks like a number into a real number. You need it most when you cut a number out of text: 25 from “25 kg”, 45 from “INV-0045”, 12500 from “12 500 UZS”. LEFT, MID and SUBSTITUTE always return text, and turning that text into a number is VALUE’s job.

Книга1 - Excel
—☐✕
C2fx=ЗНАЧЕН(B2)
ABCD
1ProductPrice (text)Price (number)
2Flour125000125 000
3Sugar1850018 500
4Rice3200032 000
5Total01175 5002
6
Готово
Prices in column B are text, so SUM returns 0 (1). Column C, converted with VALUE, adds up correctly (2)

Syntax

=ЗНАЧЕН(text)

  • text — text that looks like a number, date or time: a value in quotes ("125000", "45%") or a cell holding such text (B2).

The result is a number. If the text can’t be read as a number (for example “none” or “12 kg”), Excel returns #VALUE!. VALUE ignores ordinary leading and trailing spaces: " 7800 " also becomes 7800.

Using VALUE step by step

1

Select the cell for the result — for example C2, next to the text prices.

2

On the Формулы tab click Текстовые and pick VALUE from the list.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
C2fx
ABCD
1ProductPrice (text)Price (number)
2Flour125000
3Sugar18500
4Rice32000
5
Готово

3

In the Text box type or click the text cell — B2, then click OK.

Книга1 - Excel
—☐✕
C2fx=ЗНАЧЕН(B2)
ABCD
1ProductPrice (text)Price (number)
2Flour125000125000
3Sugar18500
4Rice32000
5
Готово

4

Or just type it: =ЗНАЧЕН(B2) and Enter. It’s faster.

5

Double-click the fill handle (the small square at the bottom-right of C2) — the formula fills the whole column. The results now sit on the right: they are real numbers.

Practical examples

Three examples, from simple to advanced. The idea is always the same: first strip the extra text or cut out the digits, then turn them into a number with VALUE and calculate.

Книга1 - Excel
—☐✕
D2fx=B2*(1-ЗНАЧЕН(C2))
ABCDE
1ProductPriceDiscount (text)New price
2Kettle120 00015%102 000
3Iron350 00010%315 000
4Hair dryer280 00025%210 000
5
Готово
Example 1: VALUE reads the text “15%” as the number 0.15, which is then used for the discounted price
Книга1 - Excel
—☐✕
C2fx=ЗНАЧЕН(ЛЕВСИМВ(B2;НАЙТИ(" ";B2)-1))
ABCDEF
1ProductQuantity (text)kgPrice per kgAmount
2Rice25 kg2514 000350 000
3Flour50 kg506 500325 000
4Sugar10 kg1013 000130 000
5
Готово
Example 2: FIND locates the space, LEFT cuts the digits before it (“25” is still text), VALUE turns them into a number
Книга1 - Excel
—☐✕
B2fx=ЗНАЧЕН(ПОДСТАВИТЬ(ПОДСТАВИТЬ(A2;" UZS";"");" ";""))
ABCD
1Price (from website)Price (number)
212 500 UZS12 500
38 000 UZS8 000
4145 000 UZS145 000
5Total165 500
6
Готово
Example 3: the inner SUBSTITUTE removes “ UZS”, the outer one removes the thousands spaces, and VALUE turns the remaining “12500” into a number

Pro level: you don’t always need VALUE — which method when

In arithmetic Excel converts text to numbers by itself, so short tricks work too:

  • =B2*1 or =B2+0 — same result as VALUE.
  • =--B2 (double minus) — the most common form in professional formulas. For example, a total without a helper column: =СУММПРОИЗВ(--B2:B4).
  • No formulas, in place: select the column → Данные → Текст по столбцам → click Finish right away. Numbers stored as text become numbers instantly.
  • Independent of region: NUMBERVALUE lets you set the decimal and group separators yourself: =NUMBERVALUE("1 250,5";",";" ") → 1250.5. If the file is opened on computers with different language settings, this is the safer choice.

VALUE also understands date and time text: =ЗНАЧЕН("18:30") → 0.770833 (a fraction of a day), and a date typed in your system format, such as “15.01.2025”, becomes the serial number 45672.

Книга1 - Excel
—☐✕
C4fx=ЕСЛИОШИБКА(A4*1;"Check")
ABCD
1EnteredWith zeroWith flag
2125000125000125000
3 7800 78007800
4none0Check
5350035003500
6
Готово
“*1” works just like VALUE. IFERROR with zero hides the error, while a “Check” flag points straight at the problem row

Try it in the simulator

Prices in column B are stored as text, so the SUM in B6 shows 0. Type =ЗНАЧЕН(B2) in C2 and fill it down to C5, then type =СУММ(C2:C5) in C6 to get the correct total.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1ProductPrice (text)Price (number)
2Flour125000
3Sugar18500
4Rice32000
5Oil41000
6Total0
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

117 / 154