Still having problems.  I did a little more reading and found this link:  
http://excelribbon.tips.net/T007845_Averaging_a_Non-Contiguous_Range.html

 

Apparently COUNTIF will not work on non-contiguous ranges and that is why I 
keep getting an error (#VALUE) thrown back at me.  So, the related link at:  
https://exceljet.net/formula/count-unique-numeric-values-in-a-range

 

And this formula:  = SUM(--FREQUENCY(data,data)>0)

 

Did the trick.  Thanks for pointing me in the right direction.

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On 
Behalf Of Abhishek Jain
Sent: Sunday, January 31, 2016 12:57 AM
To: MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com>
Subject: Re: $$Excel-Macros$$ Counting unique values across multiple 
non-adjoining columns

 

Something like this: ?

 

https://exceljet.net/formula/count-unique-values-in-a-range-with-countif

 

On Sun, Jan 31, 2016 at 9:45 AM, Theresa Welton <theresawel...@gmail.com 
<mailto:theresawel...@gmail.com> > wrote:

Unfortunately, that is not what I am looking for.  I have employees 
participating in activities, these activities are recorded one in each row of 
the sheet.  I want to be able to determine how many employees are participating 
as each employee can participate in more that one activity.  Their employee ID 
may be in column AF for one activity and in column BD for another.  I want to 
know the unique count of employee IDs, not the specific count of one ID.

 

Sent from my BlackBerry - the most secure mobile device - via the Bell Network


From:abhishek....@gmail.com <mailto:abhishek....@gmail.com> 

Sent:January 30, 2016 11:07 PM

To:excel-macros@googlegroups.com <mailto:excel-macros@googlegroups.com> 

Reply-to:excel-macros@googlegroups.com <mailto:excel-macros@googlegroups.com> 

Subject:Re: $$Excel-Macros$$ Counting unique values across multiple 
non-adjoining columns

 

Do you already have the list of unique ids or you want to create it?

 

As for the counting part, there are more than one ways to achieve this - based 
on type of data and how it is stored. 

 

For better understanding, a sample workbook with what you have and what you 
want will help.

 

However, anywhere before the column AF, a simple 
=COUNTIF(AF1:CJ50000,"Employee1") would return the count of Employee1written in 
those columns and rows regardless of blank coulmns between them.

 

HTH

 



On Saturday, January 30, 2016, Theresa Welton <theresawel...@gmail.com 
<mailto:theresawel...@gmail.com> > wrote:

Good morning all,

 

I am trying to figure out a way to count unique values across multiple non 
adjoining columns.  I need to be able to count unique employee IDs that are 
tracked in 8 separate columns in an excel worksheet (AF, AN, AV, BD, BL, BT, 
CB, CJ).  Does anyone have any thoughts or suggestions as to how I might 
achieve this?  Thank you.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com 
<mailto:excel-macros+unsubscr...@googlegroups.com> .
To post to this group, send email to excel-macros@googlegroups.com 
<mailto:excel-macros@googlegroups.com> .
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 

You received this message because you are subscribed to a topic in the Google 
Groups "MS EXCEL AND VBA MACROS" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/excel-macros/ioVOgLvAKyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
excel-macros+unsubscr...@googlegroups.com 
<mailto:excel-macros+unsubscr...@googlegroups.com> .
To post to this group, send email to excel-macros@googlegroups.com 
<mailto:excel-macros@googlegroups.com> .
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com 
<mailto:excel-macros+unsubscr...@googlegroups.com> .
To post to this group, send email to excel-macros@googlegroups.com 
<mailto:excel-macros@googlegroups.com> .
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

 

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "MS EXCEL AND VBA MACROS" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/excel-macros/ioVOgLvAKyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
excel-macros+unsubscr...@googlegroups.com 
<mailto:excel-macros+unsubscr...@googlegroups.com> .
To post to this group, send email to excel-macros@googlegroups.com 
<mailto:excel-macros@googlegroups.com> .
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to