Downloads 16 – Sample CSV Files / Data Sets for Testing – Human Resources (5 million records)
Disclaimer – The datasets are generated through random logic in VBA. These are not real human resource data and should not be used for any other purpose other than testing. Other data sets – Sales Credit Card Bank Transactions HR Analytics Note – I have been approached for the…
VBA – Data Masking or Anonymize the Data through a Macro
Sometimes, you may need to sanitize your data before sharing your file. The below macro would sanitize the data and since this is completely based on random generation, hence, it can not be recreated. Make sure that you have a copy of the Excel sheet before you sanitize or mask or anonymize the data by…
Article 47 – New Functions in Excel 2016
This is a guest post contributed by Hannah Sharron of http://spreadsheeto.com/ Microsoft has added six new built-in functions with the release of Excel 2016. These functions are also available in Office 365. In this article, we will take a quick look at three of those new functions. TEXTJOIN For a long time, the CONCATENATE has…
Challenge 64 – Sum up the Range where a particular alphabet appears
Suppose, you have been given a range like this and you need to find the sum of column B where the alphabet "c" appears alone. To check your answer, the sum will be 27 for above. The file related to this challenge can be downloaded from Challenge 64 – Sum up the Range where a…
Solution – Challenge 63 – Convert to Date Format
Below is a possible solution to the Challenge 63 – Convert to Date Format Put following formula and drag down =IFERROR(–SUBSTITUTE(A1,",",""),–SUBSTITUTE(SUBSTITUTE( SUBSTITUTE(A1,",","")," ","*",2),"*",", "))
Article 46 – Creating Pivot Table with Dynamic Range
The file related to this article can be downloaded from Dynamic Pivot Tables We all make pivot tables and we also know that every time, the range of data which pivot uses goes beyond the current range, we need to change the data range. It becomes painful and also if you are creating dashboards, it…
Tips & Tricks 161 – When is Thanksgiving Day in a Year
Last time, we discussed about finding Labor Day in a given year. This time, it is is about Thanksgiving Day in a year. Thanksgiving day is 4th Thursday in a November. Hence, earliest possible day when 4th Thursday can happen is on 22-Nov.
VBA – A Function to Check whether a Given Number is Prime
Below is an optimized function to check on the primality of a number. This function takes input number as Double, hence can be used to check upto a number having 15 significant digits. Whereas Long can take up to a maximum of 10 significant digits and maximum number it can support is 2,147,483,648. First function…
Solution 62 – Produce the Sum for Merged Cells Headers
Below is a possible solution for the challenge – Challenge 62 – Produce the Sum for Merged Cells Headers Put following formula B14 and drag right and down =SUM(OFFSET($A$1,ROWS($1:1),MATCH(B$13,$1:$1,0)-1,,IFERROR(MATCH(C$13,$1:$1,0),COUNTA($2:$2)+1)-MATCH(B$13,$1:$1,0)))