make weekly report

Kartiksvn

New Member
Joined
Dec 31, 2018
Messages
26
Office Version
  1. 2019
Platform
  1. Windows
date (autofill)​
name​
work hour​
pieces (number)​
note​
07/09/2020​
K​
10​
256​
day​
07/09/2020​
G​
11​
349​
night​
08/09/2020​
H​
9​
201​
day​
08/09/2020​
G​
11​
367​
night​
09/09/2020​
K​
10​
257​
day​
09/09/2020​
H​
10​
244​
day​

and still on.....
now I want formula which is shown weekly report (updating every day so I can see his last 7 days progress) in below table.

name01/0902/0903/0904/0905/0906/0907/09Avg.
K​
23924500255200256239
H​
25925603563453000303
G​
25725500245255349272
So, as you can see there are various types of formulas. like auto date which is daily changes and from that days total pieces and also average formula where calculate only workdays average.
and also operator do night and day both shifts also same day both pieces lots total also should shown in above table. I require date formula in above table which should changes daily. for example next day in heading, 02/09 to 08/09 date must show.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi Kariksvn,

I'm not sure what (autofill) means on the date field.

The calculation omits Saturday and Sunday. If you want to omit Holidays it will need to include a table of holiday dates.

I'm not sure how the night/day shift should change the calculation.

Here is the Data sheet:

Kartiksvn.xlsx
ABCDE
1date (autofill)namework hourpieces (number)note
201-Sep-20K10256day
301-Sep-20G11349night
402-Sep-20H9201day
502-Sep-20G11367night
603-Sep-20K10257day
703-Sep-20H10244day
Data


Here is the Average sheet with formulae

Cell Formulas
RangeFormula
B1:H1B1=TEXT(B2,"ddd")
B2B2=TODAY()-7
C2:H2C2=B2+1
B3:H5B3=SUMIFS(Data!$D:$D,Data!$B:$B,$A3,Data!$A:$A,B$2)
I3:I5I3=SUMIFS(B3:H3,$B$1:$H$1,"<>Sat",$B$1:$H$1,"<>Sun")/COUNTIFS($B$1:$H$1,"<>Sat",$B$1:$H$1,"<>Sun")
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,793
Members
449,048
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top