---
title: "EXCEL公式"
author: "ruohanfly"
date: "2016-01-23T16:13:37Z"
tags: []
categories: ["编程语言"]
slug: "excel"
draft: false
lastmod: "2016-01-23T16:13:37Z"
id: 2273499
url: "https://ruohanfly.iteye.com/blog/2273499"
---

1.如果i2中有“.”，则执行g2&i2，否则执行g2  
 =IF(COUNTIF(I2,"\*.\*")&gt;0,G2&I2,G2)

 

 

2.把j4中的k4&"."替换为""  
 =SUBSTITUTE(J4,K4&".","")