Formula Assistance

dionne77

New Member
Joined
May 19, 2015
Messages
33
Office Version
  1. 2016
Platform
  1. Windows
How can I modify the formula to only return/display data 'if' column C is blank?
Cell Formulas
RangeFormula
A5:E9A5=IFERROR(INDEX(Sheet2!$A$2:$E$99,AGGREGATE(15,6,(ROW(Sheet2!$B$2:$B$99)-ROW(Sheet2!$B$2)+1)/(MMULT(--(Sheet2!$B$2:$B$99={"New","In Progress"}),{1;1})*IF($B$2="All of the above",MMULT(--(Sheet2!$E$2:$E$99=TRANSPOSE(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))),ROW(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))^0),--(Sheet2!$E$2:$E$99=$B$2))),ROWS(A$5:A5)),COLUMNS($A5:A5))&"","")
Press CTRL+SHIFT+ENTER to enter array formulas.
Cells with Data Validation
CellAllowCriteria
B2List=Sheet3!$A$1:$A$4

Book3.xlsx
ABCDE
1
2DogNewDog 12022-07-12 13:16:36Test 2
3CatIn Progress2022-07-08 15:37:16Test 1
4BirdNothingBird 12022-07-02 12:32:30Test 2
5FishNew2022-06-30 14:19:44Test 1
6FoxIn Progress2022-07-12 13:16:36Test 2
7LionNewTiger2022-07-08 15:37:16Test 3
Sheet2

Book3.xlsx
A
1Test 1
2Test 2
3Test 3
4All of the above
Sheet3
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How about
Excel Formula:
=IFERROR(INDEX(Sheet2!$A$2:$E$99,AGGREGATE(15,6,(ROW(Sheet2!$B$2:$B$99)-ROW(Sheet2!$B$2)+1)/(MMULT(--(Sheet2!$B$2:$B$99={"New","In Progress"}),{1;1})*IF($B$2="All of the above",MMULT(--(Sheet2!$E$2:$E$99=TRANSPOSE(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))),ROW(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))^0),--(Sheet2!$E$2:$E$99=$B$2)))/(Sheet2!$C$2:$C$99=""),ROWS(C$5:C5)),COLUMNS($A5:C5))&"","")
 
Upvote 0
Solution
Thank you for the quick reply, however the updated formula removed all data.
Book3.xlsx
ABCDE
1
2All of the above
3
4
5     
6     
7     
8     
9     
Sheet1
Cell Formulas
RangeFormula
A5:E9A5=IFERROR(INDEX(Sheet2!$A$2:$E$99,AGGREGATE(15,6,(ROW(Sheet2!$B$2:$B$99)-ROW(Sheet2!$B$2)+1)/(MMULT(--(Sheet2!$B$2:$B$99={"New","In Progress"}),{1;1})*IF($B$2="All of the above",MMULT(--(Sheet2!$E$2:$E$99=TRANSPOSE(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))),ROW(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))^0),--(Sheet2!$E$2:$E$99=$B$2)))/(Sheet2!$C$2:$C$99=""),ROWS(C$5:C5)),COLUMNS($A5:C5))&"","")
Cells with Data Validation
CellAllowCriteria
B2List=Sheet3!$A$1:$A$4
 
Upvote 0
You have the columns wrong at he end, it should be COLUMNS($A5:A5), also you will need to confirm it with Ctrl Shift Enter
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
One last question, if I want to return data for the reverse, where column C contains any data, how would I modified (Sheet2!$C$2:$C$99="")?

IFERROR(INDEX(Sheet2!$A$2:$E$99,AGGREGATE(15,6,(ROW(Sheet2!$B$2:$B$99)-ROW(Sheet2!$B$2)+1)/(MMULT(--(Sheet2!$B$2:$B$99={"New","In Progress"}),{1;1})*IF($B$2="All of the above",MMULT(--(Sheet2!$E$2:$E$99=TRANSPOSE(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))),ROW(OFFSET(Sheet3!$A$1,,,COUNTA(Sheet3!$A$1:$A$4)-1,1))^0),--(Sheet2!$E$2:$E$99=$B$2)))/(Sheet2!$C$2:$C$99=""),ROWS(C$5:C5)),COLUMNS($A5:A5))&"","")
 
Upvote 0

Forum statistics

Threads
1,213,537
Messages
6,114,216
Members
448,554
Latest member
Gleisner2

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