Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zuo Zuo is offline
external usenet poster
 
Posts: 24
Default Changing a formula to read a general value?

A few months ago I had asked a question and got this answer:

Question:
I have a a set of values in A1 through A100.
I need to look up each value and find a match in
another set of values located in C1 through C200. If a match is found then I
need the formula located
in column B to return the value in the same row but
the next column over (D).

Answer:
=IF(ISNUMBER(VLOOKUP(A1,$C$1:$D$200,2,0)),
VLOOKUP(A1,$C$1:$D$200,2,0), "")

Copy down through A100.

The formula worked fine, however the reference value and the look up value
are not any more numbers but a combination of letters and numbers (i.e.
T-410TFG2-A) and the formula is not reading them. How can I fix the formula?

Thanks in advance for your help.

Regards,

ZUO
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Changing a formula to read a general value?

Maybe this...

=IF(ISNA(VLOOKUP(A1,$C$1:$D$200,2,0)),"",VLOOKUP(A 1,$C$1:$D$200,2,0))

--
Biff
Microsoft Excel MVP


"Zuo" wrote in message
...
A few months ago I had asked a question and got this answer:

Question:
I have a a set of values in A1 through A100.
I need to look up each value and find a match in
another set of values located in C1 through C200. If a match is found then
I
need the formula located
in column B to return the value in the same row but
the next column over (D).

Answer:
=IF(ISNUMBER(VLOOKUP(A1,$C$1:$D$200,2,0)),
VLOOKUP(A1,$C$1:$D$200,2,0), "")

Copy down through A100.

The formula worked fine, however the reference value and the look up value
are not any more numbers but a combination of letters and numbers (i.e.
T-410TFG2-A) and the formula is not reading them. How can I fix the
formula?

Thanks in advance for your help.

Regards,

ZUO



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
General number formats changing to Dates or Euros KMH Excel Discussion (Misc queries) 3 January 30th 10 02:35 AM
column formatted to general - cells keep changing to date? lilsparkdog New Users to Excel 1 September 11th 08 05:48 PM
how to stop general format automatically changing to custom Cori Excel Discussion (Misc queries) 3 June 7th 08 07:22 PM
Changing format of column from "general" to "currency" Old Car Excel Discussion (Misc queries) 1 April 29th 05 09:49 AM
How can I keep a cells format, general, from changing after enter. John Z. Excel Discussion (Misc queries) 1 December 23rd 04 03:02 PM


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