Help Guys! Find part of a cell value.

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.
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
 
Upvote 0
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.
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,672
Members
449,045
Latest member
Marcus05

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