Summarise data from multiple worksheets

{ 0 Comments }

Assume multiple worksheets in a workbook (all having the same structure).  In a summary sheet, one may want to tabulate data from these multiple worksheets.  Essentially, a way to link to the same specific cells in multiple worksheets to the Summary sheet.  The formula in the Summary sheet should just be copied and pasted to multiple rows to bring […]

Read More →

Extract numeric data and dates from string

{ 12 Comments }

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 decimals) Furthermore, there may or may not be spaces between numbers/dates and text entries.  In Excel 2010 and prior versions, the only way to solve this problem would […]

Read More →

Split name into three columns

{ 0 Comments }

Assume some names are entered in column A.  The names can be only First name, First name and Middle name or First name, Middle name and Surname.  You may refer to my formula in this workbook.

Read More →

Extract e-mail address from string

{ 0 Comments }

Given a sentence which has an e-mail address positioned anywhere i.e. beginning, middle or in the end, one may want to extract only the e-mail address from the string. You may refer to my formula based solution in this workbook.

Read More →

Validate cell to accept current time

{ 0 Comments }

To enable a person to enter current time in a cell, enter the following formula in Data > Validation > Custom =ABS(A1-(NOW()-INT(NOW())))<(1/(60*24)) In this validated cell now, a person can enter time either by pressing Ctrl+Shift+; or by simply typing in the time entry.  The validation rule is such that it will accept only time which […]

Read More →

Numbers in Indian currency format

{ 13 Comments }

To display numbers in Indian currency format, use the following custom number format [>=10000000]##\,##\,##\,##0.00;[>=100000]##\,##\,##0.00;##,##0.00

Read More →

Sum highest n numbers based on conditions

{ 4 Comments }

Assume a two column database with names in column A and numbers in column B.  Names in column A may be repeated.  If a user types a certain name in a cell, a formula should sum the highest three values from column B for that name. Depending upon the version of MS Excel which you are […]

Read More →

Return closest numeric match

{ 2 Comments }

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 number in cell B8 2. Return the closest number which is greater than or equal to the […]

Read More →

Count unique values with conditions

{ 13 Comments }

There is a three column database with month in column A, numbers in column B and names in column C.  I want to count unique numbers in column B for a specific month and name provided by the end user. Depending upon the version of MS Excel which you are using, there could be two […]

Read More →

Extract tab name in cell

{ 29 Comments }

You may refer to my formula in this workbook to extract the tab name in a certain cell

Read More →