FinancialAnalystKid
Well-known Member
- Joined
- Oct 14, 2004
- Messages
- 779
I ran into this Formula on VBAExpress
=SUMPRODUCT(--($B$2:$B$8=F2),--($D$2:$D$8="X"))
And I was wondering what the dashes '--' do in a formula? I've never come across using -- in a formula before.
=SUMPRODUCT(--($B$2:$B$8=F2),--($D$2:$D$8="X"))
And I was wondering what the dashes '--' do in a formula? I've never come across using -- in a formula before.