Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default 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
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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 12:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"