Quantcast
Channel: MIN – Ashish Mathur's Blog
Browsing all 23 articles
Browse latest View live

Return closest numeric match

In range A2:A6, the numbers are 7.5, 2, -12, 11.2 and 8.  In cell B8, a user enters 8.  One may want to answer the following questions: 1. Return the closest number which is less than or equal to the...

View Article



Extract numeric data and dates from string

In column A, there are some alphanumeric entries.  Somewhere in the alphanumeric entries (beginning, middle or end) there are the following: 1. Dates 2. Numbers (without decimals) 3. Numbers (with...

View Article

Calculate 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 Article

Minimise the total number of inverters to be used for different electricity...

Assume there are two types of inverters - Inverter1 with a capacity of 15kW and Inverter2 with a capacity of 20kW.  For an electricity load factor of, say 60kW, the objective is to determine the...

View Article

Determine 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 Article


Story telling with Excel Power BI

With Power Business Intelligence (BI) tools of Excel 2013, one can metamorphose raw data and/or results of complex calculations into stunning and interactive visualizations.  Power View (one of the...

View Article

Compute month wise pending audits

Assume a three column dataset showing Audit ID, Date of receipt of audit mandate and Date of audit completion.  There are other columns as well but they are not important for our Analysis.  One may...

View Article

Analyse all possible combinations of cheques received and identify the...

In a Stock Broking business (Firm), Customers deposit margin money through cheques. Although cheques are received from customers at branches, clearing (realization) of the same normally takes 3-4 days....

View Article


Remove 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 Article


Determine 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 Article

Determine 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 Article

Distribute 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 Article

Perform an aggregation on Top x items after satisfying certain conditions

Visualise a 5 column dataset as show below.  This is a very small sample of the actual dataset.  It shows the date on which supplies were received for each item from Vendors and whether those supplies...

View Article


Image may be NSFW.
Clik here to view.

Compute transaction fee based on a tiered pricing model

Consider a simple dataset as shown below: For each tier, the tier rate is incrementally applied to the volume within the tier volume range.  Given the following transaction volumes, one may want to...

View Article

Image may be NSFW.
Clik here to view.

Filtering 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 Article


Image may be NSFW.
Clik here to view.

Show 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 Article

Image may be NSFW.
Clik here to view.

Identify Customers that Organisations can upsell or cross sell their products to

Here's a simple Sales data of a retail Store which sells Apple Products.  Since a customer can transact multiple times, there will be repetitions in the Cust ID column.  While Cust ID 123 and 782...

View Article


Image may be NSFW.
Clik here to view.

Show 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 Article

Image may be NSFW.
Clik here to view.

Flex 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 Article

Image may be NSFW.
Clik here to view.

Customer analysis by Country and time period

Here is a Sales dataset of 8 columns and 29 rows.  It basically details the revenue earned and cash collected by service type, Customer, Country and Period.  For a selected Country and time period,...

View Article
Browsing all 23 articles
Browse latest View live




Latest Images