Question: How to extract email addresses from this sheet? (See pic below)

email-1.png

Answer:

email-2.png

Array formula in D2:

=INDEX(A1:C1, 1, MIN(IF(ISERROR(SEARCH("@", A1:C1)), "", COLUMN(A1:C1)))) + CTRL + SHIFT + ENTER copied down as far as necessary.

Download excel sample file for this tutorial:

extract_email_2.xls
(Excel 97-2003 Workbook *.xls)

External resources

Functions

INDEX(array,row_num,[column_num])
Returns a value or reference of the cell at the intersection of a particular row and column, in a given range

MIN(number1,[number2])
Returns the smallest number in a set of values. Ignores logical values and text

ROW(reference) returns the rownumber of a reference

IF(logical_test;[value_if:true];[value_if_false])
Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE

ISERROR(value)
Checks whether a value is an error and returns TRUE or FALSE

COLUMN(reference) Returns the column number of a reference

SEARCH() Returns the number of the character at which a specific character or text string is first found, reading left to right (not case sensitive)

  • Share/Bookmark

Related posts:

  1. Sum text cells using criteria in excel
  2. Search and display all cells that contain all search strings in excel
  3. Filter duplicate values in a range using “contain” condition in excel
  4. Filter unique distinct text values in a range using “contain” condition in excel
  5. Lookup with multiple criteria and display multiple search results using excel formula, part 2
  6. Filter unique text values in a range using “contain” condition in excel
  7. Extract duplicate text values from a range containing both numerical and text values in excel
  8. Search for multiple text strings in multiple cells in excel, part 2
  9. Lookup with multiple criteria and display multiple search results using excel formula
  10. Search for a text string in an excel table