Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
falloutx
 
Posts: n/a
Default Advance filtering with multiple conditons


I have a problem with the filtering options for the advance filtering
and hope someone can help me with it.

Sheet1 is my database and Sheet 2 is the information I need to plot a
graph

1) Sheet1!G1:I2 contains the advance filtering criteria, I want to find
only Level 2 and within the week range stated in Sheet2!E1:G1. But it
does not work.

2) Can I plot 2 different graphs into a single chart? Eg. Using the
information gotten out in Sheet2!A1:B11, I plot graph 1. and using the
same x axis(Part) and the value in the Target column in sheet2 to plot
graph 2. Can I place both graphs in the one chart?


+-------------------------------------------------------------------+
|Filename: report.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4236 |
+-------------------------------------------------------------------+

--
falloutx
------------------------------------------------------------------------
falloutx's Profile: http://www.excelforum.com/member.php...o&userid=30560
View this thread: http://www.excelforum.com/showthread...hreadid=502492

  #2   Report Post  
Posted to microsoft.public.excel.misc
falloutx
 
Posts: n/a
Default Advance filtering with multiple conditons


I have manage to put 2 graphs in one chart.

But can anyone help me with the advance filtering with dynamic
conditions? I cannot filter by Level and date range (which is keyed in
by the user). Is there a way to do it by macro (VB)?


--
falloutx
------------------------------------------------------------------------
falloutx's Profile: http://www.excelforum.com/member.php...o&userid=30560
View this thread: http://www.excelforum.com/showthread...hreadid=502492

  #3   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Advance filtering with multiple conditons

You can certainly filter by using a formula,
however then you need to leave out any headers in the criteria, example is
here

http://www.contextures.com/xladvfilter02.html

in your case I assume an AND formula that will check for level and at the
same time the dates

leaving E1 blank and in E2

=AND(Sheet1!A2="Level
2",Sheet1!B2=DATE(2006,1,1),Sheet1!B2<=DATE(2006, 1,8))

where A2 is the first data cell in the column where you want to check Level
2 and B2 is the first cell with data in the date column, note that you can
link that formula to cells where you input the criteria so instead of the
hard coded Level 2 you can use a cell reference and the same with the dates

for dynamic ranges

http://www.contextures.com/xlNames01.html#Dynamic


I would suggest a change event macro that will reapply the filter when you
change the criteria



--
Regards,

Peo Sjoblom

Portland, Oregon




"falloutx" wrote in
message ...

I have a problem with the filtering options for the advance filtering
and hope someone can help me with it.

Sheet1 is my database and Sheet 2 is the information I need to plot a
graph

1) Sheet1!G1:I2 contains the advance filtering criteria, I want to find
only Level 2 and within the week range stated in Sheet2!E1:G1. But it
does not work.

2) Can I plot 2 different graphs into a single chart? Eg. Using the
information gotten out in Sheet2!A1:B11, I plot graph 1. and using the
same x axis(Part) and the value in the Target column in sheet2 to plot
graph 2. Can I place both graphs in the one chart?


+-------------------------------------------------------------------+
|Filename: report.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4236 |
+-------------------------------------------------------------------+

--
falloutx
------------------------------------------------------------------------
falloutx's Profile:
http://www.excelforum.com/member.php...o&userid=30560
View this thread: http://www.excelforum.com/showthread...hreadid=502492


  #4   Report Post  
Posted to microsoft.public.excel.misc
falloutx
 
Posts: n/a
Default Advance filtering with multiple conditons


Thanks for your help!

Yeah, I did make use of dynamic range, the attachment was an example,
thus I left that out.


--
falloutx
------------------------------------------------------------------------
falloutx's Profile: http://www.excelforum.com/member.php...o&userid=30560
View this thread: http://www.excelforum.com/showthread...hreadid=502492

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
Filtering for multiple sheets JVDM Excel Discussion (Misc queries) 1 October 11th 05 10:50 PM
Filtering on multiple columns wammer Excel Discussion (Misc queries) 4 August 29th 05 11:21 PM
Adding multiple worksheets Craig Excel Worksheet Functions 1 July 6th 05 07:21 PM
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM
Filtering Text Data from Multiple columns Brad Excel Worksheet Functions 6 January 1st 05 03:32 PM


All times are GMT +1. The time now is 04:11 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"