当前位置:网站首页>[Excel knowledge and skills] Convert text numbers to numeric format
[Excel knowledge and skills] Convert text numbers to numeric format
2022-08-11 00:01:00 【When camellias bloom.】
Data Preparation
Note:The column 'purchase quantity' The value in this column is a text number
Only numbers in numeric format can be calculated, and numbers in text cannot be calculated
Sum the column 'purchase quantity', the result is an error, return 0 after carriage return
In view of the above problems, we need to convert the textual numbers in this column into numerical format to perform the summation operation, the method is as follows
1.VALUE function conversion method
Create a new column as an auxiliary column (column F) to store the converted values, enter =VALUE(D2)
Press the Enter key after entering the formula, you can see the converted numerical results, place the mouse in the lower right corner of the F2 cell, when the cross sign appears, double-click to complete the entire column of formula filling
You can use the SUM function to check whether to change to numeric mode
2. Multiply text numbers by 1 or add or subtract 0
With the help of the auxiliary cell F2, enter the number 1, then copy the cell where 1 is located (F2), select the number area in column D, then right-click the mouse, select the [Paste Special] command, and select [Multiply] in the operation method.], and then click the [OK] button
The final rendering result is shown below
You can use the SUM function to test whether to change to numeric mode
Supplement 1:The operation of adding 0 or subtracting 0 to a text-type number is the same as above, and readers can operate it by themselves
Supplement 2:Another similar method is to select any blank cell,
copy, then select the data range, click the mouseRight-click, select [Paste Special], select [Add] in the operation method, and then click the [OK] button
3. Use the column function
First select the data area, and then select the [Columns] function of the [Data] tab
The "Text Column Wizard" pane pops up, click OK in steps 1 and 2, and step 3 is shown below
The final rendering result is shown below
Note:This function is only suitable for processing single-column data.And the format of this column must be clean, and cannot have a messy relationship with other columns such as merged cells
4. Convert directly to digital function
After selecting the data area, click the warning mark in the upper left corner and click the [Convert to Number] command.
The final rendering result is shown below
Note:This function requires the first cell in the upper left corner of the data areaThe cell data must be a text value. If the cell is not a text value, after selecting the range, Excel will no longer provide the function of [Convert to Number]
5. Copy and paste
The final rendering result is shown below
边栏推荐
- [21天学习挑战赛——内核笔记](五)——devmem读写寄存器调试
- HGAME 2022 Final Pokemon v2 writeup
- Qt入门(六)——抽奖系统的实现
- [C language] Implementation of guessing number game
- Three-column layout implementation
- 22年全国程序员1月薪资出炉,才知道年薪 40 万以上的有这么多?
- ROS Experiment Notes - Validation of UZH-FPV Dataset
- 英文文献阅读时,如何做笔记?
- How to recover deleted files from the recycle bin, two methods of recovering files from the recycle bin
- 如果纯做业务测试的话,在测试行业有出路吗?
猜你喜欢
随机推荐
Part of the reserve bank is out of date
好用的翻译插件-一键自动翻译插件软件
oai 采样频率计算
App的回归测试,有什么高效的测试方法?
3. 容器功能
如果纯做业务测试的话,在测试行业有出路吗?
Based on the SSM to reach the phone sales mall system
鲲鹏编译调试及原生开发工具基础知识
Rust从入门到精通05-语句和表达式
深度学习 Transformer架构解析
u盘数据不小心删除怎么恢复,u盘数据删除如何恢复
C语言%(%d,%c...)
excel英文自动翻译成中文教程
In 22 years, the salary of programmers nationwide in January was released, only to know that there are so many with annual salary of more than 400,000?
阿里P7晒出1月工资单:狠补了这个,真香...
22年全国程序员1月薪资出炉,才知道年薪 40 万以上的有这么多?
Web-based meal ordering system in epidemic quarantine area
2. 依赖管理和自动配置
9. Rest style request processing
There is no recycle bin for deleted files on the computer desktop, what should I do if the deleted files on the desktop cannot be found in the recycle bin?