#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Formula


I am trying to write a excel formula for the following data: I have a
cell for each month that can contain a postive or negative $ value. I
want the "total cell" to only add the cell for that month if the value
is greater than or equal to $10.00. So for example; month 1 is
-$14.00, month 2 is $4.00, month 3 is $16.00, month 4 is $10.00, and
month 5 is $34.00. The answer should be $60.00 (month 1 = 0, month 2 =
0, month 3 = 16, month 4 = 10, and month 5 = 34; for a total of 60).

Please help!!!


--
rusty2005
------------------------------------------------------------------------
rusty2005's Profile: http://www.excelforum.com/member.php...o&userid=36901
View this thread: http://www.excelforum.com/showthread...hreadid=566152

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Formula


The attached looks only at the values.

=SUMPRODUCT(--(B1:B5=10)*(B1:B5))

More on sumproduct on the attached link

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=566152

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default Excel Formula

=SUMIF(A1:A5,"=10",A1:A5)

will this do the trick?

"rusty2005" wrote:


I am trying to write a excel formula for the following data: I have a
cell for each month that can contain a postive or negative $ value. I
want the "total cell" to only add the cell for that month if the value
is greater than or equal to $10.00. So for example; month 1 is
-$14.00, month 2 is $4.00, month 3 is $16.00, month 4 is $10.00, and
month 5 is $34.00. The answer should be $60.00 (month 1 = 0, month 2 =
0, month 3 = 16, month 4 = 10, and month 5 = 34; for a total of 60).

Please help!!!


--
rusty2005
------------------------------------------------------------------------
rusty2005's Profile: http://www.excelforum.com/member.php...o&userid=36901
View this thread: http://www.excelforum.com/showthread...hreadid=566152


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Formula


Thanks a million!


--
rusty2005
------------------------------------------------------------------------
rusty2005's Profile: http://www.excelforum.com/member.php...o&userid=36901
View this thread: http://www.excelforum.com/showthread...hreadid=566152

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Excel Formula

Say the months are in Column A, and the values are in Column B, from B1 to
B12.

Try this:

=SUMIF(B1:B12,"=10")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"rusty2005" wrote
in message ...

I am trying to write a excel formula for the following data: I have a
cell for each month that can contain a postive or negative $ value. I
want the "total cell" to only add the cell for that month if the value
is greater than or equal to $10.00. So for example; month 1 is
-$14.00, month 2 is $4.00, month 3 is $16.00, month 4 is $10.00, and
month 5 is $34.00. The answer should be $60.00 (month 1 = 0, month 2 =
0, month 3 = 16, month 4 = 10, and month 5 = 34; for a total of 60).

Please help!!!


--
rusty2005
------------------------------------------------------------------------
rusty2005's Profile:
http://www.excelforum.com/member.php...o&userid=36901
View this thread: http://www.excelforum.com/showthread...hreadid=566152




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
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How can i get an If formula in excel to edit another cell? Jimmy Hoffa Excel Worksheet Functions 2 August 16th 05 05:53 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula Integrity Not Preserved During Sort in Excel 2000 Kevin Excel Discussion (Misc queries) 1 April 15th 05 10:26 PM


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