"Ken Wright" <ken.wright@NOSPAMntlworld.com> wrote in news:#LEJasDFFHA.4072
@TK2MSFTNGP10.phx.gbl:
> =--(COUNTIF(A1,"*fred*")>0)
>
What is the =-- for?
Tim
"Ken Wright" <ken.wright@NOSPAMntlworld.com> wrote in news:#LEJasDFFHA.4072
@TK2MSFTNGP10.phx.gbl:
> =--(COUNTIF(A1,"*fred*")>0)
>
What is the =-- for?
Tim
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
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.Originally Posted by Ken Wright
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks