You're going to need to specify this a little more exactly before people can be sure of what you want. For instance, you talk about "1 of 2 worksheets", but later of "multiple worksheets". The approach might be very different for "1 of 2" compared to 1 of many. You also talk about a template that would be read-only. It's a file that would be read-only, so it makes me wonder if you are actually talking about worksheets (which are the sheets inside an xls file), or workbooks (which are the xls files themselves). The approach would need to be totally different for these two eventualities - especially as this presumably means that the "1 of 2" is no longer applicable either. I suspect that you are talking about having many workbooks, each of which is of one of two types (created from read-only workbooks that serve as templates). These would be stored in a single disk directory and you want to look through all the workbooks and extract and summarise information from them. This would require VBA code to do. But I might be completely over-guessing here. Can you clarify? =========================== If you do indeed simply want to take information from either of TWO worksheets in the SAME workbook, then a simple IF will do this. E.g. =IF('First type'!$C$1<>"",'First type'!E22,'Second type'!E18) Where "First type" and "Second type" are the two sheets; C1 is a cell in "First type" that is mandatory and would indicate that it was this sheet that had been used; and the other two cells are the equivalent cells in the two sheets. Obviously, you'd need to have one of these for each summary cell. =========================== > ... the workbook that we were compiling for our molecular diagnostics lab > for bone marrow transplant patients ... If I was a bone marrow transplant patient, I would be horrified to find out that facilities to collect data were being created (1) in Excel, and (2) not by IT professionals. This is presumably life-critical information. I firmly recommend a stringent development approach to this IT task, and suggest that a database be used, rather than ad hoc Excel files that can so easily go missing or get corrupted or changed inadvertantly. Regards, Dave S ----- Original Message ----- From: "John Perrin" <jperrin@xxxxxxxxxxxxx> To: <mso@xxxxxxxxxxxxx> Sent: Saturday, July 18, 2009 2:10 AM Subject: [mso] Excel question for a formula > Good Afternoon/Morning Group, > > I was wondering if I could get a little help with a formula for an Excel > sheet trying to put together for one of our labs. > > Technologist entering data into 1 of 2 worksheets, formulas for those work > fine. > > In the 3rd sheet we would like to compile the results from the 1 sheet > that was worked with but we won't know up front which sheet is going to be > worked with and I would like to make a template that everyone could use > and I'll just make it "read only" so no one can copy over it with their > data already in it. > > The formula I wrote will only "pull" information from 1 sheet. What I > would like it a formula that will look at multiple worksheets, determine > which of those worksheets actually have data in them and "dump" the > results of the cells that have something in them to particular cells in > the "collation" worksheet. > > I was thinking what I need is an IF statement that also has OR embedded in > it. > > If anyone would like to see the workbook that we were compiling for our > molecular diagnostics lab for bone marrow transplant patients I would be > happy to send it if you think it would make it easier. > > Thanks, > > > > John Perrin, (M) ASCP, (M) NCA > Quality Assurance Coordinator > Department of Pathology > University of Michigan Hospitals > E-mail jperrin@xxxxxxxxx > Office (734) 615-5770 > Fax (734) 615-4804 > Pager (734) 936-6266 (30266) > Electronic mail is not secure and is not read everyday. Do not use for > urgent or sensitive issues. > > > ********************************************************** > Electronic Mail is not secure, may not be read every day, and should not > be used for urgent or sensitive issues > ************************************************************* > You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or > MicrosoftOffice@xxxxxxxxxxxxxxxx > > To send mail to the group, simply address it to mso@xxxxxxxxxxxxx > > To Unsubscribe from this group, visit the group's homepage and use the > dropdown menu at the top. This will allow you to unsubscribe your email > address or change your email settings to digest or vacation (no mail). > //www.freelists.org/webpage/mso > > To be able to share files with the group, you must join our Yahoo sister > group. This group will not allow for posting of emails, but will allow > you to join and share problem files, templates, etc.: > http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for > FILE SHARING ONLY. > > If you are using Outlook and you see a lot of unnecessary code in your > email messages, read these instructions that explain why and how to fix > it: > http://personal-computer-tutor.com/abc3/v28/greg28.htm > ************************************************************* -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00 ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, visit the group's homepage and use the dropdown menu at the top. This will allow you to unsubscribe your email address or change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to share files with the group, you must join our Yahoo sister group. This group will not allow for posting of emails, but will allow you to join and share problem files, templates, etc.: http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE SHARING ONLY. If you are using Outlook and you see a lot of unnecessary code in your email messages, read these instructions that explain why and how to fix it: http://personal-computer-tutor.com/abc3/v28/greg28.htm *************************************************************