NOTBLANK

=NOTBLANK(Array)

Array
Required. Range to check if cells aren't blank

NOTBLANK returns TRUE or FALSE if a cell in a given range is not blank.

schardt679

Board Regular
Joined
Mar 27, 2021
Messages
58
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
NOTBLANK returns TRUE or FALSE if a cell in a given range is not blank.

VBA Code:
=LAMBDA(Array,
      IFERROR(Array&"", 1)<>""
  )
REVERSE Test.xlsx
ABCDEFG
1NOTBLANK
2
3Original DataResult
41 TRUETRUE
5 2TRUETRUE
6#N/A TRUETRUE
7ABCTRUEFALSE
8ABCFALSETRUE
9
10B7 & C8 contain space(s)
11C6 contains a non-breaking space
12C14 contains white text
13=NOTBLANK(B4:C8)
14
NOTBLANK
Cell Formulas
RangeFormula
C4C4=CHAR(160)
E4:F8E4=NOTBLANK(B4:C8)
B5B5=CHAR(32)
B6B6=NA()
C6C6=REPT(" ", 5)
B13B13=FORMULATEXT(E4)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,836
Messages
6,181,251
Members
453,027
Latest member
Lost_in_spreadsheets

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