#1   Report Post  
wal50
 
Posts: n/a
Default Sumproduct

I'm sure this has a simple answer but I'm missing it.
In examples like this one:
=SUMPRODUCT(--(A1:A100="Apr 04"),--(C1:C100="New"),E1:E100)

What do the dashes (--) mean.

thanks
  #2   Report Post  
Johannes
 
Posts: n/a
Default

spaces... just leave them out... might have an additional meaning that i'm
unawere of though


"wal50" schreef in bericht
...
I'm sure this has a simple answer but I'm missing it.
In examples like this one:
=SUMPRODUCT(--(A1:A100="Apr 04"),--(C1:C100="New"),E1:E100)

What do the dashes (--) mean.

thanks



  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Johannes, wal50
DON'T leave them out. They 're essential. They coerce the boolean
values (TRUE/FALSE) to numeric values (1/0). For an explanation see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
and
http://www.mcgimpsey.com/excel/formulae/doubleneg.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
spaces... just leave them out... might have an additional meaning

that i'm
unawere of though


"wal50" schreef in bericht
...
I'm sure this has a simple answer but I'm missing it.
In examples like this one:
=SUMPRODUCT(--(A1:A100="Apr 04"),--(C1:C100="New"),E1:E100)

What do the dashes (--) mean.

thanks




  #4   Report Post  
Johannes
 
Posts: n/a
Default

Interesting... Didn't know that one. Sorry wal50 and thanks (again) Frank



"Frank Kabel" schreef in bericht
...
Hi Johannes, wal50
DON'T leave them out. They 're essential. They coerce the boolean
values (TRUE/FALSE) to numeric values (1/0). For an explanation see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
and
http://www.mcgimpsey.com/excel/formulae/doubleneg.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
spaces... just leave them out... might have an additional meaning

that i'm
unawere of though


"wal50" schreef in bericht
...
I'm sure this has a simple answer but I'm missing it.
In examples like this one:
=SUMPRODUCT(--(A1:A100="Apr 04"),--(C1:C100="New"),E1:E100)

What do the dashes (--) mean.

thanks






  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
no problem. You have probably used the '*' syntax instead then there's
no need for the double minus :-))

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
Interesting... Didn't know that one. Sorry wal50 and thanks (again)

Frank



"Frank Kabel" schreef in bericht
...
Hi Johannes, wal50
DON'T leave them out. They 're essential. They coerce the boolean
values (TRUE/FALSE) to numeric values (1/0). For an explanation

see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
and
http://www.mcgimpsey.com/excel/formulae/doubleneg.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
spaces... just leave them out... might have an additional meaning

that i'm
unawere of though


"wal50" schreef in bericht
...
I'm sure this has a simple answer but I'm missing it.
In examples like this one:
=SUMPRODUCT(--(A1:A100="Apr 04"),--(C1:C100="New"),E1:E100)

What do the dashes (--) mean.

thanks








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
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Multiple SumProduct conditions wal50 Excel Worksheet Functions 3 November 23rd 04 10:48 PM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct in Excel Spreadsheet to read Access db table Jules Excel Worksheet Functions 1 November 9th 04 02:50 PM
SUMPRODUCT using offset from ROW if X marks the spot The Shaffer s Excel Worksheet Functions 3 November 2nd 04 06:14 AM


All times are GMT +1. The time now is 10:03 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"