In the previous article "Practical Excel Skills Sharing: Using Pivot Tables and VLOOKUP Functions to Analyze Accounts Receivable", we learned about using Excel pivot tables and VLOOKUP functions to analyze accounts receivable method of analysis. The following article will talk about how to use the substitute function. Come and collect it and learn it!
First let’s take a look at the usage of the substitute function. The substitute function is somewhat similar to the find and replace command in excel, but it is more flexible and easy to use.
Thesubstitute function is a text search function, which searches for a certain character and then replaces it with another character.
We use vernacular to simply understand the usage of the substitute function: Substitute (text, old text, new text, replace from which number)
.
Case 1: Basic usage skills of the Substitute function
How to use the function substitute, we use a simple case to understand. Upgrade the model. If the upgrade rule starts with model A, change all models to start with B. The effect is shown in column D:
The formula in cell D2 is: =SUBSTITUTE(C2,"A","B")
That is, use the Substitute function to replace "A" with "B".
Case 2: Substitute function in excel hides the middle four digits of the mobile phone number
=SUBSTITUTE(B2,MID(B2,4,4),"****")
*.
Case 3: substitute function substitution case: counting the number of people on duty
=LEN(B2)-LEN(SUBSTITUTE(B2,",","")) 1
Case 4: Use Substitute function to calculate sales total
=SUMPRODUCT(SUBSTITUTE(D2:D10,"元","")*1)&"元"
means to replace all "yuan" in column D with null values, and finally multiply by 1 to convert the text into a numerical value. Reuse the SUMPRODUCT function to calculate the sum. Finally, use the text connector to add "yuan" and add the unit.
#Through the above four cases, I believe that friends have learned how to use the function substitute.
Related learning recommendations:
excel tutorialThe above is the detailed content of 4 tips for using the substitute function in Excel function learning. For more information, please follow other related articles on the PHP Chinese website!

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于折叠表格的相关问题,就是分类汇总的功能,这样查看数据会非常的方便,下面一起来看一下,希望对大家有帮助。

在之前的文章《实用Excel技巧分享:利用 数据透视表 来汇总业绩》中,我们学习了下Excel数据透视表,了解了利用数据透视表来汇总业绩的方法。而今天我们来聊聊怎么计算时间差(年数差、月数差、周数差),希望对大家有所帮助!

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于AGGREGATE函数的相关内容,该函数用法与SUBTOTAL函数类似,但在功能上比SUBTOTAL函数更加强大,下面一起来看一下,希望对大家有帮助。

在之前的文章《实用Word技巧分享:聊聊你没用过的“行号”功能》中,我们了解了Word中你肯定没用过的"行号”功能。今天继续实用Word技巧分享,看看Excel表格怎么借用Word进行分栏打印,快来收藏使用吧!

在之前的文章《实用Excel技巧分享:原来“定位功能”这么有用!》中,我们了解了定位功能的妙用。而今天我们聊聊合并后的单元格如何实现筛选功能,分享一种复制粘贴和方法解决这个问题,另外还会给大家分享一种合并单元格的不错的替代方式。

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于zenmm制作倒计时牌的相关内容,使用Excel中的日期函数结合按指定时间刷新的VBA代码,即可制作出倒计时牌,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于如何使用函数寻找总和为某个值的组合的问题,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于折线图的相关问题,下面就根据一些示例来看一下怎么去应用,希望对大家有帮助。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
