Can Excel count Cells that contain any sequence of the digits 423? My solution in today’s Episode #1843 seems a bit clunky. To me, it seems like the first step has to be Formulas (or a User Defined Function) to convert any three digit number into the sorted version of the digits in the number … 423 would “sort” to 234. If you could use a helper column to convert 423 to 234, then all six variations of 234, 243, 324, 342, 423, 432 would also convert to 234. The Formula mentioned in this Podcast is below.

The Formula:

=SMALL(MID(TEXT(A2,'000'),{1;2;3},1)*1,1)*100+SMALL(MID(TEXT(A2,'000'),{1;2;3},1)*1,2)*10+SMALL(MID(TEXT(A2,'000'),{1;2;3},1)*1,3)

*Make sure to Array-enter this formula by holding down Ctrl+Shift while pressing Enter.

"Ctrl+Shift+Enter" by Mike 'ExcelIsFun' Girvin

Although elusive, Array Formulas can be used to solve everyday Excel problems. If you need to figure out how many times your birthday fell on a Friday, an Array Formula can solve that. If you need to return a Unique List of Sales Reps from a Database, an Array Formula can solve that. Now, at your own pace, you can learn the methods, the tricks, the dos and the don’ts that will allow you to “Command The Power of the ‘Array Formula’ in Microsoft Excel“! “Ctrl+Shift+Enter: Mastering Excel Array Formulas” by Mike ‘ExcelIsFun’ Girvin tells all!

And be sure to get the latest on All of Excel’s available features with…

InDepth_180WP

Microsoft 2013 InDepth” – by Bill Jelen. Excel 2013 In Depth is the beyond-the-basics, beneath-the-surface guide for everyone working with Excel 2013. Excel expert and MVP Bill Jelen provides specific, tested, proven solutions to the problems Excel users run into every day: the types of challenges other books ignore or oversimplify. Jelen thoroughly covers all facets of working with Excel 2013.

“The Learn Excel from MrExcel Podcast Series”

Visit us: MrExcel.com for all of your Microsoft Excel Needs!