#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
roy.okinawa
 
Posts: n/a
Default Wild Card Search

Is there a way to use a wild card character to search for all text?
Something like this:
=IF(A2="","",IF(ISNUMBER(SEARCH("All text",B2)),A2+ROW()/10^10,""))

Column A has a date. Column B has text. I enter a date in C1 and all the
text in Column B is populated starting at C2 and carried on down the column
for all text matching the entered date.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Philip J Smith
 
Posts: n/a
Default Wild Card Search

Try

=if(cell("type",B2)="l",then,else)

"l" is lower case L standing for "Label". See the help for this function
describing other data "type".

Regards

Phil

"roy.okinawa" wrote:

Is there a way to use a wild card character to search for all text?
Something like this:
=IF(A2="","",IF(ISNUMBER(SEARCH("All text",B2)),A2+ROW()/10^10,""))

Column A has a date. Column B has text. I enter a date in C1 and all the
text in Column B is populated starting at C2 and carried on down the column
for all text matching the entered date.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default Wild Card Search

How about:

=IF(A2=C$1,B2,"")

entered into C2 and copied down as necessary.

Hope this helps.

Pete

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
roy.okinawa
 
Posts: n/a
Default Wild Card Search

Pete,

That works for me. Thanks.

Now is there a way to make it look for mm/yyyy instead of a single date.
There will be times when I need to see the whole month instead of a single
day.

The date in the cell will be in this order: mm/dd/yyyy

"Pete" wrote:

How about:

=IF(A2=C$1,B2,"")

entered into C2 and copied down as necessary.

Hope this helps.

Pete


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default Wild Card Search

Hi Roy,

Glad it worked for you. You could try this to search on the month:

=IF(MONTH(A2)=MONTH(C$1),B2,"")

and copy it down. The limitation here is that if you have dates
spanning several years and you put 1st Jan 2006 in C1, then you will
have January details showing for all years. You can use the YEAR( )
function with AND to refine this.

Hope this helps further.

Pete

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
wild card -- help with formula Michael A Excel Discussion (Misc queries) 10 January 8th 06 10:15 AM
Wild card * Herman Excel Worksheet Functions 0 October 21st 05 01:39 PM
Is it possible to use a wild card in a =COUNT(IF equation? JDavis Excel Worksheet Functions 6 September 29th 05 01:05 AM
Using wild card characters in array formulas PJB Shark Excel Worksheet Functions 3 January 19th 05 03:09 PM
Wild Card and Dates hkslater Excel Worksheet Functions 2 November 12th 04 09:16 PM


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