H
HammerJoe
Hi,
I am trying to use Sumproduct to give me the sum of a range but I cant
get it to work
Row A contains dates
Row B contains Boolean (true or false)
What I want to do is to sum all the Row B that are true and that row A
date is equal to current month date.
I've been playing with :
=SUMPRODUCT(A1:A18")=MONTH(TODAY())*(B1:B18=True) but it gives me an
error.
Tried different approaches and cant get it to work.
Can someone fix this for me please?
The second part of my question is how to adapt the formula to an
increase range.
Every day the row count increases by one, can the formula
automatically use all the rows that have dates instead of a fixed
range A1:A18?
If it is simpler to use VB it would be okay as well, but you will have
to tell me how to call the function from within the spreadsheet?
Thanks for the help.
I am trying to use Sumproduct to give me the sum of a range but I cant
get it to work
Row A contains dates
Row B contains Boolean (true or false)
What I want to do is to sum all the Row B that are true and that row A
date is equal to current month date.
I've been playing with :
=SUMPRODUCT(A1:A18")=MONTH(TODAY())*(B1:B18=True) but it gives me an
error.
Tried different approaches and cant get it to work.
Can someone fix this for me please?
The second part of my question is how to adapt the formula to an
increase range.
Every day the row count increases by one, can the formula
automatically use all the rows that have dates instead of a fixed
range A1:A18?
If it is simpler to use VB it would be okay as well, but you will have
to tell me how to call the function from within the spreadsheet?
Thanks for the help.