D
DAKOTASTEVE
Just wondering, this formula was suggested and it works,
but I was curious why the two instances of using double
dashes is necessary for the formula to work.
Formula:
=SUMPRODUCT(--($D$2:$D$4=A2),--($E$2:$E$4=B2),($F$2:$F$4))
Data I was using:
Fund Acct# Amount Fund Org # Amount
100 22001 $20.02 100 22001 $30.10
100 22002 30.00 100 22002 $40.24
200 24003 60.00 200 24001 31.00
Basically what the formula does above is replace values in
List A with Values in List B, and if list B doesn't
correspond with fund and acct in List A, list A gets a
zero value returned. The formula works great, I just want
to learn why the dashes are used, if I don't use the
dashes, the formula doesn't work!
but I was curious why the two instances of using double
dashes is necessary for the formula to work.
Formula:
=SUMPRODUCT(--($D$2:$D$4=A2),--($E$2:$E$4=B2),($F$2:$F$4))
Data I was using:
Fund Acct# Amount Fund Org # Amount
100 22001 $20.02 100 22001 $30.10
100 22002 30.00 100 22002 $40.24
200 24003 60.00 200 24001 31.00
Basically what the formula does above is replace values in
List A with Values in List B, and if list B doesn't
correspond with fund and acct in List A, list A gets a
zero value returned. The formula works great, I just want
to learn why the dashes are used, if I don't use the
dashes, the formula doesn't work!