PC Review


Reply
Thread Tools Rate Thread

Create Multiple Filter and graph data

 
 
Jim Sablan
Guest
Posts: n/a
 
      18th Sep 2008
I tried to do a filter and then copy the filtered data from another sheet to create a chart. Can you please give me an advice or teach me on how to do that?

Any help would be greatly appreciated.

Thanks,

Jim
 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      18th Sep 2008
Hi Jim

This macro will filter sheet1, and copy the filtered range to sheet2. The
filter I applied is non-empty cells in column B.

Sub CopyFilteredData()
Dim FilterRange As Range

Sheets("Sheet1").Activate
LastRow = Range("A3").End(xlDown).Row
Set FilterRange = Range("A2", Cells(LastRow, "C"))
FilterRange.Select
Selection.AutoFilter field:=2, Criteria1:="<>"
Selection.copy Destination:=Worksheets("Sheet2").Range("A2")
Selection.AutoFilter
End Sub

Hopes it helps

Regards,
Per

"Jim Sablan" skrev i meddelelsen news:(E-Mail Removed)...
>I tried to do a filter and then copy the filtered data from another sheet
>to create a chart. Can you please give me an advice or teach me on how to
>do that?
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Jim


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to Filter Information in Multiple sheets and Make graph misschanda via OfficeKB.com Microsoft Excel Worksheet Functions 0 24th Aug 2007 03:25 PM
How do I create an overall graph from Multiple worksheets? =?Utf-8?B?V29ya3NoZWV0IGZ1bmN0aW9ucw==?= Microsoft Excel Worksheet Functions 0 29th Jun 2006 04:25 AM
Can I create 1 trendline across multiple series in column graph =?Utf-8?B?V2lsbGlhbXM=?= Microsoft Powerpoint 0 8th Feb 2005 04:41 PM
How do I create a graph from an equation and not a set of data? =?Utf-8?B?YXNoZW1vcnJ5?= Microsoft Excel Charting 1 20th Jan 2005 10:14 AM
how to create a graph for this data shaahul Microsoft Powerpoint 2 9th Jan 2005 04:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:04 AM.