Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
filtering on range of values
I have a spreadsheet with a lot of rows. I want to filter this spreadsheet
and keep only the rows where the value in column X matches any of the values in column Y of a different spreadsheet on another worksheet. For example, if i have customer records including the town 'value' and region is not one of the columns, I like to filter out the customers who live in certain region. This region is defined in another worksheet as a one-column spreadsheet just listing the towns in the region I'm interested in. Don't worry about uniqueness of the relation between region and town. How can I filter out the rows I need? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
filtering on range of values
You can use a formula to indicate if that town is on the other worksheet.
=isnumber(match(a2,[book2.xls]sheet1!a:a,0)) Then filter to show the True's. Chip Pearson has lots of techniques to work with duplicates: http://www.cpearson.com/excel/duplicat.htm mkrijger wrote: I have a spreadsheet with a lot of rows. I want to filter this spreadsheet and keep only the rows where the value in column X matches any of the values in column Y of a different spreadsheet on another worksheet. For example, if i have customer records including the town 'value' and region is not one of the columns, I like to filter out the customers who live in certain region. This region is defined in another worksheet as a one-column spreadsheet just listing the towns in the region I'm interested in. Don't worry about uniqueness of the relation between region and town. How can I filter out the rows I need? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
extraction of max values from a range | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
How many values appear more than once in a range? | Excel Worksheet Functions | |||
How to move Y-axis values when X range is -a to +b | Charts and Charting in Excel | |||
Can you average data in 1 column based on a range of values in another? | Excel Worksheet Functions |