Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Luke
 
Posts: n/a
Default find partial values in cell

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



  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

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.

Luke wrote:
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



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
Refreshing drop down cell values... Dyce Excel Worksheet Functions 0 August 24th 05 10:49 PM
Update of cell values after insert row? dazman Excel Worksheet Functions 2 August 23rd 05 07:07 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Find the cell value in excel by using vb code Michael Excel Discussion (Misc queries) 5 June 14th 05 01:24 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 10:40 AM.

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"