Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ttp ttp is offline
external usenet poster
 
Posts: 2
Default how to filter for begin of text string

I'm trying to create a simple filter to return a specific text statement if
the variable begins with 'CR'. EXCEL is returning false when I believe the
statement is true. Please help me see my error.

If(B1 = "CR*), then P = HQ else P = OC
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default how to filter for begin of text string

IF(Left(B1,2)="CR", your results

Not sure what P is.. P1?

Then, P1="HQ",P1="OC")

"ttp" wrote:

I'm trying to create a simple filter to return a specific text statement if
the variable begins with 'CR'. EXCEL is returning false when I believe the
statement is true. Please help me see my error.

If(B1 = "CR*), then P = HQ else P = OC

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default how to filter for begin of text string

one way

=IF(LEFT(B1,2)="CR","HQ","OC")


"ttp" wrote in message
...
I'm trying to create a simple filter to return a specific text statement
if
the variable begins with 'CR'. EXCEL is returning false when I believe
the
statement is true. Please help me see my error.

If(B1 = "CR*), then P = HQ else P = OC



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default how to filter for begin of text string

Hi

Is this a formula question? If so then:

=IF(LEFT(B1,2)="CR","HQ","OC")

Richard


"ttp" wrote in message
...
I'm trying to create a simple filter to return a specific text statement
if
the variable begins with 'CR'. EXCEL is returning false when I believe
the
statement is true. Please help me see my error.

If(B1 = "CR*), then P = HQ else P = OC


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
text lists - begin typing names jtaiariol Excel Worksheet Functions 1 March 15th 07 09:01 PM
count cells that begin with specific text mmer at steelcase Excel Worksheet Functions 7 July 25th 06 09:03 PM
Serial Numbers that begin with Text KRC Excel Discussion (Misc queries) 4 June 27th 06 05:43 PM
advanced filter criteria "begins with" and "does not begin with" raph_baril Excel Worksheet Functions 3 June 28th 05 10:38 PM
Heelp...the "begin with" custom filter does not work Question_from_holland Excel Discussion (Misc queries) 2 January 13th 05 01:05 PM


All times are GMT +1. The time now is 07:10 PM.

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

About Us

"It's about Microsoft Excel"