LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
taran
 
Posts: n/a
Default advanced if?????


Hi,

I have a spreadsheet which looks a bit like this..

Phone number cost

0121 25
01212 26
012124 27
0121249 27
0121249357 24
013 24
0131 25
01312 26
01312463 27
0131246452 24

im sorry but my example table is not very good. fyi the numbers after
the space in each row should be the next column...

I need to find a way to cost the phone numbers i enter
eg. if i need to find out how much 0121249357 will cost it will tell
me 24 but if i need to find 0121249367 i need it to find 27 (0121249)

is there a way i can get excel to look thru a string of say 9 digits,
but if it doesnt find a match then look thru the 1st 8 digits, then 7,
then 6 till it finds a match???

sorry if im not very clear but i dont really know excel or the
terminology very well.

would be very grateful if some1 could help.

Thanks,

Taran


--
taran
------------------------------------------------------------------------
taran's Profile: http://www.excelforum.com/member.php...o&userid=25724
View this thread: http://www.excelforum.com/showthread...hreadid=391338

 
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
advanced filter criteria "begins with" and "does not begin with" raph_baril Excel Worksheet Functions 3 June 28th 05 10:38 PM
Using advanced filter to search for criteria in a list Potatosalad2 Excel Discussion (Misc queries) 1 June 8th 05 03:08 AM
advanced filter - can't match a long text cell simpsons_rule Excel Discussion (Misc queries) 7 May 14th 05 11:00 PM
Advanced Find Command?? Debbie Excel Discussion (Misc queries) 1 February 4th 05 09:07 PM
Can Excel advanced filter be used in "and NOT" mode Robert Excel Worksheet Functions 1 January 27th 05 02:57 PM


All times are GMT +1. The time now is 06:53 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"