LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Lookup one value and count in two ranges

On Wed, 30 Jul 2008 04:03:01 -0700, Suleman Peerzade
wrote:

The result would be
REP CUST PCT 1 PCT 2 PCT 3
Jack Cust 3 3 1
Jack Count 1
John Cust 1 2 1
John Cust 4 1
John Cust 2 2 5
John Count 3
Grand Count 4



This shows that the REP John has three customers in total.
But the question was to count the customers for a selected rep
"for the two products selected".
If product PCT 1 and PCT 3 are selected (on the other worksheet) the
expected result would be 2, as John has only two customers, Cust 1 and
Cust 2 for the selected products.
Your subtotal solution does not show how to take care of "the two
product selected". Or am I missing something here?

Lars-Åke



 
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
Count age ranges James Excel Worksheet Functions 8 November 9th 07 08:04 PM
Name ranges and Lookup eionjess Excel Worksheet Functions 3 January 26th 07 02:45 AM
count age ranges Clash Excel Discussion (Misc queries) 3 June 13th 06 03:05 PM
Lookup Value between 2 ranges Dominique Feteau Excel Worksheet Functions 2 November 1st 05 06:17 PM
Ranges with in a LOOKUP Elijah Excel Worksheet Functions 2 November 23rd 04 10:40 AM


All times are GMT +1. The time now is 07:08 PM.

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

About Us

"It's about Microsoft Excel"