Technology Get the latest on technology, electronics and software…

Excel help - I'm drawing a blank on something simple...

Thread Tools
 
Old Sep 17, 2010 | 07:08 PM
  #1  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
Excel help - I'm drawing a blank on something simple...

Hi,
My mind is drawing a blank on figuring out a more efficient formula for this...

I'm trying to think of a formula that replaces this one: the sum of the cost of all the roles in a particular month which have "1" in them.

The reason I'm using this method of marking 1s is to make it easy for future people to just mark a 1 in the months they want the resource to start...

Right now the formula just the sum of everything with "1" and multiplies it against the 'per month' cost.

Reply
Old Sep 17, 2010 | 07:14 PM
  #2  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Alt-F, C then beer.
Reply
Old Sep 17, 2010 | 07:25 PM
  #3  
svtmike's Avatar
Team Owner
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Oct 2003
Posts: 37,701
Likes: 3,897
From: Chicago
sumproduct() will be your friend.
Reply
Old Sep 17, 2010 | 07:27 PM
  #4  
rise's Avatar
Thread Starter
Suzuka Master
 
Joined: Jul 2001
Posts: 6,010
Likes: 1
thanks mike. I just figured it out a minute ago too! sumproduct was escaping me
Reply
Old Sep 17, 2010 | 08:21 PM
  #5  
Bearcat94's Avatar
AZ Community Team
 
Joined: May 2007
Posts: 32,488
Likes: 7,771
From: N35°03'16.75", W 080°51'0.9"
Stogie's a genius at this stuff.

Should've used Alt-F, C then beer.

errr, the beer part anyway.
Reply
Old Sep 17, 2010 | 09:31 PM
  #6  
stogie1020's Avatar
Needs more Lemon Pledge
 
Joined: Mar 2005
Posts: 52,768
Likes: 2,000
From: Phoenix, AZ
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
08_UA7_Gr33k
Member Cars for Sale
13
Feb 11, 2016 02:17 PM
blacktsxwagon
5G TLX (2015-2020)
42
Oct 27, 2015 10:12 PM
InFaMouSLink
Car Parts for Sale
6
Oct 27, 2015 06:52 PM
jdmaszfcuk
2G TSX Audio, Bluetooth, Electronics & Navigation
16
Oct 19, 2015 12:31 AM
kixo
2G TSX (2009-2014)
43
Sep 25, 2015 03:07 PM




All times are GMT -5. The time now is 09:11 AM.