Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!

Scott

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 515
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

If the sum of G64:G69 is 0, then your formula will not trap it, as you are
looking for a value less than 0. Also, it depends what the values in B64:B69
are! The way you put your question though, it would seem that you want the
sum of G64:G69, if it is not 0, in B64 etc, else you want nothing. If that
is the case, then in B64 enter

=IF(SUM(G64:G69)<0,SUM(G64:G69),""), or if you want the same answer in
B65:B69 as well, either enter =B64 in those cells, or use absolute references
in the formula, and copy to the other cells as well.

--
Hth

Kassie Kasselman
Change xxx to hotmail


" wrote:

In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!

Scott


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

On Oct 18, 12:12 pm, Kassie wrote:
If the sum of G64:G69 is 0, then your formula will not trap it, as you are
looking for a value less than 0. Also, it depends what the values in B64:B69
are! The way you put your question though, it would seem that you want the
sum of G64:G69, if it is not 0, in B64 etc, else you want nothing. If that
is the case, then in B64 enter

=IF(SUM(G64:G69)<0,SUM(G64:G69),""), or if you want the same answer in
B65:B69 as well, either enter =B64 in those cells, or use absolute references
in the formula, and copy to the other cells as well.

--
Hth

Kassie Kasselman
Change xxx to hotmail



" wrote:
In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!


Scott- Hide quoted text -


- Show quoted text -


Kassie,

The values in the range of G64:G69 could be 0 or more. But if there
is no value such as 0,78, 34, etc in the range, only empty cells, I
want the function to return an empty cell for the sum of the range
B64:B69.

Hope you can help.

Scott

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

this might be a "noise" level issue
try
=IF(abs(SUM(G64:G69))<0.001,SUM(B64:B69),"")

round() or multiple others could be used.
" wrote:

In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!

Scott


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

On Oct 18, 1:14 pm, bj wrote:
this might be a "noise" level issue
try
=IF(abs(SUM(G64:G69))<0.001,SUM(B64:B69),"")

round() or multiple others could be used.



" wrote:
In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!


Scott- Hide quoted text -


- Show quoted text -


Have tried something similar and does work.....just hoping to be more
exact.

Scott



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 227
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

I can't seem to duplicate the problem. If I have no values in
G64:G69, or if there are values that total zero, I get the blank cell.

As bj writes, it's true that you may see displayed (or at least
expect) a sum of zero from a range that actually sums to a very, very
small number, and that small number can unexpectedly trigger the
formula. But you seem to indicate that placing a single zero in the
range G64:G69 and leaving the other cells blank gives you 0. Is this
true?

Mark Lincoln

On Oct 18, 1:33 pm, wrote:
In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!

Scott



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Help with =IF(SUM(G64:G69)<0,SUM(B64:B69),"")

On Oct 18, 2:08 pm, Mark Lincoln wrote:
I can't seem to duplicate the problem. If I have no values in
G64:G69, or if there are values that total zero, I get the blank cell.

As bj writes, it's true that you may see displayed (or at least
expect) a sum of zero from a range that actually sums to a very, very
small number, and that small number can unexpectedly trigger the
formula. But you seem to indicate that placing a single zero in the
range G64:G69 and leaving the other cells blank gives you 0. Is this
true?

Mark Lincoln

On Oct 18, 1:33 pm, wrote:



In this function, =IF(SUM(G64:G69)<0,SUM(B64:B69),"") entering a 0 in
the range G64:G69 does not return "", but rather 0. If the range of
G64:G69 has no values, I need a return of a blank cell in range
B64:B69, not a 0. Help!


Scott- Hide quoted text -


- Show quoted text -


Yes, Mark, that is the case. In the G range of cells, a 0 or any
other number in one or more cells should have the formula adding up
the group of numbers in the B range of cells. If there are no
numbers in the G range, the formula should not sum the B range numbers
and only return a bank cell.

Scott

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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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