Forum Discussion
KAM_Mumin
Sep 18, 2022Brass Contributor
MS Excel DAY/WEEK/MONTH Formula.
Hi Everyone! I want to count the running week days before today date with counting today, when it gets the dates then it count the dates related rows data and count them together and show it to the ...
- Sep 18, 2022
I have rearranged your formula a little and also developed the one for the month. I think it should fit like this.
=SUMPRODUCT((Data_Sheet[Date and Day]>$C2-WEEKDAY($C2,16))*(Notice_Board[[#Headers],[Renting Cost]]=Data_Sheet[Type of Cost])*Data_Sheet[Cost (TK)])
=SUMPRODUCT((Data_Sheet[Date and Day]>$C2-DAY($C2))*(Notice_Board[[#Headers],[Renting Cost]]=Data_Sheet[Type of Cost])*Data_Sheet[Cost (TK)])
dscheikey
Sep 18, 2022Bronze Contributor
I have rearranged your formula a little and also developed the one for the month. I think it should fit like this.
=SUMPRODUCT((Data_Sheet[Date and Day]>$C2-WEEKDAY($C2,16))*(Notice_Board[[#Headers],[Renting Cost]]=Data_Sheet[Type of Cost])*Data_Sheet[Cost (TK)])
=SUMPRODUCT((Data_Sheet[Date and Day]>$C2-DAY($C2))*(Notice_Board[[#Headers],[Renting Cost]]=Data_Sheet[Type of Cost])*Data_Sheet[Cost (TK)])
KAM_Mumin
Sep 18, 2022Brass Contributor
Oh brother I can't believe how easy you make it,,,, thanks a lot,,,,
you can't believe how hard I am going to make it,,, if you see what am I trying to solve this then relay you will impressed and laugh,,,