median with multiple criteria and value ranges

nmccall

New Member
Joined
Jan 11, 2011
Messages
1
I have a report, posted below, that gives different information about students. Here is a sample.

Excel Workbook
ABCDEFGHIJK
1Fund NameStatusActual AmtData ValidDependency StatusTfcFund Family 2Tot AidResidentcyStudent TypeHousing
2PELL GRANTA3200YD2302NPC Grant12015RF1
3DL SUBA4500YD2302NPC Loan12015RF1
4ACG GrantA650YD2302NPC Grant12015RF1
5FWSA1500YD2302NPC Loan12015RF1
6FSEOGA600YD0NPC Grant13648RF1
7PELL GRANTA5550YD0NPC Grant13648RF1
8DL SUBA298YD0NPC Loan13648RF1
9ACG GrantA750YD0NPC Grant13648RF1
10FWSA1500YD0NPC Loan13648RF1
11PELL GRANTA5550YI0NPC Grant12660RF3
12FWSA3000YI0NPC Loan12660RF3
13DL SUBA3500YI5606NPC Loan9500RX3
14PELL GRANTA3800YD1741NPC Grant10970RF1
15FWSA1500YD1741NPC Loan10970RF1
Sheet1
Excel Workbook
ABCDEFGH
18EFC Low ValueEFC High ValueAwards for Dependent On Campus
19Loan LowLoan HighLoan MedianGrant LowGrant HighGrant Median
2000855003168055502775
211500
225011000
2310011500
2415012000
2520012500
Excel 2010 Using this information, I want to create a table that gives me the loan low, high, and median, as well as the grant low, high, and median values based on other criteria. Sheet1
Excel 2010



The two columns on the left correspond to column F in the original data. A20 and B20 give a range from 0-0 for the efc. A21 and B21 give a range from 1-500 for the efc. For the first row I used

=min(if(h2:h2429="NPC Loan",if(f2:f2429=0,if(k2:k2429=1,if(e2:e2429="D",c2:c2429)))))
ctrl+shift+enter

This gives me the low loan amount for awards for dependent on campus found in cell C20.

I completed the first row making slight adjustments based on what my criteria were.

Now I need to do this same thing, but for a range on my efc(tfc in original data). I am at a loss on how to this.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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