Can't refer to a filtered range of cells

shroeder

New Member
Joined
Aug 20, 2002
Messages
17
I have a workbook with two sheets. One sheet is a labeled List with filters applied to two of the columns. In the other worksheet, I'm trying to create an IF function that matches any of the data in a particular cell with anything in one of the filtered columns in the other sheet.

I can get it to work when referring to just one cell in the other sheet, but I get error messages when I refer to the whole column of cells.

In other words, this works:

=IF(E3='Loop Library"!F44,"Fujimoto")

But this does not

=IF(E3='Loop Library'!F34:F49,"Fujimoto")

Keep in mind that F34:F49 is a filtered column
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
On 2002-09-26 22:13, shroeder wrote:
I have a workbook with two sheets. One sheet is a labeled List with filters applied to two of the columns. In the other worksheet, I'm trying to create an IF function that matches any of the data in a particular cell with anything in one of the filtered columns in the other sheet.

I can get it to work when referring to just one cell in the other sheet, but I get error messages when I refer to the whole column of cells.

In other words, this works:

=IF(E3='Loop Library"!F44,"Fujimoto")

But this does not

=IF(E3='Loop Library'!F34:F49,"Fujimoto")

Keep in mind that F34:F49 is a filtered column

The second formula is conceptually incorrect... A single cell (E3) cannot be equated to a range in a formula that computes with scalar values.

It looks like you want:

=IF(ISNUMBER(MATCH(E3,'Loop Library'!F:F)),"Fujimoto","")

This uses the unfiltered column as reference: Does it work as you intend? If not, what is the condition that you use when you filter the data?
 
Upvote 0
see if this gives you the results you need:

=IF(ISNUMBER(MATCH(E3,'Loop Library'!F34:F49,0)),"Fujitmoto")
This message was edited by PaddyD on 2002-09-26 22:23
 
Upvote 0
I combined both your ideas and the winner is:

=IF(ISNUMBER(MATCH(E3,'Loop Library'!F$34:F$49,0)),"Fujimoto","")


You guys just ended three days of agony. If you ever need free music loops come see me at :

http://www.bbm.net

and I'll hook you up.

Thanks a lot!
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,213
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top