# Help Guys! Find part of a cell value.

#### CJMcC5150

##### New Member
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?

### Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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

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.

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,"")

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

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

Result Guys!

A huge thanks for your help and quick responses ;o)

Replies
0
Views
331
Replies
3
Views
414
Replies
1
Views
676
Replies
2
Views
399
Replies
1
Views
237

1,218,560
Messages
6,143,202
Members
450,469
Latest member
brent3162

### 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.

### Which adblocker are you using?

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

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