A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

To Fran Kabel



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2004, 06:21 PM
LEB
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks
  #2  
Old March 5th, 2004, 06:37 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Hi
there is no documentation in the Excel help file for this (as this is
not the standard usage of SUMPRODUCT).
I hope Ken reads this thread as he has an excellent explanantion for
SUMPRODUCT (and I do not find it at the moment)

--
Regards
Frank Kabel
Frankfurt, Germany

LEB wrote:
Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks


  #3  
Old March 5th, 2004, 06:38 PM
LEB
external usenet poster
 
Posts: n/a
Default To Frank Kabel

Sorry I left the "K" off your first name in the first
post.

-----Original Message-----
Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've

been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks
.

  #4  
Old March 5th, 2004, 06:40 PM
JE McGimpsey
external usenet poster
 
Posts: n/a
Default To Fran Kabel

I'm not Frank, but it's no mystery:

The - is a "minus" operator (see "Calculation operators in formulas" in
XL Help).

All math operators attempt to coerce text or boolean values to numbers,
if possible. Boolean values (TRUE/FALSE) are coerced to 1/0,
respectively, so - coerces

-(TRUE)

to -1 and

-(FALSE)

to 0. The second unary minus operator converts -1 to +1 to come out with
a positive number.


In article ,
"LEB" wrote:

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks

  #5  
Old March 5th, 2004, 06:43 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Look up this answer to a previous question which covers this ground

http://tinyurl.com/ywdw4


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"LEB" wrote in message
...
Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks



  #6  
Old March 5th, 2004, 07:03 PM
Bernie Deitrick
external usenet poster
 
Posts: n/a
Default To Fran Kabel

JE,

Any reason that -- is used instead of just +?

Thanks,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
I'm not Frank, but it's no mystery:

The - is a "minus" operator (see "Calculation operators in formulas" in
XL Help).

All math operators attempt to coerce text or boolean values to numbers,
if possible. Boolean values (TRUE/FALSE) are coerced to 1/0,
respectively, so - coerces

-(TRUE)

to -1 and

-(FALSE)

to 0. The second unary minus operator converts -1 to +1 to come out with
a positive number.


In article ,
"LEB" wrote:

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks



  #7  
Old March 5th, 2004, 07:07 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Hi Bernie
maybe as the formula
=+TRUE
still return TRUE
but
=--TRUE
does return 1

--
Regards
Frank Kabel
Frankfurt, Germany

Bernie Deitrick wrote:
JE,

Any reason that -- is used instead of just +?

Thanks,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
I'm not Frank, but it's no mystery:

The - is a "minus" operator (see "Calculation operators in formulas"
in XL Help).

All math operators attempt to coerce text or boolean values to
numbers, if possible. Boolean values (TRUE/FALSE) are coerced to

1/0,
respectively, so - coerces

-(TRUE)

to -1 and

-(FALSE)

to 0. The second unary minus operator converts -1 to +1 to come out
with a positive number.


In article ,
"LEB" wrote:

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks


  #8  
Old March 5th, 2004, 07:13 PM
Bernie Deitrick
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Thanks. So JE's statement

All math operators attempt to coerce text or boolean values to numbers, if

possible.

is slightly too generalized.

Bernie
MS Excel MVP

"Frank Kabel" wrote in message
...
Hi Bernie
maybe as the formula
=+TRUE
still return TRUE
but
=--TRUE
does return 1

--
Regards
Frank Kabel
Frankfurt, Germany

Bernie Deitrick wrote:
JE,

Any reason that -- is used instead of just +?

Thanks,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
I'm not Frank, but it's no mystery:

The - is a "minus" operator (see "Calculation operators in formulas"
in XL Help).

All math operators attempt to coerce text or boolean values to
numbers, if possible. Boolean values (TRUE/FALSE) are coerced to

1/0,
respectively, so - coerces

-(TRUE)

to -1 and

-(FALSE)

to 0. The second unary minus operator converts -1 to +1 to come out
with a positive number.


In article ,
"LEB" wrote:

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks




  #9  
Old March 5th, 2004, 07:14 PM
LEB
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Thanks for all the help. It makes sense now.
-----Original Message-----
Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've

been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks
.

  #10  
Old March 5th, 2004, 07:18 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default To Fran Kabel

Hi JE
one could argue if '+ some_value' is a mathematical operation as this
does not change the value at all :-)

--
Regards
Frank Kabel
Frankfurt, Germany

Bernie Deitrick wrote:
Thanks. So JE's statement

All math operators attempt to coerce text or boolean values to
numbers, if possible.


is slightly too generalized.

Bernie
MS Excel MVP

"Frank Kabel" wrote in message
...
Hi Bernie
maybe as the formula
=+TRUE
still return TRUE
but
=--TRUE
does return 1

--
Regards
Frank Kabel
Frankfurt, Germany

Bernie Deitrick wrote:
JE,

Any reason that -- is used instead of just +?

Thanks,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
I'm not Frank, but it's no mystery:

The - is a "minus" operator (see "Calculation operators in
formulas" in XL Help).

All math operators attempt to coerce text or boolean values to
numbers, if possible. Boolean values (TRUE/FALSE) are coerced to

1/0,
respectively, so - coerces

-(TRUE)

to -1 and

-(FALSE)

to 0. The second unary minus operator converts -1 to +1 to come

out
with a positive number.


In article ,
"LEB" wrote:

Sorry. I lost track of the thread in which I asked the
question about dashes in a SUMPRODUCT function.

You responded the dashes forced Boolean values to
numbers, and I then asked if there is documentation
anywhere in Excel, so that I can study it more. I've been
searching for the thread, so I could read your answer,
but I can't find it. Would you mind answering Here?

Thanks


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.