Help Guys! Find part of a cell value.

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

gnaga

Well-known Member
Joined
Jul 9, 2002
Messages
723
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
I am not having direct answer for you but you can search in this message board, under Author Name as "Aladin". You can find many posting as the answer for your kind of question.

GNaga
 

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
I hope Aladin can correct me, but, using the MoreFunc.xll AddIn, you can use, Array entered:

=LEFT(A1,MIN(IF(SETV(INTVECTOR(LEN(A1),1))*(ABS(CODE(UPPER(MID(A1,GETV(),1)))-77.5)<13),GETV()))-1)

to return the 12345.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
On 2002-09-24 07:11, Juan Pablo G. wrote:
I hope Aladin can correct me, but, using the MoreFunc.xll AddIn, you can use, Array entered:

=LEFT(A1,MIN(IF(SETV(INTVECTOR(LEN(A1),1))*(ABS(CODE(UPPER(MID(A1,GETV(),1)))-77.5)<13),GETV()))-1)

to return the 12345.

In B1 array-enter one of:

[1]

=LEFT(A1,MATCH(FALSE,ISERROR(0+LEFT(A1,ROW(INDIRECT("1:"&LEN(A1)))))))+0

[2]

=LEFT(A1,MATCH(FALSE,ISERROR(0+LEFT(A1,INTVECTOR(LEN(A1),1,0,1)))))+0

In C1 enter:

=SUBSTITUTE(A1,B1,"")

The array-formula in [2] requires the MoreFunc.xll add-in, downloadable from:

http://longre.free.fr/english/index.html

Note. The formula in [1] is based on one Sir Vili forwarded in:

http://www.mrexcel.com/board/viewtopic.php?topic=20676&forum=2

Aladin
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
On 2002-09-24 06:40, CJMcC5150 wrote:
I have been given some data from someone elses database: example of cell would be 12345name1.name2@company.com

I need a formulae to return: the numeric value in one column and the email address in the next.

Any thoughts?

If the number is a fixed length, consider using text to columns under the date menu. In step 1 choose fixed width
In step 2 click a line after your number ends
Hit finish.

good luck
 
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,164,424
Messages
5,837,157
Members
430,479
Latest member
mamush200

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