Occasional Contributor

Dear sir

when we were preparing the salary sheet every time we have to replace cell reference work. So we want to know how to do a shortcut way to add all Sunday in monthly sheet.   if you have any formula regarding the auto-identify the "S" and go down the same cell where is representing the employee duty like (absent or Present ), and calculate the Sunday or Holidays. We are using the 0 is present & "A" is absent. 

{0=1, A=0}

file is attached for your reference. 

4 Replies

Hi @Ashutosh9600 


For Sunday use 



and for Holiday use 


File is also attached for your reference. Please let me know if it works as desired.





What Mr. tauqeeracma sent you should be enough for you to plan.

Nonetheless, with everyone's permission,

I am sending you an old file that I made a long time ago as a vacation planner

in addition to Mr. tauqeeracma suggestion,

maybe that will give you additional ideas.


Some things in the file are in German, it would have to be changed a little to meet your needs and translate :).


Thank you for your patience and understanding



Thanks Mr. Tauqeer
I've use this formula so many times different equations but don't think to apply this formula in salary sheet.
Yes that's enough.