PC Review


Reply
Thread Tools Rate Thread

Can IF do this?

 
 
D.P. Roberts
Guest
Posts: n/a
 
      28th Jun 2007
I'd like to have a function in cell A1 that does the following:

If Column C contains the text string "xyz" in any of its cells, display
"true"; if not, display "false"

Is this possible?


 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      29th Jun 2007
Try this in A1:

=COUNTIF(C:C,"xyz")>0

Hope this helps.

Pete

On Jun 28, 11:47 pm, "D.P. Roberts" <DProbe...@pbride.com> wrote:
> I'd like to have a function in cell A1 that does the following:
>
> If Column C contains the text string "xyz" in any of its cells, display
> "true"; if not, display "false"
>
> Is this possible?



 
Reply With Quote
 
=?Utf-8?B?VGVldGhsZXNzIG1hbWE=?=
Guest
Posts: n/a
 
      29th Jun 2007
=ISNUMBER(MATCH("xyz",C:C,0))


"D.P. Roberts" wrote:

> I'd like to have a function in cell A1 that does the following:
>
> If Column C contains the text string "xyz" in any of its cells, display
> "true"; if not, display "false"
>
> Is this possible?
>
>
>

 
Reply With Quote
 
D.P. Roberts
Guest
Posts: n/a
 
      19th Jul 2007
That is perfect - thanks!

"Pete_UK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Try this in A1:
>
> =COUNTIF(C:C,"xyz")>0
>
> Hope this helps.
>
> Pete
>
> On Jun 28, 11:47 pm, "D.P. Roberts" <DProbe...@pbride.com> wrote:
>> I'd like to have a function in cell A1 that does the following:
>>
>> If Column C contains the text string "xyz" in any of its cells, display
>> "true"; if not, display "false"
>>
>> Is this possible?

>
>



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      20th Jul 2007
Glad to be of help - thanks for feeding back.

Pete

On Jul 19, 9:56 pm, "D.P. Roberts" <DProbe...@pbride.com> wrote:
> That is perfect - thanks!
>
> "Pete_UK" <pashu...@auditel.net> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > Try this in A1:

>
> > =COUNTIF(C:C,"xyz")>0

>
> > Hope this helps.

>
> > Pete

>
> > On Jun 28, 11:47 pm, "D.P. Roberts" <DProbe...@pbride.com> wrote:
> >> I'd like to have a function in cell A1 that does the following:

>
> >> If Column C contains the text string "xyz" in any of its cells, display
> >> "true"; if not, display "false"

>
> >> Is this possible?- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:40 PM.