• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Only calculate when finished entering week

shezi

New Member
I needed help generating a formula week wise. My goal is to have the First Contact (FC) and Follow-up (FU) calculated from Wednesday of a week to the Tuesday of next week by looking at the dates. So, in this case on cell M10 the FC should be 5 and on cell N10 the FU should be 3 and then again it would calculate for the next week from Wednesday until Tuesday so on M16 it should calculate FC as 1 and on N16 the FU as 4. I need to continuously record data for further weeks therefore need a formula which could do so. Would a SUMIF be a good option here?

Currently I have the following formulas:
=COUNTIF(A:A,"First Contact") which calculates 6
=COUNTIF(A:A,"Follow-up") which calculates 7

80364
 
shezi
You could solve that eg this way ... without formulas, no matter of order of data.
Please, next time attach a sample Excel-file too.
 

Attachments

  • shezi.xlsx
    13.2 KB · Views: 6
Try,

1] In C2, formula copied down :

=IF(($A1="")*($B1=""),"",IF($A2<>"","",COUNTIF($A$2:$A2,"First Contract")-SUM(C$1:C1)))

2] In D2, formula copied down :

=IF(($A1="")*($B1=""),"",IF($A2<>"","",COUNTIF($A$2:$A2,"Follow-up")-SUM(D$1:D1)))

80371
 
Try,

1] In C2, formula copied down :

=IF(($A1="")*($B1=""),"",IF($A2<>"","",COUNTIF($A$2:$A2,"First Contract")-SUM(C$1:C1)))

2] In D2, formula copied down :

=IF(($A1="")*($B1=""),"",IF($A2<>"","",COUNTIF($A$2:$A2,"Follow-up")-SUM(D$1:D1)))

View attachment 80371
Thank you so much! That is exactly what I was looking for. Much appreciated
 
Back
Top