Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default I need a criteria expression to not include records that start wit

I have a list with some records that start with *. I would like to exclude
these from the list with a query. I have tried Not Like '~*%' but it does
not exclude the records. Does anyone have a suggestion for me.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default I need a criteria expression to not include records that start wit

Hi Steve

use an auxiliar column with this formula

=if(lefet(a2,1)="*",mid(a2,2,255),a2)
hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Steve A" escreveu:

I have a list with some records that start with *. I would like to exclude
these from the list with a query. I have tried Not Like '~*%' but it does
not exclude the records. Does anyone have a suggestion for me.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default I need a criteria expression to not include records that start wit

Thanks for your help but I am trying to accomplish this with query so I don't
have to manipulate the table each time I re run the query.

"Steve A" wrote:

I have a list with some records that start with *. I would like to exclude
these from the list with a query. I have tried Not Like '~*%' but it does
not exclude the records. Does anyone have a suggestion for me.

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
random start and calculation Mona Excel Worksheet Functions 3 May 26th 06 03:09 AM
count between start date and end date flow23 Excel Discussion (Misc queries) 5 May 10th 06 01:22 PM
MIN within range based on criteria StevenL Excel Discussion (Misc queries) 9 July 11th 05 11:33 PM
SUM IF Criteria stacey Excel Worksheet Functions 3 December 31st 04 12:22 AM
Inserting Blank Rows Macro? Michael Saffer Excel Worksheet Functions 2 November 9th 04 06:23 PM


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