Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Tushar Mehta" wrote...
....
The benefit of the approach should be obvious. The worksheet closely
mimics the stated business problem. The formulas are simple and you
know the results of the intermediate steps -- column of the area code
match and the row of the phone number match, which makes debugging
that much easier. Of course, you can also easily label the
intermediate results by typing in text into an adjacent cell.

....

This is all very nice, but phone number lookups are ideally a database task.
The most sensible way to deal with the business problem is to use the tool
best suited to the task. The OP's task is a form of misuse of spreadsheets.

There's also the matter that the OP's phone number layout is a poor data
structure. Area codes as column headings with local phone numbers below is
much less useful than a single column of area codes and phone numbers
combined, sorted in ascending order. Phone numbers within each area code
would still be grouped, but a single fairly simple MATCH call (separately
entered area code and phone number would need to be concatenated - hopefully
you wouldn't recommend doing that alone in a separate cell) would be able to
determine whether the number exitst.

BTW, Aladin's approach is best, though I might change the custom number
format to "Y";"Y";"N".


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
Can I set up a formula to lookup a value for a condition Jai Excel Discussion (Misc queries) 2 July 26th 05 08:48 PM
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
Lookup in Matrix Johannes Excel Worksheet Functions 5 May 4th 05 10:32 AM
Matrix Query Part II - lookup value Krista F Excel Worksheet Functions 1 April 6th 05 02:18 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM


All times are GMT +1. The time now is 05:39 AM.

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"