Hi There,
I am getting attendance data on daily basis from various partners ( This is incremental data),
I want to prepare 2 summaries out of it in Excel Power Query based on Operation date and subsequent table.
I have table in "Details" Sheet where we have a list of registered partners, input is coming from MS form in "From Input" sheet, I want power query to compare "Opd id" and "Operation date" between "Details" sheet and "Form Input" Sheet, if particular OPD id has an entry in Form Input then "Details" sheet should show as "Open" in that particular date else "Closed"
Similarly, in "Sum" sheet, I need a count of Open & Closed for perticular day.
Both the summaries should be able to handle incremental data and increase date columns on each day.
Sharing Input file
Expected summary 1 ( Details Sheet)
Summary 2 ( Sum Sheet)
Please help me in this.
Sakshi
I am getting attendance data on daily basis from various partners ( This is incremental data),
I want to prepare 2 summaries out of it in Excel Power Query based on Operation date and subsequent table.
I have table in "Details" Sheet where we have a list of registered partners, input is coming from MS form in "From Input" sheet, I want power query to compare "Opd id" and "Operation date" between "Details" sheet and "Form Input" Sheet, if particular OPD id has an entry in Form Input then "Details" sheet should show as "Open" in that particular date else "Closed"
Similarly, in "Sum" sheet, I need a count of Open & Closed for perticular day.
Both the summaries should be able to handle incremental data and increase date columns on each day.
Sharing Input file
Daily Tracker.xlsb | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Service Centre Name | City | OPD Id | Operation Type | Branch | Date of Operation | ASC Opening Time | ASC Closing Time | Number of Employees Present | ||
2 | SMART HOME CARE | BHUBANRSWAR | OPD18 | Only Field | Bihar, Odisha & Jharkhand | 23-04-21 | 10:00:00 AM | 6:00:00 PM | 4 | ||
3 | KUTHARI ENTERPRISES | BERHAMPUR | OPD16 | Only Field | Bihar, Odisha & Jharkhand | 23-04-21 | 10:00:00 AM | 5:00:00 PM | 3 | ||
4 | RIMA SERVICE POINT | JORHAT | OPD24 | Both | West Bengal & NE | 23-04-21 | 10:00:00 AM | 6:00:00 PM | 3 | ||
5 | THE KEYPAD | GUWAHATI | OPD23 | Both | West Bengal & NE | 24-04-21 | 8:00:00 AM | 5:00:00 PM | 5 | ||
6 | RIMA SERVICE POINT | JORHAT | OPD24 | Both | West Bengal & NE | 24-04-21 | 10:00:00 AM | 6:00:00 PM | 3 | ||
7 | STAR SERVICES | JEYPORE | OPD20 | Both | Bihar, Odisha & Jharkhand | 22-04-21 | 10:00:00 AM | 6:00:00 PM | 4 | ||
8 | STAR SERVICES | JEYPORE | OPD20 | Both | Bihar, Odisha & Jharkhand | 23-04-21 | 10:00:00 AM | 6:00:00 PM | 4 | ||
9 | STAR SERVICES | JEYPORE | OPD20 | Only Workshop | Bihar, Odisha & Jharkhand | 24-04-21 | 10:00:00 AM | 6:00:00 PM | 4 | ||
Form Input |
Expected summary 1 ( Details Sheet)
Daily Tracker.xlsb | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Region | Branch | State | City | OPD ID | Workshop Name | 23-Apr | 24-Apr | 25-Apr | 26-Apr | ||
2 | East | Bihar, Odisha & Jharkhand | BR | Begusarai | OPD1 | Manish Enterprises | Closed | Closed | Closed | Closed | ||
3 | East | Bihar, Odisha & Jharkhand | BR | Bhagalpur | OPD2 | Service Plaza | Closed | Closed | Closed | Closed | ||
4 | East | Bihar, Odisha & Jharkhand | BR | Gaya | OPD3 | Sanehi Enterprises | Closed | Closed | Closed | Closed | ||
5 | East | Bihar, Odisha & Jharkhand | BR | Muzaffarpur | OPD4 | Shakshi Traders | Closed | Closed | Closed | Closed | ||
6 | East | Bihar, Odisha & Jharkhand | BR | Patna | OPD5 | Ayush Enterprises Bihar | Closed | Closed | Closed | Closed | ||
7 | East | Bihar, Odisha & Jharkhand | BR | PURNEA | OPD6 | A S ENTERPRISES | Closed | Closed | Closed | Closed | ||
8 | East | Bihar, Odisha & Jharkhand | BR | Saharsa | OPD7 | Hoda Enterprises | Closed | Closed | Closed | Closed | ||
9 | East | Bihar, Odisha & Jharkhand | JH | Deoghar | OPD8 | Shiv Sales And Service | Open | Open | Open | Closed | ||
10 | East | Bihar, Odisha & Jharkhand | JH | Dhanbad | OPD9 | Digital Care | Closed | Closed | Closed | Closed | ||
11 | East | Bihar, Odisha & Jharkhand | JH | Hazaribagh | OPD10 | Sigma Electronics | Closed | Closed | Closed | Closed | ||
12 | East | Bihar, Odisha & Jharkhand | JH | Jamshedpur | OPD11 | B.P Electrical | Open | Open | Open | Open | ||
13 | East | Bihar, Odisha & Jharkhand | JH | Ranchi | OPD12 | Digital Service | Closed | Closed | Closed | Closed | ||
14 | East | Bihar, Odisha & Jharkhand | OR | Angul | OPD13 | Modern Technology | Open | Open | Closed | Open | ||
15 | East | Bihar, Odisha & Jharkhand | OR | Balangir | OPD14 | Jay Matadi Services | Open | Closed | Closed | Open | ||
16 | East | Bihar, Odisha & Jharkhand | OR | Balesore | OPD15 | P C Electronics | Open | Closed | Closed | Open | ||
17 | East | Bihar, Odisha & Jharkhand | OR | Berhampur-1 | OPD16 | Kuthari Enterprisers | Open | Closed | Closed | Open | ||
18 | East | Bihar, Odisha & Jharkhand | OR | Bhadrak | OPD17 | Ohmega Enterprises | Closed | Closed | Closed | Open | ||
19 | East | Bihar, Odisha & Jharkhand | OR | Bhubnaswar | OPD18 | Smart Home Care | Open | Open | Closed | Open | ||
20 | East | Bihar, Odisha & Jharkhand | OR | Cuttack | OPD19 | S R Care | Closed | Closed | Closed | Closed | ||
21 | East | Bihar, Odisha & Jharkhand | OR | Jeypore | OPD20 | Star Services | Open | Open | Closed | Open | ||
22 | East | Bihar, Odisha & Jharkhand | OR | Rourkela | OPD21 | Vision & Vision Service | Open | Closed | Closed | Open | ||
23 | East | Bihar, Odisha & Jharkhand | OR | Sambalpur | OPD22 | Popular Service | Open | Open | Closed | Open | ||
24 | East | West Bengal & NE | AS | Guwahati | OPD23 | The Keypad | Closed | Open | Closed | Open | ||
25 | East | West Bengal & NE | AS | Jorhat | OPD24 | Rima Service Point | Open | Open | Closed | Closed | ||
Details |
Summary 2 ( Sum Sheet)
Daily Tracker.xlsb | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
2 | Region | Branch | 23-Apr | 24-Apr | 25-Apr | 26-Apr | ||||||
3 | Open | Closed | Open | Closed | Open | Closed | Open | Closed | ||||
4 | East | Bihar, Odisha & Jharkhand | 10 | 12 | 6 | 16 | 0 | 22 | 10 | 12 | ||
5 | East | West Bengal & NE | 1 | 1 | 2 | 0 | 0 | 30 | 1 | 1 | ||
6 | India | 11 | 13 | 8 | 16 | 0 | 225 | 11 | 13 | |||
Sum |
Please help me in this.
Sakshi