Author: Vijay A. Verma
Tips & Tricks 182 – Determine Quarter for Fiscal Year
Few countries follow different quarter other than Q1 from Jan-Mar and Q2 for Apr-Jun. In case of Jan-Mar as Q1, formula is simple (if cell A2 is date) =ROUNDUP(MONTH(A2)/3,0) This will give result as 1, 2, 3 & 4 for the quarters. If you want, you can concatenate "Q" in the formula to show Q1,…
Solution – Challenge 72 – Unique characters string from a given string
A possible solution for the challenge – Challenge 72 – Unique characters string from a given string =CONCAT(UNIQUE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)))
Tips & Tricks 181 – Insert Sequence / Serial Numbers in a Pivot Table
Sometimes, it is important to show sequence numbers such as 1, 2, 3…..and so on. If you use database technologies, this is known as index column. 1, 2, 3…..are also used to denote rank. Suppose you have a pivot table which is sorted in descending order for the value. For the sake of showing ranking, you…
Split a Column Dynamically – Power Query – Tips & Tricks 6
Power Query Split a Column Dynamically is a very important tool for PQ practitioners. You can use this to split your column into variable number of columns. This removes limitation of splitting a column on the basis of first time split if result columns are more than first time split columns.
Tips & Tricks 180 – Determine the date given the weeknumber
Given a year and week number, below formula finds the Sunday as the date. =MAX(DATE(F2,1,1),DATE(F2,1,1)-WEEKDAY(DATE(F2,1,1),1)+1+(G2-1)*7) Where F2 has the year and G2 has the week number. For week 1, this would always give 1-Jan as the date.
Challenge 72 – Unique characters string from a given string
This time challenge is to generate unique characters string through a formula. Suppose, you have following following string in cell A2 Letters Now the output should be after extracting characters occurring once only. Letrs Some sample data to be be used Source String Result String adequate adequt stagnant stagn phenomenon phenom effective efctiv benevolent benvolt…
Tips & Tricks 179 – Retrieve Sheet Name in Excel Online
We can easily retrieve sheet name by following – Tips & Tricks 34 – Get Sheet Name through Formula But the formula depends upon CELL function. Excel Online i.e. web version of Excel doesn't support CELL function. It doesn't support VBA as well. Hence, we need to find an alternative to extract sheet name through…
Test for a Number – Power Query – Tips & Tricks 5
Test for a Number is a very important topic in Power Query Suppose, you have a column of values and you need to test whether the value contained is a number or not.
Solution – Challenge 71 – Determine the Rank
Below is a proposed solution to the Challenge 71 – Determine the Rank In E2, use following formula and drag down =SUMPRODUCT(–($B$2:$B$6+$C$2:$C$6+$D$2:$D$6>SUM(B2:D2))) +SUMPRODUCT(–($B$2:$B2+$C$2:$C2+$D$2:$D2=SUM(B2:D2)))