## How to filter values between 0.5 and 1.5 from two columns in excel 2007

*Article updated on December 08, 2010*

**Question:** How do I filter values between 0.5$ and 1.5$ from two columns using excel array formula?

**Answer:**

Array formula in A12:

copied down as far as necessary

Array formula in B12:

**Named ranges**

List1 (A2:A6)

List2 (C2:C6)

Price1 (B2:B6)

Price2 (D2:D6)

What is named ranges?

**How to implement array formula to your workbook**

Change named ranges. If your list starts at, for example, F2. Change $B$12:B12 in the above formula to F2:$F$2.

Download excel example file.

extract-values-from-two-columns.xlsx

(Excel 2007 Workbook *.xlsx)

**Functions in this article:**

**MIN(**number1,[number2]**)**

Returns the smallest number in a set of values. Ignores logical values and text

**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

**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

**SMALL(**array,k**)** Returns the k-th smallest row number in this data set.

**ROWS(**array**)** returns the number of rows in a reference or an array

**IFERROR(**value;value_if_error**)** Returns value_if_error if expression is an error and the value of the expression itself otherwise

Lookup and return multiple values concatenated into one cell

This article demonstrates how to find a value in a column and concatenate corresponding values on the same row. The […]### Leave a Reply

**How to add a formula to your comment:**

<code>your formula</code>

Remember to convert less than and larger than signs to html character entities before you post your comment.

**How to add VBA code to your comment:**

[vb 1="vbnet" language=","]

VBA code

[/vb]

**How to add a picture to your comment:**

Upload picture to postimage.org

Add picture link to comment.

**Contact Oscar**

You can contact me through this webpage

## Share this article