Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
vlookup
I am looking for a way to develop a program that will do the following.
Lookup a number from a table and then display the proper responses. example...I am looking for number 30013-871 In the table there are two entries: 30013-871 = M 30013-871p = P I want the program to recognize if there is the number that I am looking for plus a "P" on it, and display "P". If it's only the number without the P, I want it to display "M". Can anyone help with this?? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
vlookup
Hi Steve
Try this formula.. ColA = Table of numbers B1 = Query number C1 = formula =IF(ISNA(MATCH(B1 & "P",$A$1:$A$10,0))=TRUE,IF(ISNA(MATCH(B1,$A$1:$A$1 0,0))=TRUE,"","m"),"p") If this helps click Yes -------------- Jacob Skaria "Steve" wrote: I am looking for a way to develop a program that will do the following. Lookup a number from a table and then display the proper responses. example...I am looking for number 30013-871 In the table there are two entries: 30013-871 = M 30013-871p = P I want the program to recognize if there is the number that I am looking for plus a "P" on it, and display "P". If it's only the number without the P, I want it to display "M". Can anyone help with this?? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
vlookup in
This is very good; very comprehensive:
http://www.cpearson.com/excel/TablesAndLookups.aspx This should be a little easier to digest: http://www.contextures.com/xlFunctio...ml#IndexMatch4 HTH, Ryan--- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup problem - unable to get the vlookup property | Excel Programming | |||
using a vlookup to enter text into rows beneath the vlookup cell | Excel Programming | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions |