Hi there!
i feel that this formula can be way more simple... can you guys help me with this?
=SUMPRODUCT((_1=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_2=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_3=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_4=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_5=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_6=BM4)*(_FC<=CP2)*(_FC>=CP1)+(_7=BM4)*(_FC<=CP2)*(_FC>=CP1))
(_FC<=CP2)*(_FC>=CP1) = are the days of a month (january for instance)
_1 to _7 are ranges
BM4 is a constant
I would greatly appreciate your help![]()
Bookmarks