filter data

xman_in

New Member
Joined
Oct 27, 2008
Messages
8
i have data saved in Dump sheet of attached excel file. i want only those rows to be visible/filtered whose value for "Agent ID" colum mathces the values that i have stored in IDM sheet. please help me to get this done. i have tried using advance filter but unable to do that. you can download the data file from this link http://www.4shared.com/file/68581255/72e2ac26/Data.html
please help me, thanks in advance. :)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
A few problems here that may be related to how the data was imported into Excel. Your Agent ID column has leading spaces and the column is text while the values in the IDM sheet lack leading spaces and are numbers. To get around this I added a column and the very left and used the following formula to remove the leading space, convert the value to a number, and identify if the row contained an agent ID that matched the list on the IDM sheet.

=IFERROR(VLOOKUP(VALUE(SUBSTITUTE(C2,LEFT(C2),"")),IDM!$A$2:$A$21,1,FALSE),0)

Insert a column to the left of A on the "Dump" tab, then copy & paste the formula in A2 and fill down. Items with a "0" don't match. Filter out the "0" rows and you're golden. You can also replace the table array with a named range if the list on the IDM tab will vary regularly.

Anyone else have any ideas?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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