Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Use Like in Vlookup
Here is my function:
=IF(ISNA(VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)),0,VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)) I am trying to get Excel to evaluate this string in cell H12: "US-MD" The data looks like this: Medscape - US-HCP - Cardiology - 728x90 - Top, 03/01/2009 Medscape - US-MD - Cardiology - 120x600 - LR, 03/01/2009 Any ideas on how to do this? Thanks, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Use Like in Vlookup
Hi,
Try this =VLOOKUP("*"&H12&"*",'booked pivot'!G:H,2,FALSE) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "ryguy7272" wrote in message ... Here is my function: =IF(ISNA(VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)),0,VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)) I am trying to get Excel to evaluate this string in cell H12: "US-MD" The data looks like this: Medscape - US-HCP - Cardiology - 728x90 - Top, 03/01/2009 Medscape - US-MD - Cardiology - 120x600 - LR, 03/01/2009 Any ideas on how to do this? Thanks, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Use Like in Vlookup
Just to add to Ashish's response...
You may want to make sure that H12 is non-empty--otherwise "**" will match the first entry. =if(h12="","",vlookup(.... Ashish Mathur wrote: Hi, Try this =VLOOKUP("*"&H12&"*",'booked pivot'!G:H,2,FALSE) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "ryguy7272" wrote in message ... Here is my function: =IF(ISNA(VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)),0,VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)) I am trying to get Excel to evaluate this string in cell H12: "US-MD" The data looks like this: Medscape - US-HCP - Cardiology - 728x90 - Top, 03/01/2009 Medscape - US-MD - Cardiology - 120x600 - LR, 03/01/2009 Any ideas on how to do this? Thanks, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. -- Dave Peterson |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Use Like in Vlookup
Are you wanting to return the date?
This is all in one cell in column G ? Medscape - US-MD - Cardiology - 120x600 - LR And the date is in column H ? As long as there is only one instance of US-MD you can use a SUMIF formula: =SUMIF('booked pivot'!G:G,"*"&H12&"*",'booked pivot'!H:H) Format as Date -- Biff Microsoft Excel MVP "ryguy7272" wrote in message ... Here is my function: =IF(ISNA(VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)),0,VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)) I am trying to get Excel to evaluate this string in cell H12: "US-MD" The data looks like this: Medscape - US-HCP - Cardiology - 728x90 - Top, 03/01/2009 Medscape - US-MD - Cardiology - 120x600 - LR, 03/01/2009 Any ideas on how to do this? Thanks, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Use Like in Vlookup
Thanks everyone!!
Ryan-- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "T. Valko" wrote: Are you wanting to return the date? This is all in one cell in column G ? Medscape - US-MD - Cardiology - 120x600 - LR And the date is in column H ? As long as there is only one instance of US-MD you can use a SUMIF formula: =SUMIF('booked pivot'!G:G,"*"&H12&"*",'booked pivot'!H:H) Format as Date -- Biff Microsoft Excel MVP "ryguy7272" wrote in message ... Here is my function: =IF(ISNA(VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)),0,VLOOKUP(H12,'booked pivot'!G:H,2,FALSE)) I am trying to get Excel to evaluate this string in cell H12: "US-MD" The data looks like this: Medscape - US-HCP - Cardiology - 728x90 - Top, 03/01/2009 Medscape - US-MD - Cardiology - 120x600 - LR, 03/01/2009 Any ideas on how to do this? Thanks, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |