Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Emece
 
Posts: n/a
Default Count on multiple columns

Hi,

I have a worksheet with three columns, each of one stores values sold to
companies in July, August and September. I need to count to how many of these
companies I have sold sth at least once, for example if I sold to them on
July and August, I only want to count it once.

Hope I am clear enough, need help asap.

Thanks in advance

Regards,
Emece
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Emece,

This formula will count the unique entries in A2:C10

=SUMPRODUCT((1/COUNTIF(A2:C10,A2:C10&"")))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Emece" wrote in message
...
Hi,

I have a worksheet with three columns, each of one stores values sold to
companies in July, August and September. I need to count to how many of

these
companies I have sold sth at least once, for example if I sold to them on
July and August, I only want to count it once.

Hope I am clear enough, need help asap.

Thanks in advance

Regards,
Emece



  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Create an additional colum where you sum the values rowwise like in:

=SUM(B2:D2)

in column E. Then invoke:

=COUNT(E2:E50)-COUNTIF(E2:E50,0)

to obtain the desired count.

Emece wrote:
Hi,

I have a worksheet with three columns, each of one stores values sold to
companies in July, August and September. I need to count to how many of these
companies I have sold sth at least once, for example if I sold to them on
July and August, I only want to count it once.

Hope I am clear enough, need help asap.

Thanks in advance

Regards,
Emece

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect multiple columns in 1 row to another? tb New Users to Excel 1 March 4th 05 09:57 PM
Pivot Table combining multiple columns Pete Petersen Excel Discussion (Misc queries) 1 January 13th 05 07:56 PM
Convert multiple columns to rows Lois Lane Excel Worksheet Functions 8 January 10th 05 12:47 AM
Filtering Text Data from Multiple columns Brad Excel Worksheet Functions 6 January 1st 05 03:32 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"