Array Formula with #REF! error

Rcaaa

New Member
Joined
May 21, 2018
Messages
23
Can anyone see the error in my formula? I am trying to extract records for each project description in column G3:G46 from the sheet labeled Tasks.
A2 has the project description and b2 has the count.

=IF(ROWS(A$5:A6)>$B$2,"",Index(Tasks!A$3:A$46,SMALL(IF(Tasks!$G$2:$G$46=$A$2,ROW(Tasks!$G$3:$G$46)-ROW(Tasks!$G$3)+1),ROWS(A$5:A6))))

Thanks,

RCAAA
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
See if this works

=IF(ROWS(A$5:A5)>$B$2,"",Index(Tasks!A$3:A$46,SMALL(IF(Tasks!$G$3:$G$46=$A$2,ROW(Tasks!$G$3:$G$46)-ROW(Tasks!$G$3)+1),ROWS(A$5:A5))))
Ctrl+Shift+Enter

M.
 
Upvote 0
M,

I am still getting the #REF ! error, but thank you for fixing the discrepancies in my formula.

Thanks again,

RCAAA
 
Upvote 0
A small data sample (~10 rows) along with expected results would be helpful for testing purposes.

M.
 
Upvote 0
Hello,

Thank you M. I tried your formula in a different workbook and it worked.

Thanks again,

RCA
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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