Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default How to Search down a column fo a specific number of digits

Good Morning,

I am wondering what formula or how i could go about searching for a specific number of digits in a cell down a column.

I Have For example:

4213211_ghdjk_null_2_
4213212_ghdjk_null_7_

and I want to use the isnumber(match( formula in conjnuction so i can compare the first 7 digits in column B data with that of the one listed above which is in column A.

So overall i want to search within column "A" using the data in column "B" and return a "True" if the data is found in column "A" and "False" if "B" column data is not found in "A". But i must limit the isnumber(Match( formula to 7 digits (or values, not well educated with excel) otherwise it will return with a false due to the "_ghdjk_null_2_" string at the end.

A B c
1 4213211_ghdjk_null_2_ 4213212 True
2 4213212_ghdjk_null_7_ 4213211 True


Simply doing a search will not suffice, too much data.
could be explained in a much simpler fashion, but my lack of experience with excel makes it difficult.

Thank You
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default How to Search down a column fo a specific number of digits

Hi,

Am Wed, 3 Sep 2014 16:51:56 +0100 schrieb SVRider:

A B c
1 4213211_ghdjk_null_2_ 4213212 True
2 4213212_ghdjk_null_7_ 4213211 True


=COUNTIF($A$1:$A$100,B1&"*") will give you the number of matches
=IF(COUNTIF($A$1:$A$100,B1&"*")0,"True","") will give you True if the
number matches


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
VBA write macro change column with 3 number digits to 4 digits the James C[_2_] Excel Discussion (Misc queries) 3 January 25th 10 03:12 PM
Search for specific number in a range Ruan[_2_] Excel Worksheet Functions 1 December 10th 07 12:43 PM
How to set a column to accept only a specified number of digits ashvik Excel Programming 3 September 26th 05 12:26 PM
How to set a column to accept only a specified number of digits ashvik Excel Worksheet Functions 1 September 26th 05 11:11 AM
How do I format cells to a specific number of digits? Gabriele Excel Discussion (Misc queries) 3 February 5th 05 03:17 PM


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

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

About Us

"It's about Microsoft Excel"