Excel query a sheet of raw data and return

Closed
Brooster - Feb 25, 2011 at 02:53 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 28, 2011 at 09:12 AM
Hello ,

I hope you're all having a good day so far. I however am not, I'm trying to pull certain data from a spreadsheet of raw data. It's an investment spreadsheet so I have a very large dump of a stock screen. About 2500 companies. I'm trying to make it so every month when I rerun the screen it formats the data automatically. The easiest way for me to do that is have a raw data sheet that I replace every month with fresh data. On the other sheet I need it to pull companies from that sheet with a market cap of say 100 million to 1 billion.

Example:

So how can I query this page to return all companies with a market cap of 10 - 100 Billion and return all the columns of data, or just certain ones I specify. In google docs there is a QUERY function which would work perfectly but these screen dumps are far too large for google docs to handle so I prefer to use excel.

Colums are like this:

Ticker Name Market Cap Computed data1 Computed data2, etc.

IBM IBM 203560894464 Blah Blah

MMM 3M 65359548416 Blah Blah


Thank you very much in advance.

3 responses

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Feb 27, 2011 at 05:24 PM
could you please upload a sample files WITH sample data, macro, formula , conditional formatting etc on some shared site like https://authentification.site , http://docs.google.com, http://wikisend.com/ etc
AND post back here the link to allow better understanding of how it is now and how you foresee. Based on the sample book, could you re-explain your problem too.


Note:
your data need not be to be real data but a good representative of how data looks like
0
Thank you very much for your response. Here is the spreadsheet as you requested with some more information in the first tab on what I'm looking to do.

https://authentification.site/files/27128410/Greenblatt_Screen_-_February_2010.xlsx
0
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Feb 28, 2011 at 08:52 AM
I would say the easiest approach would be that you filter the sheet on the parameters that you desire. Example >=100000000 and <=1000000000 to get 100M to 1B
then copy the resulting rows.

If the range changes, then perhaps you could make it more flexible by prompting the user to enter the range and then have it filter accordingly
0
Thank you again for your response.

If there's no function within excel to do it then I guess it can't be done. I'll have to figure out a way to get it into google doc's so I can use their 'QUERY' function as it seems to work.

Filtering isn't a good option for what I'm trying to do unfortunately.

Thanks for your help though
0
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Feb 28, 2011 at 09:12 AM
I am pretty sure that there must be a way (though i am equally sure that will have memory issues). but unfortunately I am not aware of. May I ask why filter will not work in your case.
0