Closed Thread
Results 1 to 11 of 11

If cell contains...

Hybrid View

Guest If cell contains... 02-16-2005, 10:57 AM
Guest If cell contains... 02-16-2005, 11:06 AM
Guest Re: If cell contains... 02-16-2005, 11:13 AM
Guest Re: If cell contains... 02-16-2005, 11:13 AM
Guest Re: If cell contains... 02-16-2005, 11:28 AM
Guest Re: If cell contains... 02-16-2005, 11:28 AM
Guest Re: If cell contains... 02-16-2005, 11:28 AM
Guest Re: If cell contains... 02-16-2005, 11:44 AM
sdalgleish Is there a way to change this... 02-21-2005, 08:28 AM
taxman Re: If cell contains... 09-10-2009, 03:14 PM
daddylonglegs Re: If cell contains... 09-10-2009, 03:17 PM
  1. #1
    Tim Sampson
    Guest

    Re: If cell contains...

    "Ken Wright" <ken.wright@NOSPAMntlworld.com> wrote in news:#LEJasDFFHA.4072
    @TK2MSFTNGP10.phx.gbl:

    > =--(COUNTIF(A1,"*fred*")>0)
    >


    What is the =-- for?

    Tim

  2. #2
    Ken Wright
    Guest

    Re: If cell contains...

    Without it the formula will return TRUE or FALSE. The -- will convert TRUE
    to 1 and FALSE to 0

    http://www.mcgimpsey.com/excel/formulae/doubleneg.html

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ----------------------------------------------------------------------------
    It's easier to beg forgiveness than ask permission :-)
    ----------------------------------------------------------------------------

    "Tim Sampson" <mail@get.rid.of.this.the-sampsons.co.uk> wrote in message
    news:Xns95FF9CE65B9FFtimsampsonessexuk@213.210.46.2...
    > "Ken Wright" <ken.wright@NOSPAMntlworld.com> wrote in

    news:#LEJasDFFHA.4072
    > @TK2MSFTNGP10.phx.gbl:
    >
    > > =--(COUNTIF(A1,"*fred*")>0)
    > >

    >
    > What is the =-- for?
    >
    > Tim




  3. #3
    Registered User
    Join Date
    02-21-2005
    Posts
    1
    Quote Originally Posted by Ken Wright
    Without it the formula will return TRUE or FALSE. The -- will convert TRUE
    to 1 and FALSE to 0

    http://www.mcgimpsey.com/excel/formulae/doubleneg.html
    Is there a way to change this from 1/0 to something else? For example, I'd like to have something like a YES if its true but just a blank cell if false.

    Thanks

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1