If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 Need help Extract numbers
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## Need help Extract numbers

#1
July 9th 12, 04:49 PM
 kdm5g Junior Member First recorded activity by ExcelBanter: Jul 2012 Posts: 2
Need help Extract numbers

I want to extract a list from J6 to K6 and so on. The list varies and can change so i just want to extract the number here is part of the list
High (4)
Extreme (2)
High (7)

Last edited by kdm5g : July 9th 12 at 04:51 PM.
#2
July 10th 12, 02:59 AM posted to microsoft.public.excel.misc
 Ron Rosenfeld[_2_] external usenet poster Posts: 901
Need help Extract numbers

On Mon, 9 Jul 2012 15:49:14 +0000, kdm5g > wrote:

>
>I want to extract a list from J6 to K6 and so on. The list varies and
>can change so i just want to extract the number here is part of the list
>
>High (4)
>Extreme (2)
>High (7)

You can use a formula to extract the number. The following formula assumes that your numbers are positive, and that there will be no more than three characters in the numeric expression. If there are more than three characters, then merely extend the array constant near the end (the one that presently looks like {1,2,3}.

This formula must be **array-entered**:

=MAX(IFERROR(--MID(J6,MIN(FIND({1,2,3,4,5,6,7,8,9,0},J6&"12345678 90")),{1,2,3}),""))

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl><shift> while hitting <enter>. If you did this
correctly, Excel will place braces {...} around the formula.
#3
July 10th 12, 02:33 PM
 kdm5g Junior Member First recorded activity by ExcelBanter: Jul 2012 Posts: 2

It worked great, however I have numbers ranging up to 20. How do I change that?! Thanks for all your help!
Quote:
 Originally Posted by Ron Rosenfeld[_2_] On Mon, 9 Jul 2012 15:49:14 +0000, kdm5g > wrote: > >I want to extract a list from J6 to K6 and so on. The list varies and >can change so i just want to extract the number here is part of the list > >High (4) >Extreme (2) >High (7) You can use a formula to extract the number. The following formula assumes that your numbers are positive, and that there will be no more than three characters in the numeric expression. If there are more than three characters, then merely extend the array constant near the end (the one that presently looks like {1,2,3}. This formula must be **array-entered**: =MAX(IFERROR(--MID(J6,MIN(FIND({1,2,3,4,5,6,7,8,9,0},J6&"12345678 90")),{1,2,3}),"")) ---------------------------------------- To **array-enter** a formula, after entering the formula into the cell or formula bar, hold down while hitting . If you did this correctly, Excel will place braces {...} around the formula.
#4
July 10th 12, 06:31 PM posted to microsoft.public.excel.misc
 Ron Rosenfeld[_2_] external usenet poster Posts: 901
Need help Extract numbers

On Tue, 10 Jul 2012 13:33:56 +0000, kdm5g > wrote:

>It worked great, however I have numbers ranging up to 20. How do I
>change that?! Thanks for all your help!

I must not have understood something from your description.

Please show the exact types of entries that you are having a problem with, the result of using the formula, and your expected output.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post how to extract numbers from imported cell with text and numbers? jyin Excel Discussion (Misc queries) 3 March 28th 07 01:14 PM how to extract unique numbers once from a list of repeated numbers? [email protected] Excel Discussion (Misc queries) 2 May 2nd 06 04:17 PM Extract numbers from cell with Text and Numbers wiredwrx New Users to Excel 3 April 18th 06 10:57 PM How do I extract numbers from a cell with both text and numbers? SHANNON Excel Worksheet Functions 8 December 2nd 05 02:31 AM extract numbers from cell containing text & numbers [email protected] Excel Worksheet Functions 1 November 14th 05 07:04 AM

All times are GMT +1. The time now is 08:06 PM.