You are here:

- Home
- Computing/Technology
- Business Software
- Excel
- Array formula

Advertisement

Hi Tom

I have a range that contains data.

I need to have an array formula that extracts data according to a given set of conditions. So , in cell A3 is a dropdown box from which I can choose the name of a school.

Range E3:O150 contains the source data. The column headings go from E2:P2. the column heading for cell O2 is "School" The other column headings are name1-name10 (cells E2:N2)

I wish to place a formula in cell R3 and copy it down to R103 and across to AB3. It should do the following:

Extract only the individuals who have the word "Contributor" or "owner" assigned to their name. These words can be found in range L3:N103.

Thanks in advance

Chris

Christopher,

While you picture is tiny, it looks like row 11 would be the only row that would appear in columns R:AB. It isn't clear whether it should start in R11 or R3. In other words should all the rows that satisfy the criteria be in contiguous rows in starting with R3 or should they appear in the same row as the original data?

It might be easier to send me a sample workbook to twogilvy@msn.com (just a single sheet workbook - it can have dummy data in it but it will illustrate what you want to do.

Also, I can make the formulas a lot less calculation intensive if I put in the row numbers that should be retrieved in column Q and then each formula an R to AB would refer to that value. Otherwise, they each would have to calculate what row to pull from (this is if the data is contiguous stating in row 3. It is in the same row, then no problem. )

--

Regards,

Tom Ogilvy

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

Answers by Expert:

Selected as an Excel MVP by Microsoft since 1999. Answering Excel questions in Allexperts since its inception in 2001. Able to answer questions on almost all aspects of Excel's internal capabilities. If seeking a VBA solution, please specify that in your question itself so I give you the answer you want. [Excel has weak protection - if you are distributing an application, I don't answer questions on how to protect your project from your users.]

Extensive experience. **Education/Credentials**

Master of Science (MS) degree Operations Research (ORSA)**Awards and Honors**

Microsoft MVP in Excel.