Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default How to filter data in another sheet

hi
thanks for the feedback.

If this post was helpfull, please remember to click on the ''''YES''''
button at the bottom of the screen.
Thanks,

nader

"AKS" wrote:

Hi Nader,

Thanks a ton for your support and it is working perfectly now.

Warm regards,
AKS

"nader" wrote:

Hi,
you are welcome,
If your item cods in column H and dates in column F in sheet1, try this
macro, you can change Field numbers as your columns number.

Sub filterme()

'On Error Resume Next

Sheets("sheet1").Select
Selection.AutoFilter Field:=8, Criteria1:="=" & Range("Sheet2!A1").Value
Selection.AutoFilter Field:=6, Criteria1:="=" & Range("Sheet2!A2").Value,
Operator:=xlAnd _
, Criteria2:="<=" & Range("Sheet2!A3").Value


End Sub

If you have problem, try in format cell by 'general' , in cell A1 & A2

please feedback;

kind regards,
Nader

"AKS" wrote:

Hi,
Thanks for your quick response.
My problem is that I have 3 criterion

in A1 item Code
in A2 From Date
in A3 To Date

Please help!!

Best regards,
AKS

"nader" wrote:

hi AKS
I use this macro for same question:

Sub FilterMe()
On Error Resume Next

Sheets("Sheet1").Select

Selection.AutoFilter Field:=6, _
Criteria1:="=" & Range("Sheet2!A1").Value

End Sub
you must put particular item in A1
it may be help you

"AKS" wrote:

I have huge data in sheet1 with column headers and I would like to filter few
data in sheet2 matching with queries like data of a particular item between
two dates.

Can anybody help me out?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter Data From Master Sheet Into Other Worksheets Michelle Excel Worksheet Functions 1 July 10th 08 12:35 AM
Copy/filter data in a sheet from another sheet Sheikh Saadi Excel Discussion (Misc queries) 1 November 22nd 07 08:28 AM
How to paste data over the hidden rows in a sheet with a filter hezemeftez Excel Discussion (Misc queries) 2 August 2nd 06 03:29 PM
Data Filter in protected sheet Rao Ratan Singh New Users to Excel 1 January 19th 06 03:37 PM
how can i filter data from one sheet and copy to another via formu mona Excel Worksheet Functions 4 August 31st 05 07:40 PM


All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"