Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2005

Tip: Looking for answers? Try searching our database.

find partial values in cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luke - 18 Sep 2005 14:52 GMT
I there a way to look in one column with values like 6292, 266, 3885, 96,
47... then compare the last two digits from a cell with those in an array?
Example:

C                             K        L
6292                       00     18
266                         11     28
3888                       22     38
96                          33     48
48                          44     58
9                            55     68
5565                       66     78
2978                       77     98
                             88    
                             99

I need to lookup last part of a cell (ie, looking in col. "C" at 3888 and
match last two digits/values 38(88) with col's "K" and "L" or any array for
that matter.
Does that make sense?

There is the issue of single digit values like "9" that may mess with me but
there are very few of those and they can be over looked.

Thank you for your time
Luke
Aladin Akyurek - 18 Sep 2005 15:46 GMT
Your problem description is a bit underspecified... Given what is provided:

=ISNUMBER(MATCH(RIGHT(C2,2)+0,$K$2:$K$10,0))+

if the items in K2:K10 are numbers. Otherwise:

=ISNUMBER(MATCH(RIGHT(C2,2),$K$2:$K$10,0))+0

Regarding the single digit cases...

=ISNUMBER(MATCH(RIGHT("0"&C2,2),$K2:$K&10,0))+0

assuming that K2:K10 does not house true numbers.

> I there a way to look in one column with values like 6292, 266, 3885, 96,
> 47... then compare the last two digits from a cell with those in an array?
[quoted text clipped - 22 lines]
> Thank you for your time
> Luke
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.