Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dear Experts,
I have 28 worksheets (drug classes) each with a column O in which drug names will appear if they meet certain criteria. I would like to list these drugs, from the 28 worksheets on one page, as a summary. I want excel to look down column O, for about 100 rows, and collect any occurrences of drug names. In 100 rows drug names may appear 20 times (they will all be unique), the other cells being blank. Can I collect these occurrences on one sheet for summary purposes? regards Martina |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This should give you some ideas:
http://www.rondebruin.nl/copy2.htm Also: http://www.contextures.com/xlvba01.html http://www.anthony-vba.kefra.com/vba/vbabasic1.htm HTH, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "jc132568" wrote: Dear Experts, I have 28 worksheets (drug classes) each with a column O in which drug names will appear if they meet certain criteria. I would like to list these drugs, from the 28 worksheets on one page, as a summary. I want excel to look down column O, for about 100 rows, and collect any occurrences of drug names. In 100 rows drug names may appear 20 times (they will all be unique), the other cells being blank. Can I collect these occurrences on one sheet for summary purposes? regards Martina |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
this can be done with pivot table
or simply few worksheet functions. like a row below column 'O' for counting occurances. sorting all sheets except summary togather. etc better if you can post the file it is easier and better. "jc132568" wrote in message ... Dear Experts, I have 28 worksheets (drug classes) each with a column O in which drug names will appear if they meet certain criteria. I would like to list these drugs, from the 28 worksheets on one page, as a summary. I want excel to look down column O, for about 100 rows, and collect any occurrences of drug names. In 100 rows drug names may appear 20 times (they will all be unique), the other cells being blank. Can I collect these occurrences on one sheet for summary purposes? regards Martina |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This relatively simple formulas play should deliver the expected results ...
As you posted, target data is within rows 2 to 100 in col O in each of the 28 drug sheets In the summary sheet, List the 28 actual sheetnames for the drugs into AD1:BE1 (A once-off effort, take care to ensure that there's no typos in the listing. The names listed must match exactly with what's on the tabs except for case, which is immaterial) Put in A2: =IF(ISTEXT(INDIRECT("'"&AD$1&"'!O"&ROWS($1:1)+1)), ROW(),"") Copy A2 across by 28 cols to AB2, fill down to AB100 [You can hide away/ minimize the criteria cols A to AB] Then place in AD2: =IF(ROWS($1:1)COUNT(A:A),"",INDEX(INDIRECT("'"&AD $1&"'!O:O"),SMALL(A:A,ROWS($1:1)))) Copy AD2 across to BE2, fill down to BE100*. The expected TEXT results from each drug's sheet's col O will appear neatly packed at the top. Voila? hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "jc132568" wrote: Dear Experts, I have 28 worksheets (drug classes) each with a column O in which drug names will appear if they meet certain criteria. I would like to list these drugs, from the 28 worksheets on one page, as a summary. I want excel to look down column O, for about 100 rows, and collect any occurrences of drug names. In 100 rows drug names may appear 20 times (they will all be unique), the other cells being blank. Can I collect these occurrences on one sheet for summary purposes? regards Martina |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Collating entries from multiple sheets | New Users to Excel | |||
Collating multiple .csv files into a single work book | Excel Discussion (Misc queries) | |||
Combine Multiple Entries with differing amounts of entries | Excel Worksheet Functions | |||
Help collating data from multiple worksheets | Excel Discussion (Misc queries) | |||
searching and collating values in multiple sheets | Excel Discussion (Misc queries) |