Solutions to the Past Challenges

## Solution - Challenge 66 - Find the Position of Word

Below is a proposed solution for the **Challenge 66 - Find the Position of Word**

Put the following formula and drag down. Let's assume the word "and" in cell D2 -

=LEN(REPLACE(A2,SEARCH(" "&$D$2," "&A2),LEN(A2),""))-LEN(SUBSTITUTE(

REPLACE(A2,SEARCH(" "&$D$2," "&A2),LEN(A2),"")," ",""))+1

You may download the solution workbook - **Solution - Challenge 66 - Find the Position of Word**

## Solution - Challenge 65 - How Many Sundays on Last Date of Months

Below is a possible solution to the **Challenge 65 - How Many Sundays on Last Date of Months**

=SUMPRODUCT((ROW(INDIRECT($B$1&":"&$B$2))=EOMONTH(ROW(INDIRECT(

$B$1&":"&$B$2)),0))*(TEXT(ROW(INDIRECT($B$1&":"&$B$2)),"ddd")="Sun"))

Below is an Excel sheet containing the solution

Solution - Challenge 65 - How Many Sundays on Last Date of Months

## Solution - Challenge 64 - Sum up the Range where a particular alphabet appears

Below is a possible solution to the **Challenge 64 - Sum up the Range where a particular alphabet appears**

=SUMPRODUCT(ISNUMBER(SEARCH(" "&C2&","," "&A2:A13&","))*(B2:B13))

## 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),"*",", "))

## 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)))

## Solution - Challenge 61 - Generate Multiplication Table

Below is a possible solution to the challenge - **Challenge 61 - Generate Multiplication Table**

Put following formula and drag right and down -

=ROWS($1:1)*COLUMNS($A:A)

## Solution - Challenge 60 - Generate a list of 2nd and 4th Saturdays for a Year

Below is a possible solution to the challenge - **Challenge 60 - Generate a list of 2nd and 4th Saturdays for a Year**

Drag the below formula down

=IF(ROWS($1:1)<25,FLOOR(DATE($A$1,ROUNDUP(ROWS($1:1)/2,0),

2*(MOD(ROWS($1:1)-1,2)+1)*7),7),"")

## Solution - Challenge 59 - Clean the Problem Workbook Data

Below is a possible solution to the problem **Challenge 59 - Clean the Problem Workbook Data**

Formula to convert would be which you need to drag down would be

=--SUBSTITUTE(SUBSTITUTE(A2,UNICHAR(8237),""),UNICHAR(8236),"")

Data has UNICHAR(8237) and UNICHAR(8236) prefixed and suffixed which need to be replaced by above formula.

## Solution - Challenge 58 - Make a Vedic Square

Below is a possible solution to **Challenge 58 - Make a Vedic Square**

Put the following formula in C3 and drag right and down

=MOD(C$2*$B3-1,9)+1

The Excel sheet having this solution can be downloaded from **Solution - Challenge 58 - Make a Vedic Square**

## Solution - Challenge 57 - Another Word Challenge - Palindrome or Not

Below is a possible solution to the **Challenge 57 - Another Word Challenge - Palindrome or Not**

Use the below formula -