Column O may have 100 rows but only 16 entries of text. I only want the
text collected.
Is this possible?
regards
Martina
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"jc132568" <jc13...@discussions.microsoft.com> wrote in message
news:0F35B3C9-175D-45F0...@microsoft.com...
Assume 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. Case 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
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. Success? hit
the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---