#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 231
Default Pulling Data

I have a large range of data that I would like to pull information from based
on several factors. There may be more then one outcome. Is there anyway to
pull that information and put it in a table on a different worksheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Pulling Data

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Sarah" wrote in message
...
I have a large range of data that I would like to pull information from
based
on several factors. There may be more then one outcome. Is there anyway
to
pull that information and put it in a table on a different worksheet?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Pulling Data

Hi,
you can use Pivot tables

"Sarah" wrote:

I have a large range of data that I would like to pull information from based
on several factors. There may be more then one outcome. Is there anyway to
pull that information and put it in a table on a different worksheet?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Pulling Data

Sub getdataSAS()
Dim lr As Long
Dim fc As Long
Dim ds As Worksheet
Application.ScreenUpdating = False
Columns(3).Resize(, 5).Delete
With Sheets("Data")
fc = Sheet2.Range("b4") * 2 + 3'merged
Set ds = Sheets("sheet1")

lr = .Cells(Rows.Count, 2).End(xlUp).Row

.Range("B4:Z400").AutoFilter Field:=2, Criteria1:="<=" & ds.Range("b3")

.Columns("b:d").Copy ds.Range("c1")
.Columns(fc).Resize(, 2).Copy ds.Range("f1")

.Range("B4:Z4").AutoFilter
End With
Range("b4").Select
Application.ScreenUpdating = True
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Sarah" wrote in message
...
I have a large range of data that I would like to pull information from
based
on several factors. There may be more then one outcome. Is there anyway
to
pull that information and put it in a table on a different worksheet?



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
Pulling data from other wb based on data to populate dropdown list Suzann Excel Discussion (Misc queries) 0 April 23rd 09 04:29 PM
Tying to extract all data from a pivot pulling from external data Ted Urban Excel Discussion (Misc queries) 3 September 14th 07 10:50 AM
Linking two spreadsheet, pulling data from one cell to another, data is being truncated Ben Excel Worksheet Functions 0 September 13th 07 11:41 PM
Pulling data yaheegunsome Excel Worksheet Functions 1 May 17th 07 10:23 PM
pulling data from one sheet and listing selected data in another Bfly Excel Worksheet Functions 2 February 2nd 07 01:38 AM


All times are GMT +1. The time now is 03:54 AM.

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

About Us

"It's about Microsoft Excel"