This formula to check if a text string contains a number in it - is it an 'array' formula?

d0rian

Active Member
Joined
May 30, 2015
Messages
313
Office Version
  1. 365
Found this post that has a formula that appears to do what I want > check to see if a text string has a number in it (any digit 0 thru 9):
Code:
=COUNT(FIND({0,1,2,3,4,5,6,7,8,9},A1))>0

But I see there's squiggly brackets, indicating an 'array', right? I've avoided array formulas in my file b/c I'm told they calculate much slower, and also I understand that to work properly they need to be entered with CTRL+Enter, not just Enter (right?)

Well in trying that formula without CTRL+enter it...seems to still work. It also seems to calculate as quickly as non-array formulas...so just wanted to ask:

1. Is the above a true "array" formula? (I notice the squiggly brackets are inside a set of normal brackets, so thought that perhaps it was not a traditional array formula)
2. Does it need to be entered with CTRL+enter or not...?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
It is not an array formula. The curly brackets would be at the beginning and end if it were.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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