当前位置:网站首页>Quickly filter data such as clock in time and date: Excel filter to find whether a certain time point is within a certain time period
Quickly filter data such as clock in time and date: Excel filter to find whether a certain time point is within a certain time period
2022-07-01 03:45:00 【My little brother】
You need to quickly filter clock in data , requirement : Clock in no later than 8:30 , Leave work no earlier than 5 Half past six ,
There are two ways : One is through SQL, One is through Excel Macro command complete :
One 、 First turn on the excel Import to database , What we use here is Navicat: Right click the table first , Select Import Wizard , Here is the import excel and csv All the documents can be :
Keep clicking next , Start import :
The table has been imported successfully , The table name can be modified here sign
The time field in the table is f7,
Delete the normal clock in time , The rest is the record of non-compliance : Carry out orders :DELETE FROM sign WHERE sign.f7 NOT BETWEEN '08:30:00' AND '17:30:00'
Here's the picture
The rest is all non-conforming clock in time . Then click Export Wizard , Export it as excel that will do
Two 、 Due to the need for personnel operations , Try to be simple , Here is another simple operation :
1、 Filter clock in time :
Select the cell in the last space of the first record , Enter the following formula :
=IF(AND(G4>“08:30:00”,G4<“17:30:00”),“ Non conformity ”,“ compliance ”)
Among variables G4 How to determine :G Is the name of the column where the time is located ,4 The number of lines starting for the first record : If there is any change , And so on :
After entering the formula , Select cells to display results :
Drop down the cell to the last row , The results are all filled , Right click to quickly analyze when all is selected :
Select the first text that contains : Fill non-conforming cells with color .
2、 Filter the number of clocks :
This operation can only filter by person , Select all the clock in dates of one person at a time , Right click to quickly analyze , Select duplicate values .
Only one punch in a day will be displayed :
After the first person's operation , Then select all the punch dates of the second person to continue the same operation , And so on .
边栏推荐
- IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
- Addition without addition, subtraction, multiplication and division
- 6. zigzag transformation
- 242. 有效的字母异位词
- 392. judgment subsequence
- 【伸手党福利】开发人员重装系统顺序
- [TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions
- 衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
- 用小程序的技术优势发展产业互联网
- 389. find a difference
猜你喜欢
Binary tree god level traversal: Morris traversal
[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model
How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars
MFC窗口滚动条用法
[TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions
Unexpected token o in JSON at position 1 ,JSON解析问题
Review column - message queue
bootsrap中的栅格系统
Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)
The combination of applet container technology and IOT
随机推荐
[reach out to Party welfare] developer reload system sequence
5、【WebGIS实战】软件操作篇——服务发布及权限管理
C语言的sem_t变量类型
166. fractions to decimals
还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板
【TA-霜狼_may-《百人计划》】2.4 传统经验光照模型
166. 分数到小数
Addition without addition, subtraction, multiplication and division
214. 最短回文串
208. 实现 Trie (前缀树)
LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表
【EI检索】2022年第六届材料工程与先进制造技术国际会议(MEAMT 2022)重要信息会议网址:www.meamt.org会议时间:2022年9月23-25日召开地点:中国南京截稿时间:2
ECMAScript 6.0
pytorch中的双线性插值上采样(Bilinear Upsampling)、F.upsample_bilinear
[party benefits] jsonobject to string, leave blank
214. minimum palindrome string
Golang multi graph generation gif
IPv4 and IPv6, LAN and WAN, gateway, public IP and private IP, IP address, subnet mask, network segment, network number, host number, network address, host address, and IP segment / number - what does
318. Maximum word length product
Idea plug-in backup table