Need help modifying this array formula which returns all records meeting a certain criteria on another tab

Shellecj

New Member
Joined
Aug 3, 2013
Messages
32
Hello,

I'm setting up an array formula on another worksheet within my workbook to return all records that meet a certain criteria (have an * in a certain column named "Qual"). I've used this same formula before in several other workbooks (just modify the ranges, etc as needed) but in this particular workbook I'm working on, the range of data starts at row 10 (row 10 being the header rows) so the formula below does not work because the array wants to start at row 1. I have other data (titles, logo, etc) above this range so don't really want to delete the first 9 rows. Is there a way to make this formula work by offsetting by 10 to start at row 10? Or does anyone have any other suggestions for any other formulas which would do this?

The formula I have set up so far is below, and resides on another sheet, starting a few rows down to save room for title/logo, etc on the page (this page will be printed) and is an array formula copied down about 20 rows.

{=IFERROR(INDEX('Task Flow'!$A$10:$AZ$195,SMALL(IF(Qual="*",ROW(Qual)),ROW(1:1)),1),"")}
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try this with Ctrl+Shift+Enter:

Code:
=IF(ROWS(A$1:A1)<=COUNTIFS(qual,"*"),INDEX('Task Flow'!$A$10:$AZ$195,SMALL(IF(qual="*",ROW(qual)-ROW($A$10)+1),ROWS(A$1:A1)),COLUMN(A$1)),"")
 
Upvote 0
On the main sheet there's a if formula in last column....basically if each record in the column qualifies by having some task due based on a set of conditions, the formula leaves an "*" asterisk if the formula was true. Where "Qual" is in the formula above actually refers to the range 'Task Flow'!$AR$10:$AR$195 (I named the range Qual). I tried entering the formula on another sheet ("AM1") starting in cell B5 (confirmed with CTRL+Shift+Enter) and the formula is copied down about 20 rows, to leave extra room should the list of tasks that are due grows.
 
Upvote 0
Interesting. It is working on my sample spreadsheet.

Can you tell me, what is the cell reference within Qual where the first * appears?
 
Upvote 0
Nevermind! I'm so sorry, I got it to work!! I had deleted the client's name before "Task Flow" which was part of the sheet tab name, for confidentiality. Just put the name back in to match sheet name and it's working now! Thank you so much! You've helped me several times today actually! ;)
 
Upvote 0

Forum statistics

Threads
1,215,754
Messages
6,126,681
Members
449,328
Latest member
easperhe29

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top