What does -- do?

  • Thread starter Thread starter Maistrye
  • Start date Start date
M

Maistrye

Hi,

I was wondering what -- does. I'm assuming -- does not mean +.
Specifically, I saw one example from Contextures with:

=SUMPRODUCT(--(ColourList=B15),(UnitsList),--(DateList>=$C$2),--(DateList<=$E$2))

Although I'm specifically referring to sumproduct, if it has different
meanings/usage elsewhere, I'd be interested in knowing about that too.
If you know of a website that explains it, that would work fine too.
(-- isn't an easy thing to search for)

Thanks,
Scott
 
I've also seen folks use it to convert text date values to numeric for some
logical comparisons, like

=I11<(--"4/5/06") -U.S. short date format. Note that the DATE function is
probably a better choice if your workbook will be used by others.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top