Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Multiple countif lookup

Superb. Thanks a lot.

"Dave Peterson" wrote:

=SUMPRODUCT(--(A1:A100="bruce"),--(ISNUMBER(G1:G100)),--(G1:G1000))
/COUNTIF(A1:A100,"Bruce")

(all one cell)

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

Bruce Hancock wrote:

Ok here goes, I have a table that has a salespersons name in column A (rows
2-62) and a profit value in column G (rows 2-62 also). I want to count only
the specific salespersons name and values greater than 0 and return a
percentage figure.
For example salesman A has sold 22 cars (22 seperate entries in column A)
and on 11 of these he has sold accessories (11 0 entries and 11 =0 entries
in column G). I need a formulae that will return 50% (or 0.50) by counting
the number of entries greater than 0 in column G and dividing it by the
number of times salesman A appears in column A.
HELP PLEASE.


--

Dave Peterson

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
lookup or countif Rose Davis Excel Worksheet Functions 1 October 19th 06 02:37 AM
Multiple Lookup and CountIF exxon99 Excel Worksheet Functions 2 August 10th 06 10:02 AM
countif counta with multiple lookup criteria JR573PUTT Excel Discussion (Misc queries) 1 February 15th 06 07:37 PM
Random and Lookup and Countif arkansas ang analysis Excel Discussion (Misc queries) 2 September 30th 05 01:15 PM
LOOKUP and COUNTIF borris Excel Worksheet Functions 5 January 19th 05 11:02 PM


All times are GMT +1. The time now is 12:45 AM.

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"