extract data from cell

Gaurav Karira

Board Regular
Joined
Jun 13, 2003
Messages
121
Hi People

I need some help in getting data from cell, cell looks somethin like this

Local Account0000100233-0000010000 0.000 -1721.75

Now i need to extract all data appearing after "Account" and before "-" ie in this case 0000100233.

can someone please suggest a formula.

Dont suggest more func please I cant use that.......

Please if some one can help urgently i wd really appreciate that.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

plettieri

Well-known Member
Joined
Sep 4, 2002
Messages
1,556
Platform
  1. MacOS
Hi:

Will the expected result always have 10 digits?

plettieri
 

north19701

Active Member
Joined
Jun 17, 2003
Messages
491
=MID(D1,SEARCH("Account",D1)+7,SEARCH("-",D1)-SEARCH("account",D1)-7)

here's one way.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,968
Messages
5,856,579
Members
431,820
Latest member
martel_9

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
Top