Extract/Count a records that containing a digits, numbers in a cell

mmr1

Board Regular
Joined
Aug 25, 2020
Messages
80
Office Version
  1. 365
Platform
  1. Windows
Hi,

Required a formula help to extract a records (at least which contains one number in a cell) contains a numeric values in data set Column A:C,as well same values (at least which contains one number in a cell) to be count their actual quantity from the total data set.


Thanks,

Book1
ABCD
1lab12PEN1poloKVF
2albcalg5KIKHQX5
3defqCJIoYMI3STC5
4a21boplolopogbh
5cdesqwreGLT5GST
6
7
8Count
9
10
11Records are Containing Numbers
12
13
14
15
Sheet1
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Can you post the sample data again but include the expected results (entered manually) and add any further explanation that you can as to why they are the required results?

Can you also clarify that you mentioned columns A:C but you have shown us columns A:D. Does column D have anything to do with it?
 
Upvote 0
Thank you for your valuable response

It was typing error A:C,actual data set is column A:D.

In a cell A9 required answer is count of total digit numbers contains in a cells of total data set is about=08

Starting from cell A12 desired answers like

A12-lab12, B12-PEN

B13-alg5, D13-HQX5

C14-YMI3,D14-STC5

A15-a21b

C16-GLT5.

thanks,
 
Upvote 0
FYI:
a record (also called a structure, struct, or compound data) is a basic data structure. Records in a database or spreadsheet are usually called "rows".
A record is a collection of fields (cells), possibly of different data types, typically in a fixed number and sequence.
 
Upvote 0
It would be good if you set the expected results
If I understood you well, give it a try

In the 'F1' cell formula below (copy from F1 to I5 ). This is helper columns
Code:
=COUNT(FIND({0,1,2,3,4,5,6,7,8,9},A1))>0

In the 'A9' cell formula below
Code:
=COUNTIF(F1:I5,TRUE)
In the 'A12' cell formula below (copy from A12 to D16)
Code:
=IF(F1=TRUE,A1,"")
 

Attachments

  • mmr1-navic1151097.png
    mmr1-navic1151097.png
    7.9 KB · Views: 12
Upvote 0
.. or perhaps like this?

mmr1.xlsm
ABCD
1lab12PEN1poloKVF
2albcalg5KIKHQX5
3defqCJIoYMI3STC5
4a21boplolopogbh
5cdesqwreGLT5GST
6
7
8Count
98
10
11Records are Containing Numbers
12lab12PEN1  
13 alg5 HQX5
14  YMI3STC5
15a21b   
16  GLT5 
Sheet1
Cell Formulas
RangeFormula
A9A9=COUNTIF(A12:D16,"?*")
A12:D16A12=IF(COUNT(FIND(SEQUENCE(,10,0),A1)),A1,"")
 
Upvote 0
Many thanks Peter and all of you for your valuable solutions.
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,771
Members
449,259
Latest member
rehanahmadawan

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