SOLVED
Home

attandence sheet need help.

%3CLINGO-SUB%20id%3D%22lingo-sub-574276%22%20slang%3D%22en-US%22%3Eattandence%20sheet%20need%20help.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574276%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20excel%20work%20sheet%20where%20I%20am%20entering%20daily%20attendance%20of%20workers%20I%20want%20make%20summary%20of%20all%20month%20that%20summary%20sheet%20should%20be%20auto%20updated%20(in%20summary%20sheet%20I%20need%20sum%20of%20all%20months)%20is%20there%20any%20formula%20which%20I%20can%20use%20it%20attach%20file%20for%20your%20ref...%20%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3CP%3EYasir%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-574276%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-574305%22%20slang%3D%22en-US%22%3ERe%3A%20attandence%20sheet%20need%20help.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574305%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F120453%22%20target%3D%22_blank%22%3E%40M.Yasir%20Fakhr%3C%2FA%3E%26nbsp%3B%20Please%20find%20the%20attached%20solved%20sheet.%20In%20summary%2C%20you%20will%20get%20sum%20count%20of%20all%20months.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20made%20only%20for%20400%20employees%20if%20you%20want%20you%20can%20change%20the%20ranges.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-574310%22%20slang%3D%22en-US%22%3ERe%3A%20attandence%20sheet%20need%20help.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574310%22%20slang%3D%22en-US%22%3EIf%20all%20sheets%20have%20the%20same%20static%20layout%2C%20you%20may%20enter%20this%20formula%20in%20Summary!C4%2C%20copied%20down%20rows%20and%20across%20columns%3A%3CBR%20%2F%3E%3DSUM('%3F%3F%3F'!C4)%3CBR%20%2F%3EUpon%20pressing%20Enter%2C%20the%20above%20formula%20will%20automatically%20be%20modified%20to%3A%3CBR%20%2F%3E%3DSUM(Jan%3AJun!C4)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-574376%22%20slang%3D%22en-US%22%3ERe%3A%20attandence%20sheet%20need%20help.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574376%22%20slang%3D%22en-US%22%3E%3CP%3Ethanks%20a%20lot%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-574472%22%20slang%3D%22en-US%22%3ERe%3A%20attandence%20sheet%20need%20help.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574472%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F120453%22%20target%3D%22_blank%22%3E%40M.Yasir%20Fakhr%3C%2FA%3E%26nbsp%3B%2C%20you%20may%20make%20it%20more%20dynamic%20if%20in%20helper%20sheet%20add%20information%20for%20which%20months%20you'd%20like%20to%20have%20the%20summary%20(otherwise%20which%20sheets%20you%20have%20filled)%20and%20map%20your%20columns%2C%20like%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20333px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113714iCFBB0E3F0640F751%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFormula%20in%20C4%20of%20summary%20sheet%20will%20be%3C%2FP%3E%0A%3CPRE%3E%3DSUMPRODUCT(%0A%20%20%20SUMIFS(%0A%20%20%20%20%20%20INDIRECT(%22'%22%26amp%3BOFFSET(Periods!%24A%242%2C0%2C0%2CCOUNTA(Periods!%24A%3A%24A)-1)%26amp%3B%22'!%22%20%26amp%3B%20INDEX(Periods!%24D%242%3A%24D%249%2CCOLUMN()))%2C%0A%20%20%20%20%20%20INDIRECT(%22'%22%26amp%3BOFFSET(Periods!%24A%242%2C0%2C0%2CCOUNTA(Periods!%24A%3A%24A)-1)%26amp%3B%22'!%24B%3A%24B%22)%2C%0A%20%20%20%20%20%20%24B4))%3C%2FPRE%3E%0A%3CP%3E%2C%20drag%20it%20to%20another%20cells.%3C%2FP%3E%0A%3CP%3EWith%20that%20you%20independent%20on%20current%20amount%20of%20months%20plus%20names%20are%20not%20necessary%20to%20be%20repeated%20in%20every%20month%20sheet.%20People%20come%20and%20leave.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
M.Yasir Fakhr
Occasional Contributor

Dear all,

 

I have excel work sheet where I am entering daily attendance of workers I want make summary of all month that summary sheet should be auto updated (in summary sheet I need sum of all months) is there any formula which I can use it attach file for your ref...  

Thanks 

Yasir

4 Replies
Solution

@M.Yasir Fakhr  Please find the attached solved sheet. In summary, you will get sum count of all months.

 

i have made only for 400 employees if you want you can change the ranges.

If all sheets have the same static layout, you may enter this formula in Summary!C4, copied down rows and across columns:
=SUM('???'!C4)
Upon pressing Enter, the above formula will automatically be modified to:
=SUM(Jan:Jun!C4)

thanks a lot

@M.Yasir Fakhr , you may make it more dynamic if in helper sheet add information for which months you'd like to have the summary (otherwise which sheets you have filled) and map your columns, like

image.png

Formula in C4 of summary sheet will be

=SUMPRODUCT(
   SUMIFS(
      INDIRECT("'"&OFFSET(Periods!$A$2,0,0,COUNTA(Periods!$A:$A)-1)&"'!" & INDEX(Periods!$D$2:$D$9,COLUMN())),
      INDIRECT("'"&OFFSET(Periods!$A$2,0,0,COUNTA(Periods!$A:$A)-1)&"'!$B:$B"),
      $B4))

, drag it to another cells.

With that you independent on current amount of months plus names are not necessary to be repeated in every month sheet. People come and leave.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies