LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Vlookup question -- removing bad numbers

I have a list of 3,000 loan account numbers -- each one has a value
for an "NAICS" Code. An NAICS Code is a 6-digit code that classifies
loans by industry -- there are over 1,100 of these codes ranging from
111110-Soybean Farming to 928120-International Affairs.

Here is my dilemma -- some of the loans have a value of 0, most of
them have a code that exists, but a few have codes that don't even
exist.

I have a complete list of all of the codes and their descriptions in 2
columns, and a list of all of our loans with their codes listed. I
want to create a column that displays the NAICS code description by
the loan, as well.

I have sorted all of the loans with their NAICS code in descending
order and tried the vlookup function, but it returns a value even if
the code doesn't really exist. I want to be able to identify the
loans that have a code that doesn't exist.

I'll use the following example to show what I would like:

Loan# NAICS Code NAICS Description
1 0 Not an actual code
2 111110 Soybean Farming
3 111111 Not an actual code
4 928120 International Affairs


Here is an example of the Dataset or Range that I will call
"NAICS" (remember that there are actually over 1,100 entries):
NAICS Code Description
111110 Soybean Farming
111120 Oilseed Farming
...........
928120 International Affairs



It's probably simple, but I can't find anything in any help or forum.

 
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
Removing spaces at the end of numbers Chris T. Excel Worksheet Functions 5 May 5th 07 06:22 AM
removing spaces between the numbers martin Excel Discussion (Misc queries) 7 December 14th 05 10:18 AM
question about removing text from cells, leaving numbers JPN5804 Excel Discussion (Misc queries) 3 November 28th 05 05:55 PM
Removing the ' before numbers giantwolf Excel Discussion (Misc queries) 7 September 8th 05 01:56 PM
removing firsts two numbers from a list of #s Linny51 Excel Worksheet Functions 3 January 11th 05 04:27 PM


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