---
title: "Flag missing values with ISBLANK | PracticeExcel"
description: "Practice IF with ISBLANK in a live spreadsheet: flag missing hours instead of paying 0."
canonical_url: "https://practiceexcelonline.com/practice/if/if-isblank-missing"
locale: en
meta:
  "og:description": "Practice IF with ISBLANK in a live spreadsheet: flag missing hours instead of paying 0."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Flag%2Bmissing%2Bvalues%2Bwith%2BISBLANK%2Cdescription_~UHJhY3RpY2UgSUYgd2l0aCBJU0JMQU5LIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogZmxhZyBtaXNzaW5nIGhvdXJzIGluc3RlYWQgb2YgcGF5aW5nIDAu%2Ceyebrow_IF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRCJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJFbXBsb3llZSIsIkhvdXJzIiwiUmF0ZSIsIlBheSJdfSx7Im4iOjIsImNlbGxzIjpbIkpvbmFzIiwiIiwiMTgwIiwiIl19XSwidGFyZ2V0IjpbMSwzXX19%2Cp_Ii9wcmFjdGljZS9pZi9pZi1pc2JsYW5rLW1pc3Npbmci%2Cs_z6Sf7qy6pt5lBHuV.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Flag missing values with ISBLANK | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Flag%2Bmissing%2Bvalues%2Bwith%2BISBLANK%2Cdescription_~UHJhY3RpY2UgSUYgd2l0aCBJU0JMQU5LIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogZmxhZyBtaXNzaW5nIGhvdXJzIGluc3RlYWQgb2YgcGF5aW5nIDAu%2Ceyebrow_IF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRCJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJFbXBsb3llZSIsIkhvdXJzIiwiUmF0ZSIsIlBheSJdfSx7Im4iOjIsImNlbGxzIjpbIkpvbmFzIiwiIiwiMTgwIiwiIl19XSwidGFyZ2V0IjpbMSwzXX19%2Cp_Ii9wcmFjdGljZS9pZi9pZi1pc2JsYW5rLW1pc3Npbmci%2Cs_z6Sf7qy6pt5lBHuV.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Flag missing values with ISBLANK**

**Premium**

In D2, show "Missing" when the hours in B2 are blank, and otherwise the pay, B2\*C2. Use IF with ISBLANK.

D2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Employee | Hours | Rate | Pay |  | |
| 2 | Jonas |  | 180 |  |  | |
| 3 |  |  |  |  |  | |
| 4 |  |  |  |  |  | |
| 5 |  |  |  |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock IF and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**AND and OR****IFS and SWITCH**

It comes up in this mock test: [**Excel assessment (Indeed format)**](https://practiceexcelonline.com/tests/indeed-excel-assessment)

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/if/if-isblank-missing)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#webpage","description":"Practice IF with ISBLANK in a live spreadsheet: flag missing hours instead of paying 0.","name":"Flag missing values with ISBLANK","url":"https://practiceexcelonline.com/practice/if/if-isblank-missing","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/if/if-isblank-missing"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"IF","item":"https://practiceexcelonline.com/practice/if","position":3},{"@type":"ListItem","name":"Flag missing values with ISBLANK","position":4}]},{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I check if a cell is empty in Excel?","acceptedAnswer":{"@type":"Answer","text":"=ISBLANK(B2) is TRUE when B2 is empty. Inside IF, =IF(ISBLANK(B2),\"Missing\",B2*C2) shows a message for empty cells."}},{"@id":"https://practiceexcelonline.com/practice/if/if-isblank-missing#/schema/learning-resource/1","@type":"LearningResource","description":"Practice IF with ISBLANK in a live spreadsheet: flag missing hours instead of paying 0.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Flag missing values with ISBLANK","teaches":"IF"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
