IFBLANK

IFBLANK(Array,[Value_If_Blank])
Array
Required. Range to check for blanks.
[Value_If_Blank]
Optional. Value to return for blank cells; ignored=0.

IFBLANK is like IFERROR for blanks. It returns Value_If_Blank for blank cells and the array itself otherwise.

schardt679

Board Regular
Joined
Mar 27, 2021
Messages
58
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
IFBLANK is like IFERROR for blanks. It returns Value_If_Blank for blank cells and the array itself otherwise.

Search can made case sensitive but isn't by default.
Other functions on minisheet: AFORMULATEXT.

Screen Tip/ Comment: =IFBLANK(Array☛ range to check for blanks, [Value_If_Blank]☛ value to return for blank cells; ❎=0✅) ⁂[]=optional; ✅=default; ❎=omit

Excel Formula:
=LAMBDA(Array,[Value_If_Blank],
      LET(Arr, Array,          Val, Value_If_Blank,
             Return, IF(Arr="", Val, Arr),
             Return
      )
  )
LAMBDA Examples.xlsx
ABCDEFGHI
1IFBLANK
2
3Original DataValue_If_BlankResult
41 No Data1
5 2 2
6#N/A#N/ANo Data
7No DataNo Data
8123ABC123ABC
9
10B5 contain space
11C4 contains a non-breaking space
12C8 contains white text
13Formula in cell G4☛ =IFBLANK(B4:C8, E4)
14Array Required
IFBLANK
Cell Formulas
RangeFormula
G4:H8G4=IFBLANK(B4:C8, E4)
B13B13=AFORMULATEXT(G4)
E14E14=IFBLANK(,)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,923
Messages
6,127,717
Members
449,399
Latest member
VEVE4014

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top