Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default Using a current spreadsheet to populate a new one

In this case, I want to search a column to find a specific parameter, the word pneumonia, and use the entire row where that parameter is found to populate a new spreadsheet. I have about 900 rows to search this way so how could I do this? I was planning on using a Userform, but if there is an easier way that would be great too.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Using a current spreadsheet to populate a new one

How about creating a filter? Data/Filter/Autofilter. Select the arrow above
the column that contains Pneumonia. Select Custom in the drop dowm. In the
box that appears, select Contains in the first drop down and type
"Pneumonia" in the box at the right of it. Click OK.

You have just filtered the sheet for the rows containing pnuemonia.
Highlight them, Copy. Then pastee them in your new sheet.

Hope this helps.

"shadesofsisyphus" wrote:


In this case, I want to search a column to find a specific parameter,
the word pneumonia, and use the entire row where that parameter is
found to populate a new spreadsheet. I have about 900 rows to search
this way so how could I do this? I was planning on using a Userform,
but if there is an easier way that would be great too.




--
shadesofsisyphus

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using a current spreadsheet to populate a new one


If you know only one record contains the word pneumonia and you want a
formula to do this, you can use wildcards in your forumula criteria.
For example, if you're using match of vlookup then you could write:
=match("*pneumonia*",range,0)
=vlookup("*pneumonia*",range,column,false)

* = any characters of unlimited length
? = any one character


--
BlueDaze


------------------------------------------------------------------------
BlueDaze's Profile: http://www.excelforum.com/member.php...o&userid=27465
View this thread: http://www.excelforum.com/showthread...hreadid=569560

  #4   Report Post  
Junior Member
 
Posts: 4
Default

The issue with this is that it is not going to be the only word in that cell so I cant sort by this or autofilter. I need something that will select it out of a list in that one cell, there may be two or three different things in that cell.I was thinking "*pneumonia*", or something like that.


Quote:
Originally Posted by BlueDaze
If you know only one record contains the word pneumonia and you want a
formula to do this, you can use wildcards in your forumula criteria.
For example, if you're using match of vlookup then you could write:
=match("*pneumonia*",range,0)
=vlookup("*pneumonia*",range,column,false)

* = any characters of unlimited length
? = any one character


--
BlueDaze


------------------------------------------------------------------------
BlueDaze's Profile: http://www.excelforum.com/member.php...o&userid=27465
View this thread: http://www.excelforum.com/showthread...hreadid=569560
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Using a current spreadsheet to populate a new one

AM I missing somethign here? The Custom filter I described earlier using the
'contains' feature will look for parts of a cell. It will find all cells in
that column that contain the word you look for(even if it contains more than
"pneumonia"), and display the entire row for the matching cells. So if you
want to just move the appropriate rows over one time ( or even a few), that
is a simple procedure to do it.

BlueDaze provided a procedure that will also work, but it requires you to
use a formula. This would be better if you wanted to have this happen more
autmatically, where you would be doing ti more freqently.

if we are missing the point, please provide the info in a different manner.

"shadesofsisyphus" wrote:


The issue with this is that it is not going to be the only word in that
cell so I cant sort by this or autofilter. I need something that will
select it out of a list in that one cell, there may be two or three
different things in that cell.I was thinking "*pneumonia*", or
something like that.


BlueDaze Wrote:
If you know only one record contains the word pneumonia and you want a
formula to do this, you can use wildcards in your forumula criteria.
For example, if you're using match of vlookup then you could write:
=match("*pneumonia*",range,0)
=vlookup("*pneumonia*",range,column,false)

* = any characters of unlimited length
? = any one character


--
BlueDaze


------------------------------------------------------------------------
BlueDaze's Profile:
http://www.excelforum.com/member.php...o&userid=27465
View this thread:
http://www.excelforum.com/showthread...hreadid=569560





--
shadesofsisyphus

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
Formula for Returning values in another spreadsheet lrbest4x4xfar Excel Worksheet Functions 1 October 14th 05 02:52 PM
Hyperlinking to Excel 2000 with a linked spreadsheet LDPitsy1970 Excel Discussion (Misc queries) 0 October 12th 05 02:31 PM
Search/Match between 2 x separate Worksheets and populate result in third worksheet Alan Bartley Excel Discussion (Misc queries) 1 April 11th 05 05:21 AM
Applying Existing Password to New Spreadsheet Vic Excel Discussion (Misc queries) 1 January 27th 05 12:37 AM
spreadsheet function Excel GuRu Excel Discussion (Misc queries) 2 January 6th 05 04:09 AM


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