Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Excel Peeps...

Thread Tools
 
Old Aug 23, 2005 | 09:38 AM
  #11  
Misa's Avatar
Misa
Pic Whore
 
Joined: Jul 2004
Posts: 22,224
Likes: 1
From: NJ
Default

Originally Posted by Tark
I LOVE YOU h: it worked... only thing was the language cause i am working with a french Ver.

Meyb one more question how do you use the count function? cause in a different column their is the kind of memebership. So platnum, gold, silver bronze. I would like a cell to give me amount of platnium. other cell for gold, other for.... you know what i mean.
try

=SUM(IF(RANGE="platinum",1,0)) and Ctrl+Shift+Enter
Reply
Old Aug 23, 2005 | 11:34 AM
  #12  
Tark's Avatar
Tark
Thread Starter
Senior Member
 
Joined: Jun 2004
Posts: 30,331
Likes: 0
From: Montréal, Canada
Default

Originally Posted by janiVI
try

=SUM(IF(RANGE="platinum",1,0)) and Ctrl+Shift+Enter
yeah that work but then it doesnt do the count per year!

here is what i tried:

=Sum(IF(AND('Consolidation des rapports'!L5:L347="Platinum";YEAR('Consolidation des rapports'!J5:J10000)=2003);1;0))

ctrl+shift+enter

and it gives me 0
Reply
Old Aug 23, 2005 | 01:10 PM
  #13  
jclau00's Avatar
jclau00
Senior Member
 
Joined: Sep 2002
Posts: 1,104
Likes: 0
From: bay area, cali
Default

try this...

=SUM(IF(A1:A4=2005,1,0)*IF(B1:B4="bronze",1,0)) then ctrl shft enter

the logic behind this is if both conditions are true, then 1 * 1 = 1 else it'll be = 0
Reply
Old Aug 23, 2005 | 01:28 PM
  #14  
Tark's Avatar
Tark
Thread Starter
Senior Member
 
Joined: Jun 2004
Posts: 30,331
Likes: 0
From: Montréal, Canada
Default

Originally Posted by jclau00
try this...

=SUM(IF(A1:A4=2005,1,0)*IF(B1:B4="bronze",1,0)) then ctrl shft enter

the logic behind this is if both conditions are true, then 1 * 1 = 1 else it'll be = 0
but that wouldnt count anything. The final anser would be 1 or 0 right?

:wtc:
Reply
Old Aug 23, 2005 | 01:56 PM
  #15  
jclau00's Avatar
jclau00
Senior Member
 
Joined: Sep 2002
Posts: 1,104
Likes: 0
From: bay area, cali
Default

Originally Posted by Tark
but that wouldnt count anything. The final anser would be 1 or 0 right?

:wtc:
no, it'll work. the reason you have to do the ctrl shft enter to make the {} is because it's an array. it'll perform that function on the entire range. so in the end you'll get a bunch of 0s and 1s which will be summed for you conveniently in a single cell.
Reply
Old Aug 23, 2005 | 01:59 PM
  #16  
Tark's Avatar
Tark
Thread Starter
Senior Member
 
Joined: Jun 2004
Posts: 30,331
Likes: 0
From: Montréal, Canada
Default

Originally Posted by jclau00
no, it'll work. the reason you have to do the ctrl shft enter to make the {} is because it's an array. it'll perform that function on the entire range. so in the end you'll get a bunch of 0s and 1s which will be summed for you conveniently in a single cell.
cool i'll try tomorrow... thanks dude!
Reply




All times are GMT -8. The time now is 08:32 AM.