1. Make a backup of your workbook. 2. Open your workbook and ALT+F11 3. Locate your Workbook name in Project Explorer Window 4. Double Click on "This Workbook" 5. Copy paste the Macro code given – Replace Sheet1 and B1 as per your need 6. Save your file as .xlsm if you intend to reuse…
Author: Vijay A. Verma
Solution – Challenge 47 – Generate Pentagonal Series
Below is a possible solution to the problem – Challenge 47 – Generate Pentagonal Series Put following formula and drag down – =ROWS($1:1)*(3*ROWS($1:1)-1)/2
Article 42 – Generating an Odd Order Magic Square in Excel (VBA)
A magic square needs no introduction and we come across it many times. A magic square is a square grid and the minimum size of a magic square is 3×3. The whole numbers in magic square appear only once and all cells are filled. The horizontal rows, vertical columns and main and secondary diagonals all…
Challenge 49 – Whether a Word is Isogram or Not
This time, continuing my effort to make challenge on English language, the challenge is on Isogram. An Isogram is that word in English which doesn't repeat any alphabet. For example: "Botany" is an Isogram but "Britain" is not as "i" repeats. Hence, this time, you need to make a formula which returns "Isogram" if the…
Tips and Tricks 142 – Determine Number of Working Days in a Year
Suppose, you have been given a year in A1 (Say A1 = 2016) and you need to determine the number of working days in a Year, then your formula to determine number of working days would be – =NETWORKDAYS("1JAN"&A1,"31DEC"&A1) The above formula is based on the fact that Saturdays and Sundays are weekends. Starting Excel…
Solution – Challenge 46 – Compute Numerological Sum for a Name
Below is a possible solution to the challenge – Challenge 46 – Compute Numerological Sum for a Name The formula to calculate Numerological Sum for a Name would be – =MOD(SUMPRODUCT(MOD(CODE(MID(SUBSTITUTE(LOWER(A1)," ",""), ROW(INDIRECT("1:"&LEN(SUBSTITUTE(A1," ","")))),1))+2,9)+1)-1,9)+1
Challenge 48 – Whether a Sentence is Pangram or Not
This time, I decided to pose a challenge on English words. A Pangram is that sentence in English which uses all 26 alphabets of English language at least once. A very common example is the very famous sentence "The quick brown fox jumps over the lazy dog" which contains all alphabets of English language at…
Tips & Tricks 141 – How to Disable Quick Analysis Tool in Excel 2013
In Excel 2013, we have a new feature called Quick Analysis Tool. If you select a range and press CTRL, you are presented with Quick Analysis Tool. It offers various commonly used functions which you can perform. Few people don't like this. To disable it permanently – File > Options > Uncheck the Red Zone…
Solution – Challenge 45 – Number of Days Passed in a Quarter
Below is a possible solution to the challenge – Challenge 45 – Number of Days Passed in a Quarter The formula to calculate number of days passed in a quarter is =A1-DATE(YEAR(A1),(ROUNDUP(MONTH(A1)/3,0)-1)*3+1,1)
Article 41 – Findings from the VLOOKUP and INDEX/MATCH shootout
Many articles by different experts laud the superiority of INDEX/MATCH over VLOOKUP. I decided to do a shootout myself and see whether it really makes sense to use INDEX/MATCH in place of VLOOKUP purely from the perspective of speed / time taken. I am not considering any other aspect but speed / time. Following is…
