Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
smw smw is offline
external usenet poster
 
Posts: 8
Default Sumif question, I think

I have two cells that I want to sum, but only if they meet a certain
criteria. However, if they don't meet the criteria I don't want them summed,
nor do I want the cell to say FALSE which is what I've been getting.

96.93% 0.43% 90% 850 38% 53.09
92.89% -3.74% 90% 850 38% 46.47

I want the first two numbers in each row, from left to right, summed, but
only if the second number is negative. If the second number is positive I
want the result to be the same as the first number, kind of like the second
number isn't even there. Is that possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Sumif question, I think

=A1+MIN(0,B1)
--
Gary''s Student - gsnu200904
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Sumif question, I think

Hi,

=if(B1<0,A1+B1,A1)

"SMW" wrote:

I have two cells that I want to sum, but only if they meet a certain
criteria. However, if they don't meet the criteria I don't want them summed,
nor do I want the cell to say FALSE which is what I've been getting.

96.93% 0.43% 90% 850 38% 53.09
92.89% -3.74% 90% 850 38% 46.47

I want the first two numbers in each row, from left to right, summed, but
only if the second number is negative. If the second number is positive I
want the result to be the same as the first number, kind of like the second
number isn't even there. Is that possible?

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
sumif + right question Chris Excel Worksheet Functions 1 August 14th 09 10:14 PM
SumIf Question Ronda Excel Discussion (Misc queries) 2 January 19th 09 09:02 PM
SUMIF? Question aeddave Excel Worksheet Functions 7 January 23rd 08 12:32 AM
SUMIF question WLMPilot Excel Worksheet Functions 6 August 22nd 07 05:50 PM
sumif Question Jason Excel Discussion (Misc queries) 4 March 15th 05 04:11 PM


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