Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KH_GS
 
Posts: n/a
Default Detecting Numbers in a cell


Data:
_Column_A_
H111
B222
Abc
1XE3
2XD4
22GT
12SD
Apple
Orange
123
456

I need to copy cells that contains number onto a new column.

Output:
_Column_B_
H111
B222
*blank*
1XE3
2XD4
22GT
12SD
*blank*
*blank
123
456


Will someone be able to help please?


--
KH_GS
------------------------------------------------------------------------
KH_GS's Profile: http://www.excelforum.com/member.php...o&userid=32920
View this thread: http://www.excelforum.com/showthread...hreadid=538784

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bondi
 
Posts: n/a
Default Detecting Numbers in a cell

Hi,

Maybe not the most elegant way to do it but i think it works.
If you put this formula in cell b1 and copy down the lenght of your
data:

=IF(MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&{0, 1,2,3,4,5,6,7,8,9})),1024)="","",A1)

Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Detecting Numbers in a cell

=IF(ISNUMBER(A1),A1,"")

and fill it down!
Regards,
Stefi

€˛KH_GS€¯ ezt Ć*rta:


Data:
_Column_A_
H111
B222
Abc
1XE3
2XD4
22GT
12SD
Apple
Orange
123
456

I need to copy cells that contains number onto a new column.

Output:
_Column_B_
H111
B222
*blank*
1XE3
2XD4
22GT
12SD
*blank*
*blank
123
456


Will someone be able to help please?


--
KH_GS
------------------------------------------------------------------------
KH_GS's Profile: http://www.excelforum.com/member.php...o&userid=32920
View this thread: http://www.excelforum.com/showthread...hreadid=538784


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KH_GS
 
Posts: n/a
Default Detecting Numbers in a cell


No this does not work because it does not catch contents with a mixture
of text and numbers.



Stefi Wrote:
=IF(ISNUMBER(A1),A1,"")

and fill it down!
Regards,
Stefi

€˛KH_GS€¯ ezt Ć*rta:


Data:
_Column_A_
H111
B222
Abc
1XE3
2XD4
22GT
12SD
Apple
Orange
123
456

I need to copy cells that contains number onto a new column.

Output:
_Column_B_
H111
B222
*blank*
1XE3
2XD4
22GT
12SD
*blank*
*blank
123
456


Will someone be able to help please?


--
KH_GS

------------------------------------------------------------------------
KH_GS's Profile:

http://www.excelforum.com/member.php...o&userid=32920
View this thread:

http://www.excelforum.com/showthread...hreadid=538784




--
KH_GS
------------------------------------------------------------------------
KH_GS's Profile: http://www.excelforum.com/member.php...o&userid=32920
View this thread: http://www.excelforum.com/showthread...hreadid=538784

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display largest of 3 numbers into 4rth cell JcR Excel Discussion (Misc queries) 5 March 12th 06 10:06 PM
How do I keep the zeros in front of numbers when i split a cell tom Excel Worksheet Functions 3 October 11th 05 03:21 AM
How do I hide the zero in the "sum" cell until numbers are put in the cells that are being added? Radman Excel Worksheet Functions 6 October 9th 05 04:25 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
create a cell that accumulates, numbers from another cell... sombull Excel Discussion (Misc queries) 1 February 18th 05 04:45 PM


All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"