Don't know if this is possible but I have a formula to calculate a date and need to allow the user to change it when needed. Was thinking of an input box or even a dedicated cell that they could do this in and have it replace that part of the formula that needs to be changed.
=SUM(SUMIFS('PGI Data'!$G:$G,'PGI Data'!$A:$A,$P1,'PGI Data'!$M:$M,$L1,'PGI Data'!$C:$C,"<="&DATE(YEAR($M1),MONTH($M1)+1,-6),'PGI Data'!$N:$N,C10,'PGI Data'!$B:$B,"Z002"))
I want the user to have the ability to change the "-6" in the "DATE" part of this formula to whatever they need it to be. This calculates the last day of the month in Column M minus 6 days. Sometimes it may need to be -4 or -5 or anyother number (not more than 7)
Any way to do this one? Thanks for any help!
Toni
=SUM(SUMIFS('PGI Data'!$G:$G,'PGI Data'!$A:$A,$P1,'PGI Data'!$M:$M,$L1,'PGI Data'!$C:$C,"<="&DATE(YEAR($M1),MONTH($M1)+1,-6),'PGI Data'!$N:$N,C10,'PGI Data'!$B:$B,"Z002"))
I want the user to have the ability to change the "-6" in the "DATE" part of this formula to whatever they need it to be. This calculates the last day of the month in Column M minus 6 days. Sometimes it may need to be -4 or -5 or anyother number (not more than 7)
Any way to do this one? Thanks for any help!
Toni