Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Peo Sjoblom
 
Posts: n/a
Default An array and countif based on criteria in each column

=SUMPRODUCT(--(B2:B50="C1"),--(L2:L50="C"))

or better

=SUMPRODUCT(--(B2:B50=M1),--(L2:L50=N1))

adapt to fit you real ranges accordingly, the last formula uses cell
references (M1 and N1) instead of hard coded criteria, that way you don't
have to edit the formula when you change from C1 to C2, just type it in cell
M1



--
Regards,

Peo Sjoblom

(No private emails please)


"Rochelle B" wrote in message
...
In column B, I have various codes, e.g. C1, C2, C3 and D. This represents
a
Floor Plan to an apartment building.
In column L, I will be entering a C or S adjacent to one of the codes
listed
above. This represent the "C"opper or "S"ilver upgrade packages that can
be
purchased.
I need a formula that will look for all C1's and count how many C's are
entered. I can then adjust the formula to look for C2 and count how many
C's
or S's are entered for C2 etc....My end result needed is to establish how
many Copper upgrades will be for each floor plan, and how many Silver
upgrades for each floor plan. I believe this will be an array formula,
combined with a countif but not sure how to lay it out. Please Help


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
Array Brad Excel Worksheet Functions 9 October 17th 05 09:00 PM
COUNTIF or SUM function (Multiple criteria) HELP!! Australia Excel Worksheet Functions 3 September 19th 05 07:39 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Counting an Array based on a calculation HokieLawrence Excel Discussion (Misc queries) 10 February 16th 05 02:39 AM
Can I count in an array based on a function? HokieLawrence Excel Worksheet Functions 2 February 12th 05 03:05 AM


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