Whenever you want to search for any specific text to do some operations you can easily do it in Excel. In this article, Iâ€™m going to show you in Excel that if a cell contains **specific text** then **add 1**.

To make the explanation clearer, Iâ€™m going to use a sample dataset that represents information about a particular employer regarding salary and rank. The dataset contains **4 **columns: **Employee Name**, **Rank**, and **Salary**.

**Table of Contents**hide

## Download Practice Workbook

## 5 Ways to Add 1 If Cell Contains Specific Text in Excel

### 1. Using IF Function to Add 1 If Cell Contains Specific Text

By using the **IF **function you can easily find out if the cell contains any **specific text** or not then you can **add 1** by simply using the arguments of the **IF **function.

**Steps:**

To begin with,

- First, select any cell of your choice to place your resultant value.
- Here, Iâ€™ve selected cell
**E5**. - Then, type the following formula in cell
**E5**or into the**Formula Bar**.

`=IF(B5="Adam Smith",C5+1, C5 )`

Here, in the **IF **function, I used a condition in the **logical_test** to check if the cell **contains the specific** text **â€śAdam Smithâ€ť** if it does then it will **add 1** to the **Rank **of that particular employee otherwise **Rank** will remain as it is.

- Now, press
**ENTER**to**add 1**if the cell contains the specific text,**Adam Smith**.

- Here, you can use the
**Fill Handle**to**AutoFill**formula for the rest of the cells.

**Read More: How to Sum If Cell Contains Specific Text in Excel (6 Ways)**

### 2. Combining IF & ISTEXT Functions to Add 1 If Cell Contains Specific Text

You also can use the combination of **IF **and **ISTEXT** functions to **add 1** if the cells contain **specific text**.

**Steps:**

To start with,

- First, select any cell of your choice to place your resultant value.
- Here, Iâ€™ve selected cell
**E5**. - Then, type the following formula in cell
**E5**or into the**Formula Bar**.

`=IF(ISTEXT(B5),C5+1, C5 )`

Here, the **ISTEXT **function will check whether the cell value is **text **or **number**. Then, the **IF **function will check the **logical_test** and If the cell value of the **B5** cell is **text **then it will **add 1** to the cell value of **C5** to **Upgrade** the **Rank. **Otherwise, the **Rank **will remain as before.

- Finally, press
**ENTER**to**add 1**if the cell contains the**specific texts**.

- Now, you can use the
**Fill Handle**to**AutoFill**formula for the rest of the cells.

**Read More:** **If Cell Contains Text Then Add Text in Another Cell in Excel**

**Similar Readings:**

**How to Return Value If Cells Contain Certain Text from a List****Find text in an Excel range & return cell reference (3 ways)**

### 3. Employing IF & COUNTIF Functions to Add 1 If Cell Contains Specific Text

If you want, you also can use the combination of **IF **and **COUNTIF** functions to **add 1** if the cells contain **specific text**.

**Steps:**

To start with,

- First, select any cell of your choice to place your resultant value.
- Here, Iâ€™ve selected cell
**E5**. - Then, type the following formula in cell
**E5**or into the**Formula Bar**.

`=IF(COUNTIF(B5, $B$5), C5+1, C5)`

**Formula BreakDown**

**COUNTIF(B5, $B$5)â€”->**The**COUNTIF**functions**count**cells in a particular range to fulfill one condition.**Output: 1**

**IF(1, C5+1, C5)â€”->**Here, the**IF**function will check the condition if it is**TRUE**then will return**value_if_true**otherwise will return**value_if_false**.**IF(TRUE, C5+1, C5)â€”->**As itâ€™s**TRUE**it will**Add 1**.**C5+1****10+1****Output:****11****Explanation:**The cell contains the specific text in the**B5**cell thatâ€™s why it**Added 1**to**Rank**.

- Now, pressÂ
**ENTER**to get the result.

- Here, you can use the
**Fill Handle**to**AutoFill**formula for the rest of the cells.

**Read More: Excel If Cell Contains Text Then Return Value (8 Easy Ways)**

### 4. Using SUM & IF Functions to Add 1 If Cell Contains Specific Text

Here, Iâ€™m going to use the combination of **IF **and **SUM **functions to **add 1** if the cells contain **specific text**.

**Steps:**

To start with,

- First, select any cell of your choice to place your resultant value.
- Here, Iâ€™ve selected cell
**F6**. - Then, type the following formula in cell
**F6**or into the**Formula Bar**.

`=SUM(IF(B5:B12="Adam Smith",1,0))`

Here, the **IF **function will search the specific text **Adam Smith** within the range **B5:B12** then it will **Add 1** for each match through the **SUM **function.

- Now, pressÂ
**ENTER**to get the resultant value.

**Read More:** **Sum If a Cell Contains Text in Excel (6 Suitable Formulas)**

### 5. Using Combined Functions to Add 1 If Cell Contains Specific Text

In case you want to check multiple **specific texts** then you can use the **IF **function, the **OR **function, and the **COUNTIF** function to **add 1**.

Here, Iâ€™m going to use **two specific texts** these are **Adam **and **Kate**.

**Steps:**

To begin with,

- First, select any cell of your choice to place your resultant value.
- Here, Iâ€™ve selected cell
**E5**. - Then, type the following formula in cell
**E5**or into the**Formula Bar**.

`=IF(OR(COUNTIF(B5, "*"&$G$8&"*"), COUNTIF(B5, "*"&$H$8&"*")), C5+1, C5)`

**Formula BreakDown**

**COUNTIF(B5, â€ś*â€ť&$H$8&â€ť*â€ť)â€”->**The**COUNTIF**function**counts**cells in a particular range to fulfil one condition.**Output: 0**

**COUNTIF(B5, â€ś*â€ť&$G$8&â€ť*â€ť)â€”->**becomes**Output: 1**

**OR(COUNTIF(B5, â€ś*â€ť&$G$8&â€ť*â€ť), COUNTIF(B5, â€ś*â€ť&$H$8&â€ť*â€ť))â€”->**turns into**OR(1, 0)â€”->**The**OR**function will be**TRUE**if any of the conditions meets.**Output: TRUE**

**IF(OR(COUNTIF(B5, â€ś*â€ť&$G$8&â€ť*â€ť), COUNTIF(B5, â€ś*â€ť&$H$8&â€ť*â€ť)), C5+1, C5)â€”->**becomes**IF(TRUE, C5+1, C5)â€”->**The**IF**function will return**value_if_true**if the**logical_test**is fulfilled or**TRUE**otherwise will return**value_if_false**.**C5+1****10+1****Output: 11****Explanation:**Added**1**for the specific text.

- PressÂ
**ENTER**to add 1 if the cell contains specific text.

- Here, you can use the
**Fill Handle**to**AutoFill**formula for the rest of the cells.

**Read More:** **Excel Formula If Cell Contains Text Then Return Value in Another Cell**

## Practice Section

You can practice the explained methods in the practice section.

## Conclusion

In this article, I have shown **5** methods of Excel if the cell contains specific text then add 1. These ways will help you to simplify your task. Feel free to comment down below for any types of queries and suggestions.