Control graphs with check boxes and scroll bars
One may want to create interactive graphs by allowing users to select indicators and years to be plotted (via check boxes and scroll bars). I have presented three cases in this workbook.
View ArticleExtract number from an alphanumeric string
Given an alphanumeric string, one may want to perform the following Extract phone number from the string Assume a list of customer addresses with multiple phones numbers mentioned in the address field...
View ArticleExtract farthest/latest date based on multiple conditions
Assume a three column database showing Site ID, Customer, Status and Requested Date. On the same site ID, the same customer may have different status on different dates. In such a scenario, one may...
View ArticleCalculate turn around time excluding Sundays and public holidays
Assume a two column database showing starting date/time and ending data/time (Data/time stamp appear in a single cell). Given a list of public holidays in a year and starting and ending work times,...
View ArticleDetermine the maximum number of consecutive 1′s appearing in a range
Assume a database where customers are listed from cell A6 down. From cell B5 to the right months are entered from April to March (B5:M5). In B6:M6 (Customer 1), a user enters 1's and 0's. A value of...
View ArticleDerive end date and time from start date and time, office working hours and...
Given the following inputs/restrictions, one may want to compute the end date and time of a project: 1. Start date and time of the project; and 2. Official working hours; and 3. Lunch breaks hours You...
View ArticleDetermine cumulative expenses per employee when per diem rates vary by block...
Assume per diem travel rates vary by block of dates (from and to). So, assume the per diem rate for travel dates between 26/2/2013 and 28/2/2013 is Rs. 78,000/day. Likewise, if a person travels...
View ArticleCompute MODE of all numbers split across multiple worksheets
Assume numbers are typed in range A1:A2 of multiple worksheets in a workbook. The task is the compute the MODE of these numbers. Mode is defined as the value which appears most frequently in a range...
View ArticleConsider a Pivot Table Value field column as a criteria for computing another...
Assume a simple three column dataset showing hours worked by different machine on different dates. So column A is Date, column B is Machine Name and column C is hours worked. There are duplicates...
View ArticleRemove special characters from a string
Hi, Assume a column of names as follows: Name Mohammed Zia-Ul Haque Steven Thomas - ,-Rohit Sunil Ahir-Chowdhary.- Anuj ----------- Sameer -- ..,Mohit -- Rajeev Nair. Monalisa . Das Vijeta ......
View ArticleDetermine number of learners who have completed different stages of multiple...
Here is a sample dataset of learners who have cleared different stages of multiple courses on offer within an Organisation: Learner Stage completed Course Bill Stage 1 Public Speaking Bill Stage 2...
View ArticleDetermine cumulative interest payable on an annuity with varying time periods
Imagine a fixed monthly amount due to an Organisation for services rendered to various customers. While an invoice is raised every month by this Organisation, not all pay up the dues on time. For...
View ArticleDistribute projected revenue annually
Here is a dataset showing Project wise forecast of open opportunities. Topic is the Project Name Est. Close Date is the date by when the opportunity would be closed i.e. the project would be won from...
View ArticleDetermine the total number of projects by Status
Here's a simple 3 column table showing Date, Project name (Cat.) and Status of the project. Each project can have multiple status entries on different dates. So as you can observe, project...
View ArticleDetermine the most recent status after satisfying certain conditions
Assume a three column dataset with Patient ID, Smoking Status and Review Date PatientID SmokingStatus ReviewDate P1 10-03-2018 P1 9 09-03-2018 P1 1 08-03-2018 P1 4 07-03-2018 P2 9 10-03-2018 P2 9...
View ArticleFiltering on 2 date fields within one Table
This table contains a list of all the inspections created and completed within different time periods. The objective is to create two Tables from this single table - one showing the Accounts created...
View ArticleShow sales only for corresponding months in prior years
Refer to this simple Sales dataset The objective is to create a simple matrix with months in the row labels, years in the column labels and sales figures in the value area section. The twist in the...
View ArticleShow Project wise status in a Pivot Table
Visualise a simple 6 column Table as shown below - Project Name and the finish date for each of the 5 stages that the projects go through. Each project goes through 5 stages - Requirement (Req),...
View ArticleFlex a Pivot Table to show data for x months ended a certain user defined month
In this simple 3 column dataset shown below, one can see the month wise demand and energy charge for 2 years - 2017 and 2018. The objective is to compute the month wise demand charge for x months ended...
View ArticleDetermine the top selling location for each product
Visualise a 3 column dataset as shown below - Location, Product and Sales. Each location can have multiple products (Product A has Banana, Apple and Carrot) and each product can be sold in multiple...
View Article