Need help generating list between two values

Rosie63

New Member
Joined
May 7, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Trying to generate a list of names that fall within an attendance rate for school, say between 20% and 60% attendance. I can generate the list for amount less than or greater than but need to generate a list between two values. I am currently working with the following formula

=IFERROR(INDEX($A$2:$A$75,SMALL(IF($C$2:$C$75<60,ROW($A$2:$A$75)-ROW($C$2)+1),ROWS($C$2:$C2))),"")

The red section is the part that needs to be edited to include a greater than 20. I have tried incorporating 'AND' function but without luck.

Any help much appreciated
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Welcome to the MrExcel board!

Is this the sort of thing you mean?

23 05 08.xlsm
ABCDE
1
2Name 166Name 2
3Name 236Name 3
4Name 327Name 7
5Name 49Name 10
6Name 582Name 11
7Name 663Name 14
8Name 742
9Name 893
10Name 976
11Name 1052
12Name 1150
13Name 124
14Name 1364
15Name 1425
16Name 1576
17
Attendance
Cell Formulas
RangeFormula
E2:E7E2=FILTER(A2:A75,(C2:C75<60)*(C2:C75>20),"")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,198
Messages
6,123,589
Members
449,109
Latest member
Sebas8956

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