当前位置:网站首页>[excel knowledge and skills] Excel data type
[excel knowledge and skills] Excel data type
2022-06-26 01:21:00 【When Camellia blossoms.】

Excel The data types in include values 、 Text 、 Date time 、 Logical and error values
1. value type
Numerical values refer to all numerical forms representing quantities
for example , Student achievement 、 Individual height and weight 、 The output value and profit of the enterprise
The value can be positive , It can also be negative , And can participate in the calculation
2. Text type
Text usually refers to some non numerical characters and symbols
for example , Company name 、 Driving school test subjects 、 Employee name, etc
Many numbers that do not require numerical calculation can also be saved as text , Such as telephone number 、 Id card number 、 Bank card number, etc
When you enter text directly into a formula , Use a pair of half width double quotation marks ("") contain , As formula =A1="Hello World !"
3. Date and time type
stay Excel in , The date and time are in a special way " Sequence value " Stored in form
Enter the date and then set the cell number format to " routine ", The... Of the date will be displayed in the cell Sequence value
As a special numerical form , The date carries all the arithmetic functions of the value . for example , To calculate the number of days between two dates , You can directly enter two dates in different cells , In the 3 Cells use cell references and subtract

The date series value is an integer , The time series value is a decimal . The unit of value of a day is 1,1 Hours can be expressed as 1/24 God ,1 Minutes can be expressed as 1/(24*60) God , Every moment of the day can be represented by a sequence of decimal values
for example , At noon, 12:00:00 The sequence value of is 0.5( Half the day ),12:30:00 The sequence value of is approximately 0.520833


Combine the decimal part of the time with the integer part of the date , A complete date time point can be represented by a sequence value, for example ,2020 year 9 month 10 Noon 12:00:00 The sequence value of is 44084.5

4. Logical value type
Logical values include TRUE( really ) and FALSE( false ) Two kinds of
hypothesis A1 Cells are arbitrary numbers , Use the formula "=A1 > 0", Can return to TRUE( really ) or FALSE( false )

When four operations are performed between logical values or between logical values and numerical values ,TRUE Is equivalent to 1,FALSE Is equivalent to 0
FALSE * FALSE = 0

TRUE - 1 = 0

5. Error value type
The user is using Excel You may encounter some error messages in the process of , Such as #N/A、#VALUE!、#DIV/0 etc. , There are many reasons for these error values , Common error values and their causes are shown in the following table
| Wrong value | Cause of occurrence |
| #VALUE! | Text is entered when a number or logical value is required ,Excel It cannot be converted to the correct data type |
| #DIV/0! | Use 0 Value as divisor |
| #NAME? | A nonexistent name is used or the function name is misspelled |
| #N/A | In the lookup function , Could not find a match |
#REF! | Deleted cells or worksheets that have references to other formulas , Invalidate the cell reference |
| #NUM! | In functions that require numeric arguments , An unacceptable parameter was used |
| #NULL! | 1. The correct region operator is not used in the formula , An empty reference region is generated , For example, the formula "=SUM(A3:A10)" Misspelled as "=SUM(A3 A10)" 2. Cross operator is used between region references ( Space character ) To specify the intersection of two disjoint regions . for example , The formula "=SUM(A1:A5 C1:C3)",A1:A5 and C1:C3 No intersecting regions |
#VALUE!

#DIV/0!

#NAME?
SUM() Misspelled function

#N/A
#REF!
#NUM!
Yes -2 take a square root

#NULL!
边栏推荐
猜你喜欢

halcon之区域:多种区域(Region)生成(4)

FIFO code implemented in C language

【花雕体验】11 上手ESP32C3

LabVIEW开发监控聚变实验脉冲电源

The kth largest element in the array

New library launched | cnopendata China new house information data

Camera - 02 image sensor

数据分析——切片器、数据透视表与数据透视图(职场必备)

远程增量同步神器rsync

Xinku online | cnopendata text data of IPO declaration and issuance of A-share listed companies
随机推荐
Template engine - FreeMarker first experience
经典面试题之老鼠试药与汉明码
Native DOM vs. virtual DOM
Handling of @charset UTF-8 warning problems during vite packaging and construction;
关于EF翻页查询数据库
Etcd database source code analysis cluster communication initialization
制作3D浪漫炫酷相册【附源码】
Optimized three-dimensional space positioning method and its fast implementation in C language
多接口调用,使用Promise.all、Promise.race和Promise.any
Radio boxes are mutually exclusive and can be deselected at the same time
Sword finger offer II 096 String interleaving
Discrete Mathematics - 01 mathematical logic
RT-Thread 项目工程搭建和配置--(Env Kconfig)
FreeRTOS+STM32L+ESP8266+MQTT协议传输温湿度数据到腾讯云物联网平台
How to effectively promote products
Flex & Bison 开始
Making 3D romantic cool photo album [source code attached]
The maze of God's perspective in robot vision
2022年育婴员(五级)考试试题及答案
C#线程池控制Semaphore