Search in excel

Babalola

New Member
Joined
Feb 26, 2018
Messages
13
Site Index=25, Cell Index=113, Alarm Cause=Other causes, Site Type=BTS3900 GSM, Site Name=SK0029, Cell Name=SK0029C, Cell CGI=621-20-2d6-754d

i have the above, i need to search and pick any where Cell Name appear and pick the id in front to a new cloum

e.g SK0029C
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Assuming the comma indicates the end of the ID

=MID(A1,FIND("Cell Name",A1)+10,FIND(",",A1,FIND("Cell Name",A1)+1)-FIND("Cell Name",A1)-10)
 
Upvote 0
THNKS FOR YOUR REPLY

SubNetwork=ONRM_ROOT_MO,SubNetwork=EABRN03,MeContext=EABRN03,ManagedElement=1,RncFunction=1,UtranCell=AB0031H


IF I WANT IT TO PICK UtranCell IN CASE IT NOT CELL NAME

MEANING I HAVE BOTH CELL NAME AND UTRANCELL

<tbody>
</tbody>
 
Upvote 0
SubNetwork=ONRM_ROOT_MO,SubNetwork=EABRN03,MeContext=EABRN03,ManagedElement=1,RncFunction=1,UtranCell=AB0031H

IF I WANT IT TO PICK UtranCell IN CASE IT NOT CELL NAME

MEANING I HAVE BOTH CELL NAME AND UTRANCELL

<tbody>
</tbody>
You should tell us all of the conditions you need to meet instead of doing it one at a time.

If all of your ID's are 7 characters long (like your two examples show), then give this formula a try...

=MID(A1,FIND("UtranCell",SUBSTITUTE(A1,"Cell Name","UtranCell"))+10,7)
 
Upvote 0
THNKS FOR YOUR REPLY

SubNetwork=ONRM_ROOT_MO,SubNetwork=EABRN03,MeContext=EABRN03,ManagedElement=1,RncFunction=1,UtranCell=AB0031H


IF I WANT IT TO PICK UtranCell IN CASE IT NOT CELL NAME

MEANING I HAVE BOTH CELL NAME AND UTRANCELL

<tbody>
</tbody>

As Rick says, if you have other values to search for as well you should include them in the description. If you keep adding values you're gonna upset the people who are trying to help you.

Also please turns CAPS LOCK off.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,897
Members
449,097
Latest member
dbomb1414

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