Unique data collection, if function

kishore k

New Member
Joined
Jan 18, 2019
Messages
25
Hi, I want data relating to desired number in excel with any suitable formula. Ex: In sheet1, cell A95 has "121000". A96 "AA101", A97 "BX112", A98 "MN10" ect,. and A99 "1210001".now if i put formula in sheet2, i need Data relating the number "121000" in each cell by cell. and formula has to stop if it finds some other number than "121000"
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I am not sure what you are after, but if are are looking for something like this then here it is:

Assuming you have data like this in Sheet1:


Book1
A
95121000
96AA101
97BX112
98MN10
99121001
100AA102
101BX113
102MN11
103121002
104AA103
105BX114
106MN12
107121003
108AA104
109BX115
110MN13
111141001
112AA105
113BX116
114MN14
Sheet1


And you want something like this:


Book1
ABCD
2121000AA101BX112MN10
3121001AA102BX113MN11
4121002AA103BX114MN12
5121003AA104BX115MN13
6
7
8
Sheet2
Cell Formulas
RangeFormula
A2{=IF(ROWS(A$2:A2)>SUM(--ISNUMBER(SEARCH("121???",Sheet1!$A$95:$A$114))),"",INDEX(Sheet1!$A$95:$A$114,COLUMNS($A2:A2)+4*(ROWS(A$2:A2)-1)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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