<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arshad Mk on Medium]]></title>
        <description><![CDATA[Stories by Arshad Mk on Medium]]></description>
        <link>https://medium.com/@arshad.mk?source=rss-2f06f93be68f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OP1g4uaIDmPH8TSyQGZZ0g.jpeg</url>
            <title>Stories by Arshad Mk on Medium</title>
            <link>https://medium.com/@arshad.mk?source=rss-2f06f93be68f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:32:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arshad.mk/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automate Reporting Using Google Sheets and Apps Script]]></title>
            <link>https://medium.com/@arshad.mk/automate-reporting-using-google-sheets-and-apps-script-14d5033584ff?source=rss-2f06f93be68f------2</link>
            <guid isPermaLink="false">https://medium.com/p/14d5033584ff</guid>
            <category><![CDATA[reporting]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[google-sheets]]></category>
            <category><![CDATA[workflow-automation]]></category>
            <dc:creator><![CDATA[Arshad Mk]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 11:03:15 GMT</pubDate>
            <atom:updated>2026-10-25T11:03:15.422Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShHXEeRf_I-JVLhNldWJvg.png" /></figure><p>Every morning, a sales manager gets one email: a single-page dashboard as a PDF, and a few sentences saying how the numbers look and where to pay attention. Nobody builds and sends it mannualy. This is a demonstration of reporting automation, and the same pattern works for any use case where a number has to reach a person on a schedule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*5m3SVtFrwWeox2qRgPH-0w.png" /><figcaption>The email as received in the recipeint’s inbox</figcaption></figure><p><strong>A note up front:</strong> the data is synthetic. It is a fictional consumer electronics brand, generated for this demonstration, and the targets are simulated too. The language in this article was refined using an AI model.</p><h3>The problem</h3><p>Manual sales reporting tends to break in three places. The data arrives messy, so the numbers quietly drift. The report depends on one person remembering to build it. And the reader gets charts without the story.</p><p>I framed it as a product with one user, a sales manager, and one question: are we on track, and where aren’t we?</p><h3>Where else this pattern fits</h3><p>Sales is only the demo. The same pipeline works wherever someone needs a number on a schedule:</p><ul><li><strong>Support:</strong> ticket backlog and response times against SLA targets.</li><li><strong>Inventory:</strong> stock levels and items about to run out, by warehouse.</li><li><strong>Finance:</strong> budget versus actuals by cost centre.</li><li><strong>Marketing:</strong> campaign spend and conversions by channel.</li><li><strong>Delivery:</strong> milestone status and slipped tasks by team.</li></ul><p>The data columns, the cleaning rules and the targets change. The dashboard pattern and the delivery step carry over.</p><h3>The shape of the solution</h3><p>The workbook is a small pipeline, and each layer has one job:</p><ul><li><strong>Sales_Data:</strong> raw orders, 2,412 rows across four regions, twelve reps and twelve months. About 2.4% of rows are deliberately broken: duplicates, blank regions, inconsistent spellings, negative quantities.</li><li><strong>Clean_Data:</strong> the cleaned copy that everything else reads, with a note on every fix.</li><li><strong>Calc:</strong> a formula-only layer that reads the filters and computes every KPI.</li><li><strong>Dashboard:</strong> KPI tiles, region versus target, a monthly trend, channel and category mix, a month-by-region heatmap, and top products and reps.</li><li><strong>Apps Script:</strong> turns the dashboard into a PDF and an email, on a schedule.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2VSVwmq-zZC3FtevhG1CqQ.png" /></figure><h3>Decisions that mattered</h3><p><strong>Clean before you count.</strong> The dashboard reads the cleaned layer, never the raw sheet. Duplicate orders would have inflated revenue, and logging each fix makes data quality visible rather than hidden.</p><p><strong>Dropdowns instead of slicers.</strong> Native Google Sheets slicers filter the rows of a table, so they cannot drive formula-based charts. Four dropdowns (period, region, channel, category) feed the calculation layer, and that drives every number and chart.</p><p>Under the hood, each dropdown becomes a wildcard criterion, so “All” simply matches everything (simplified):</p><pre>Calc!F4  =IF(E4=&quot;All&quot;,&quot;*&quot;,E4)       // dropdown choice becomes a wildcard<br><br>Net revenue =SUMIFS(Clean_Data!M:M,<br>   Clean_Data!B:B, &quot;&gt;=&quot;&amp;start, Clean_Data!B:B, &quot;&lt;=&quot;&amp;end,<br>   Clean_Data!O:O, &quot;Delivered&quot;,<br>   Clean_Data!C:C, $F$4,        // region<br>   Clean_Data!G:G, $F$5,        // channel<br>   Clean_Data!H:H, $F$6)        // category</pre><p><strong>Don’t show a misleading target.</strong> Targets exist per region and month only. When someone filters by channel or category, target tracking switches off instead of comparing unlike things. For month-to-date views, targets are prorated by day.</p><p><strong>One source for the words.</strong> The email body is the dashboard’s own auto-generated summary, so the email and the PDF cannot disagree.</p><p>To check my work, I compared the dashboard against an independent calculation across four filter combinations. The totals matched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADQpmCsDwkWm3M_UNJUmJw.png" /><figcaption>Dashboard snapshot from the working spreadsheet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YZxHIADPU82ai33LR--w6A.png" /><figcaption>Filtered view of the dashboard showing red alerts</figcaption></figure><h3>The automation layer</h3><p>The script is a handful of small functions, each doing one job:</p><ul><li><strong>prepareDashboard_</strong> resets the dropdowns so every daily snapshot is comparable.</li><li><strong>readSummary_</strong> pulls the summary sentence from the dashboard.</li><li><strong>exportDashboardPdf_</strong> exports the dashboard range as a one-page A4 PDF.</li><li><strong>savePdfToDrive_</strong> archives each PDF.</li><li><strong>sendEmail_</strong> builds the subject, the HTML body and the attachment.</li><li><strong>logRun_</strong> writes an audit row, and <strong>notifyOwner_</strong> raises an alert if a run fails.</li><li><strong>installDailyTrigger</strong> schedules it, and a custom menu lets anyone run it on demand.</li></ul><p>In order, a run sets the dropdowns to the report defaults, lets the formulas recalculate, grabs the summary sentence, exports the PDF, sends the email, then archives the PDF and logs the run. If any step fails, the failure is logged, and I get an alert.</p><p>The main function reads like the process itself (simplified here):</p><pre>function sendDailySalesSummary() {<br>  const ss = SpreadsheetApp.getActiveSpreadsheet();<br>  const cfg = readConfig_(ss);        // recipients live in a Config sheet<br>  prepareDashboard_(ss);              // reset filters, let charts refresh<br>  const summary = readSummary_(ss);   // the dashboard&#39;s own words<br>  const pdf = exportDashboardPdf_(ss);<br>  sendEmail_(cfg, summary, pdf);      // &quot;Daily Sales Summary - &lt;date&gt;&quot;<br>  logRun_(ss, &#39;Success&#39;);             // one audit row per run<br>}</pre><p>The one non-obvious step is the PDF. Google Sheets can export any range as a PDF through a URL, and the script calls it with its own login token (simplified):</p><pre>function exportDashboardPdf_(ss) {<br>  const sh = ss.getSheetByName(&#39;Dashboard&#39;);<br>  const url = &#39;https://docs.google.com/spreadsheets/d/&#39; + ss.getId() +<br>    &#39;/export?format=pdf&amp;gid=&#39; + sh.getSheetId() +<br>    &#39;&amp;size=A4&amp;portrait=true&amp;scale=4&amp;gridlines=false&#39; + // one page, no grid<br>    &#39;&amp;r1=1&amp;c1=1&amp;r2=75&amp;c2=13&#39;;                          // the dashboard range<br>  const resp = UrlFetchApp.fetch(url, {<br>    headers: { Authorization: &#39;Bearer &#39; + ScriptApp.getOAuthToken() }<br>  });<br>  return resp.getBlob().setName(&#39;Daily_Sales_Summary.pdf&#39;);<br>}</pre><p>Because each step is its own function, any piece can be swapped, for example, a different export format or a different delivery channel, without touching the rest. The real version also guards against mistakes: it refuses to send to placeholder addresses, logs failures, and alerts me instead of failing silently.</p><h3>What I would do next</h3><p>The next step would be to make the reporting system more useful for different levels of the organisation.</p><p>For example, zonal managers could receive daily reports covering their respective regions, while the CEO could receive a consolidated monthly report highlighting overall performance, regional comparisons, and key trends. Reports could be tailored to each recipient, ensuring that people receive the information relevant to their responsibilities without having to filter through data they don’t need.</p><p>I would also introduce alerts for recurring issues, such as a region consistently missing its sales target for three consecutive weeks, rather than triggering notifications for every minor deviation. Over time, I would look at automating other reports, such as inventory summaries, outstanding payments, and operational performance.</p><p>Finally, I would gather feedback from the people receiving these reports. Which metrics do they actually use? What information do they ignore? What decisions could they make faster with better reporting? The goal would be to build a system that reduces manual work while making business information easier to act on.</p><p>If the reporting requirements eventually outgrow Google Sheets, I would consider moving the data into a warehouse and using a dedicated BI tool for more advanced analytics.</p><h3>What I took away</h3><p>Building this made me think beyond the dashboard itself. Understanding what people need from a report should come before deciding how to present it. Every design choice involves trade-offs, whether it’s simplicity, flexibility, or maintainability.</p><p>I also realised that automation needs visibility. A report being generated doesn’t necessarily mean it was delivered successfully. Logging each run, tracking failures, and making errors easier to investigate are just as important as automating the process itself.</p><p>If you would like to see the script or the workbook, reach out to me on <a href="https://www.linkedin.com/in/arshad-mk-571761191/">LinkedIn</a> | <a href="/service/mailto:arshadmkkvr@gmail.com">Email</a> and I am happy to share.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14d5033584ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Recent Hike and a Reminder to Slow Down]]></title>
            <link>https://medium.com/@arshad.mk/my-recent-hike-and-a-reminder-to-slow-down-4370f9446848?source=rss-2f06f93be68f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4370f9446848</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[slowing-down]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[hiking]]></category>
            <dc:creator><![CDATA[Arshad Mk]]></dc:creator>
            <pubDate>Fri, 23 Oct 2026 22:04:44 GMT</pubDate>
            <atom:updated>2026-10-23T22:04:44.048Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FePIg2GVOiDcw5NyOUhScA.jpeg" /></figure><p>Every time I am in the mountains, it teaches me the same lesson. And I keep on forgetting it by the time I reach home.</p><p>When you start hiking in the mountains, you are fully excited, the air feels fresh, your legs feel strong, and you walk faster. You overtake a few people and feel so proud.</p><p>Then, an hour or two later, you’re sitting somewhere on a rock, breathing hard while those same people walk past you.</p><p>I have done this many times. Whenever I’m hiking in the mountains, it teaches me the same lesson, reaching the summit isn&#39;t about how fast you start, but how steadily you keep moving.</p><p><strong><em>Slow is not weak!</em></strong></p><p>On long treks, the leads will always have the same thing to say: <em>go slow, go steady</em>. It may sound boring. But it really works.</p><p>My recent hike to Bhrigu Lake near Manali reminded me of this again. At that altitude, you will feel every step. If you rush, your body reminds you of your limits. But if you slow down, find a rhythm, and take one step at a time, you keep moving forward. It may not <em>“look cool”</em>, but it works really well.</p><p>And it&#39;s different when you slow down, you start noticing things around you, the beautiful wild flowers, different shades of grass, different shapes of rocks, you feel and hear the wind. When you rush, you miss all these.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A6bbDRz9T6yqRnEfV1_6Vw.jpeg" /></figure><p><strong>Sometimes the right move is to turn back</strong></p><p>This is the hard one.</p><p>“Never give up” is something we all hear a lot. We forget some situations call for the opposite. Mountains keep surprises, the weather may change, someone in the group may struggle, or your body will ask to stop. In these cases, turning back isn’t failure. It’s the right and wise decision.</p><p>The mountain will still be there next year. You may not be, if you ignore the signs.</p><p>This applies outside of mountains too. Not every job, plan or goal is worth pushing through at any cost. Knowing when to stop is also a skill, and yes, its a very hard decision to make.</p><p><strong>The summit isn&#39;t what matters; the path is!</strong></p><p>Everyone talks about the top. The photo, the view, the feeling of “I made it.”</p><p>But if I’m honest, the summit is a few minutes. You take a photo, eat something, the wind is cold, and within few minutes, it&#39;s time to begin the descent.</p><p>What stays with me is the rest: the slow mornings, the tired legs, the small talk on the trail, the random halts. The climb was the experience. The top was just the place where it paused.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28TXwvTC5lLzeix95CyMBA.jpeg" /></figure><p><strong>What I’m trying to take back to normal life</strong></p><p>Back home, I still want to rush. I always want results right away, and when progress is slow, I get demotivated. Maybe that’s how we are wired these days, want everything instantly. As someone who enjoys a good cup of coffee, I can tell you that coffee brewed slowly and patiently is always better than instant coffee. Some things are worth waiting for.</p><p>So whenever I get that urge to rush, I always try to recollect the lessons learned from mountains. I try to walk at a pace I can afford, to enjoy the views and experience the journey along the way, rather than spending all my energy trying to reach the end. I try to rest before I’m exhausted, accept when I need to turn back, and be okay with moving slowly when that’s what it takes.</p><p>None of this is new advice. Mountains just have a way of making you feel the lessons instead of merely knowing them.</p><p>So, if you are in the process of something that takes time, whether it’s learning something, switching careers, or simply getting through a difficult month, try thinking of it like a hike. You don’t have to be the fastest. You don’t have to reach the finish line every day. Find your rhythm, enjoy the view, and keep going, one step at a time.</p><p>The summit will come. And when it does, you might realise that some of the best moments were never at the top, but along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4370f9446848" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Working as a Data Analyst in Research Has Taught Me About Data Quality]]></title>
            <link>https://medium.com/@arshad.mk/what-working-as-a-data-analyst-in-research-has-taught-me-about-data-quality-f966cbd6c287?source=rss-2f06f93be68f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f966cbd6c287</guid>
            <category><![CDATA[data-quality]]></category>
            <category><![CDATA[kobotoolbox]]></category>
            <category><![CDATA[research-methods]]></category>
            <category><![CDATA[survey-programming]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Arshad Mk]]></dc:creator>
            <pubDate>Wed, 14 May 2025 20:20:12 GMT</pubDate>
            <atom:updated>2025-05-15T06:42:51.477Z</atom:updated>
            <content:encoded><![CDATA[<h4>Lessons from programming surveys and cleaning research data the smart way</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U8t_uk4YRj5xmehFV3_vfw.jpeg" /><figcaption>Image Credits: <a href="https://www.pexels.com/@goumbik/">https://www.pexels.com/@goumbik/</a></figcaption></figure><p>As someone who works as a data analyst in a research project, I’ve learned that data isn’t just about numbers — it’s about accuracy, context, and interpretation. Whether you’re analysing survey responses, experimental data, or observational studies, maintaining the quality of data is very crucial. One of the most important aspects of ensuring data quality is setting up efficient data collection procedures. In my experience, tools like Zoho Survey and KoBoToolbox have been invaluable in programming survey pages that collect data accurately from the beginning. The more time you invest in developing proper validation, employing skip logic, and streamlining data entry, the less time you need to clean the data later.</p><p>In this post, I’ll talk about major lessons that I’ve learned in achieving <strong>data quality</strong> in my work and how helped me shape more accurate and insightful results.</p><ol><li><strong>Data Quality Starts Before Collection</strong></li></ol><p>One of the major lessons that I’ve learned is that quality data starts long before you begin analysing it. In the research world, the reliability of data can be significantly impacted by the way data is collected. When working with surveys, survey tools like Zoho Survey and KoBoToolbox allow you to program validation checks directly into the survey page itself. By employing efficient constraints on responses, such as limiting age to reasonable ranges or enforcing mandatory fields, you can avoid a lot of issues even before they arise.</p><p>Skip logic is another important feature, which allows us to direct respondents to only the relevant questions based on their past responses. An example, if an individual responded that they do not have health insurance, they can automatically skip questions related to health insurance. This saves both the respondent’s time and your data collection resources. Moreover, this improves the respondent’s experience and also ensures that the data collected is more relevant and organised.</p><p><em>Always make sure that </em><strong><em>validation</em></strong><em> and </em><strong><em>skip logic</em></strong><em> are configured properly during the survey programming stage. This is one of the best ways to reduce the time for cleaning data later on.</em></p><p>2. <strong>The Importance of Data Cleaning</strong></p><p>After the data is on the table, the most time-consuming but essential phase comes in — the cleaning phase. I’ve spent countless hours handling inconsistencies, removing duplicates, addressing missing values, and making sure that outliers don’t cut down the results. However, the validation techniques set up during the collection phase — whether through Zoho Survey or KoBoToolbox — have significantly reduced the need for thorough cleaning.</p><p>For example, the validation set during the survey programming will identify the errors before submission if a respondent enters an invalid email address or skips a critical question. This saves a significant amount of time down the line. Moreover, making use of these tools’ ability to format data automatically (e.g., date formats or numerical ranges) ensures that the raw data is already organised in a way that can be used.</p><p>With skip logic, respondents are automatically diverted away from irrelevant questions, making the data you collect is more focused and cleaner, reducing unnecessary missing or inconsistent data entries.</p><p><em>Set up </em><strong><em>as much validation as possible</em></strong><em> during survey programming or data collection to minimise the time taken during the cleaning stage. This will help you focus on analysis rather than fixing errors.</em></p><p>3. <strong>Data Validation: Not All Data is Equal</strong></p><p>Since not all data is created equal, you quickly learn to validate your data during the analysis phase. This means verifying the accuracy of the dataset and making sure it makes sense in the real world. For example, when working with survey data, make sure that answers to certain questions come within logical ranges like age ranges or income categories. Using tools like Zoho Survey and KoBoToolbox, you can add multiple layers of validation by implementing constraints that directly prohibit invalid or out-of-range responses.</p><p><em>Validate data with cross-checking methods, peer review, or by comparing it with external benchmarks on a regular basis. This will help identify errors early and improve the quality of your findings.</em></p><p>4. <strong>Context is Key to Interpretation</strong></p><p>Context is very crucial in research. In order to prevent misinterpretation, it is essential to understand the background of the data, such as how it was collected or what assumptions underlie it. For example, even if the questions in a survey are the same, a survey conducted in one region might not be directly applicable to a different region. As analysts, we must be conscious of the limitations and biases present in the data.</p><p><em>Always make sure you understand the purpose of the collected data and the context behind it. This will make your conclusions more relevant and accurate.</em></p><p>5. <strong>Collaboration and Feedback Improve Quality</strong></p><p>I have learned that the feedback from others improves the quality of analysis. To fine-tune the data interpretation in a research setting, it’s very important to work closely with subject matter experts, researchers, and even stakeholders. Having multiple viewpoints can help identify mistakes or areas for improvement that you might have missed.</p><p><em>Always be open to peer reviews and constructive criticism, especially when dealing with complex datasets. Collaborating with others will ultimately lead to better results.</em></p><p>Ensuring the accuracy of measurements is just one aspect of data quality. It’s about ensuring that every stage of the process — from gathering to cleaning to interpreting — is done with utmost care and understanding. By using tools like Zoho Survey and KoBoToolbox to design data collection forms by enabling proper validation and skip logic, I’ve been able to reduce cleaning time and improve the overall quality of my work. As a research data analyst, I’ve seen firsthand how good data quality translates into reliable, actionable insights. We can ensure that the data we work with is accurately representative of the real world by paying close attention to the little things at every stage, which will lead to more significant research findings.</p><p>What data quality challenges have you encountered in your work? Share your experience in the comments below, and let’s discuss how we can improve the reliability of the data we use in research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f966cbd6c287" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>