Using Table Arrays to extract unique data from table

cchampagne17

New Member
Joined
Jul 30, 2012
Messages
15
Good afternoon,
I'm trying to create an automatic table using an array function I found online... However when I tried to apply the formula to my table it finds an error. What I am trying to do is type in a date in cell C10, then the array function returns unique overall grades from that date.

The array formula I entered into E10 (and dragged down..) is..
=INDEX(Item, SMALL(IF(($C$10=Date)*(COUNTIF($E$9:E9,Grade)=0), ROW(Date)-MIN(ROW(Date))+1, ""), 1))

I did hold down Shift+CTRL when I hit enter when I modified the formula. I named B3:B8 "Date", as well as F3:F8 "Grade" for name references. I also made sure that the formula is linking the names and not the date function or whatnot.

If anyone can help me figure out what is wrong with the formula that would be extremely helpful. Thank you

Chris


Below is the table that I am referring to..


ABCDEFG
1
2DateCommentsYes TotalNo TotalOverall Grade
37/24/2014181162.07%
47/24/2014251660.98%
57/24/2014153231.91%
67/24/2014173334%
77/24/2014252352.08%
87/29/2014311468.89%
9
10SearchSearch Results
11
12
13

<tbody>
</tbody>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Let me know if this is what you are after.


Excel 2010
BCDEFG
2DateCommentsYes TotalNo TotalOverall Grade
37/24/2014181162.07%
47/24/2014251660.98%
57/24/2014153231.91%
67/24/2014173334%
77/24/2014252352.08%
87/29/2014311468.89%
9
10Search7/24/2014Search Results0.6207
110.6098
120.3191
130.34
140.5208
15#NUM!
Sheet35
Cell Formulas
RangeFormula
E10{=INDEX(Grade, SMALL(IF(($C$10=Date)*(COUNTIF($E$9:E9,Grade)=0), ROW(Date)-MIN(ROW(Date))+1, ""), 1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
Date=Sheet35!$B$3:$B$8
Grade=Sheet35!$F$3:$F$8
 
Upvote 0
Let me know if this is what you are after.

Excel 2010
BCDEFG
2DateCommentsYes TotalNo TotalOverall Grade
37/24/2014181162.07%
47/24/2014251660.98%
57/24/2014153231.91%
67/24/2014173334%
77/24/2014252352.08%
87/29/2014311468.89%
9
10Search7/24/2014Search Results0.6207
110.6098
120.3191
130.34
140.5208
15#NUM!

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet35

Array Formulas
CellFormula
E10{=INDEX(Grade, SMALL(IF(($C$10=Date)*(COUNTIF($E$9:E9,Grade)=0), ROW(Date)-MIN(ROW(Date))+1, ""), 1))}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>

Workbook Defined Names
NameRefers To
Date=Sheet35!$B$3:$B$8
Grade=Sheet35!$F$3:$F$8

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>


Yes! Worked great thank you!
 
Upvote 0

Forum statistics

Threads
1,213,522
Messages
6,114,112
Members
448,549
Latest member
brianhfield

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