Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
PokerZan
 
Posts: n/a
Default Countnig Unique Invoice #'s in a Column


I have a column that has Order/Invoice numbers with multiples of this
number per the number of line items on the order. For instance if ABC
Company had 1 order and 5 items on that order, it would have 5
identical Order #'s. I am needing a funtion to quickly count the
number of unique Order #'s per Sales Rep.

I tried doing this in a Pivot table but it is counting all the invoice
numbers and over reporting the number of "deals" per rep when they sold
more than one item on an order.

Thanks,

PZan


--
PokerZan
------------------------------------------------------------------------
PokerZan's Profile: http://www.excelforum.com/member.php...o&userid=23480
View this thread: http://www.excelforum.com/showthread...hreadid=473459

  #2   Report Post  
Domenic
 
Posts: n/a
Default

Assuming that Column A contains the sales representative, and Column B
contains the unique order/invoice number, try...

=SUMPRODUCT(($A$1:$A$10="A")/COUNTIF($B$1:$B$10,$B$1:$B$10&""))

If you list your sales representatives in a column, let's say Column D,
enter the following formula in E1 and copy down:

=SUMPRODUCT(($A$1:$A$10=D1)/COUNTIF($B$1:$B$10,$B$1:$B$10&""))

Hope this helps!

In article ,
PokerZan
wrote:

I have a column that has Order/Invoice numbers with multiples of this
number per the number of line items on the order. For instance if ABC
Company had 1 order and 5 items on that order, it would have 5
identical Order #'s. I am needing a funtion to quickly count the
number of unique Order #'s per Sales Rep.

I tried doing this in a Pivot table but it is counting all the invoice
numbers and over reporting the number of "deals" per rep when they sold
more than one item on an order.

Thanks,

PZan

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
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
set up a column in excel with unique entries Richard Excel Discussion (Misc queries) 2 March 6th 05 08:15 PM
How do I return the unique entries from a column to a listbox Dave Mc Excel Worksheet Functions 4 February 9th 05 08:02 AM
find rows for unique data in 1 column and different data in other. Dot Majewski Excel Discussion (Misc queries) 1 January 21st 05 12:23 AM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


All times are GMT +1. The time now is 05:32 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"