IFNUMBER

IFNUMBER(Array,[Value_If_Number])
Array
Required. Range to check for numbers.
[Value_If_Number]
Optional. Value to return for number cells.

IFNUMBER is like IFERROR for numbers. It returns Value_If_Number for number 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
IFNUMBER is like IFERROR for numbers. It returns Value_If_Number for number cells and the array itself otherwise.

Calls IFBLANK.
Other functions on minisheet: AFORMULATEXT.

Screen Tip/ Comment: =IFNUMBER(Array☛ range to check for numbers, [Value_If_Number]☛ value to return for number cells; ❎=0✅) ⁂[]=optional; ✅=default; ❎=omit

Excel Formula:
=LAMBDA(Array,[Value_If_Number],
      LET(Arr, Array,          Val, Value_If_Number,
             Return, IF(ISNUMBER(Arr), Val,  IFBLANK(Arr, "")),
             Return
      )
  )
LAMBDA Examples.xlsx
ABCDEFGHI
1IFNUMBER
2
3Original DataValue_If_NumberResult
41 Letters onlyLetters only
5 2 Letters only
6#N/A#N/A
7
8123ABCLetters onlyABC
9
10B5 contain space
11C4 contains a non-breaking space
12C8 contains white text
13Formula in cell G4☛ =IFNUMBER(B4:C8, E4)
14
IFNUMBER
Cell Formulas
RangeFormula
G4:H8G4=IFNUMBER(B4:C8, E4)
B13B13=AFORMULATEXT(G4)
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