Trouble with Forumlas being used in EXCEL 97 file

HOWARJLA

New Member
Joined
May 9, 2011
Messages
4
I have been given a EXCEL File which contains several Formulas that I am not familiar with. I understand what the Forumla's do (I understand what a if function and etc do and how they work) however what does the "=+" and the "--" parts mean?:confused:


Below are some examples of forumla's being used. I marked the parts which I am unfamiliar with in red.

=+Operations!L44

=+IF(B18="Z",5,0)

=(((SUMPRODUCT(--($D$7:$D$24="supplier"),--($F$7:$F$24=75)))*75*3))+(((SUMPRODUCT(--($D$7:$D$24="supplier"),--($F$7:$F$24=50)))*50*3))


Any insight into what these items do/what they do to the formula would be greatly appreiciated.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
The + are unnecessary

-- coerces an array of False/True to an array of 0/1 that SUMPRODUCT can process.
 
Upvote 0
The + are unnecessary

-- coerces an array of False/True to an array of 0/1 that SUMPRODUCT can process.

Okay Thanks. I didn't think that the + signs were needed; but didn't want to go erasing a bunch of things.

Additional question;
So I think that the -- makes sense to me now. But that only works in reguards to the SUMPRODUCT funtion? or is it used in many other functions? I am not used to arrays out side of MACRO use.

Again. Many Thanks!
 
Upvote 0
You could use this to coerce text into a time, for example

=--"10:15"
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top