Create summary page for multiple sheets that counts unique values in column E by tab

javifais

New Member
Joined
Dec 14, 2015
Messages
28
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a workbook with 19 tabs(sheets). Each tab has the same column headings but the data is different. I want to create a summary page which would list the name of each tab and unique count of data in column E of each tab.

The summary page would look something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Tab name[/TD]
[TD]Unique values in column E for this tab[/TD]
[/TR]
[TR]
[TD]Sheet1[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Sheet2[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]
:nya:
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I should clarify that the datatype in column E is text. Also, I am looking to get distinct count, as in SQL.
 
Upvote 0
I found that the formula =SUMPRODUCT(--(FREQUENCY(MATCH(E2:E61,E2:E61,0),ROW(E2:E61)-ROW(E2)+1)>0)) gives the unique count correctly but in my case the range will not always end at E61. This formula cannot handle blank spaces.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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