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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

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.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,752
Messages
5,638,157
Members
417,011
Latest member
Amaden95

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