Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vi Vi is offline
external usenet poster
 
Posts: 15
Default Addition & multiplication formula

I have added a column of numbers using the following formula so the total
cell will be zero if there is nothing in the column:
=IF(count(F8:F26),SUM(F8:F26),""

Now I want to multiply that total by cell F27 and put the total in cell F28.
Again, if the total is zero, I want the cell to be blank.

Please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Addition & multiplication formula

Why the complicated formula?

=sum(F8:F26) will return 0 if F8:F26 is empty anyway. You don't need
to test for cells with data.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Addition & multiplication formula

On way:

=IF(IF(COUNT(F8:F26),SUM(F8:F26)*F27,"")=0,"",IF(C OUNT(F8:F26),SUM(F8:F26)*F27,""))

HTH,
Paul

--

"Vi" wrote in message
...
I have added a column of numbers using the following formula so the total
cell will be zero if there is nothing in the column:
=IF(count(F8:F26),SUM(F8:F26),""

Now I want to multiply that total by cell F27 and put the total in cell
F28.
Again, if the total is zero, I want the cell to be blank.

Please help



  #4   Report Post  
Posted to microsoft.public.excel.misc
Vi Vi is offline
external usenet poster
 
Posts: 15
Default Addition & multiplication formula

I don't want the zero to show up because it is on a form that we print out
and some people fill it out by hand instead of on the computer.

"HKaplan" wrote:

Why the complicated formula?

=sum(F8:F26) will return 0 if F8:F26 is empty anyway. You don't need
to test for cells with data.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Addition & multiplication formula

Go to Tools | Options, and uncheck the zero values in the View tab.
Then zero values will all be blank.



  #6   Report Post  
Posted to microsoft.public.excel.misc
Vi Vi is offline
external usenet poster
 
Posts: 15
Default Addition & multiplication formula

This did not work - it did not give me an answer at all when there was
something in the column.

"Vi" wrote:

I have added a column of numbers using the following formula so the total
cell will be zero if there is nothing in the column:
=IF(count(F8:F26),SUM(F8:F26),""

Now I want to multiply that total by cell F27 and put the total in cell F28.
Again, if the total is zero, I want the cell to be blank.

Please help

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Addition & multiplication formula

Try simplifying the formula as I suggested, leaving out the count
statement. =sum(A1:A20) is all you need to total a column. If the
answer is zero, then the cell will be blank.
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Addition & multiplication formula

You'll need to tell us what non-standard settings you are using. By
default, that would return zero. Perhaps you have display of zeroes
suppressed?
--
David Biddulph

"HKaplan" wrote in message
...
Try simplifying the formula as I suggested, leaving out the count
statement. =sum(A1:A20) is all you need to total a column. If the
answer is zero, then the cell will be blank.



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
Addition help to edit a formula Hell-fire[_3_] Excel Worksheet Functions 7 July 4th 07 02:38 AM
Vlookup and Multiplication formula Gladys Excel Discussion (Misc queries) 1 October 9th 06 06:37 PM
Whatsthe formula which retrieves a # from a multiplication table DS Excel Worksheet Functions 4 September 26th 06 05:28 PM
one formula to make a multiplication table work Paige Excel Worksheet Functions 3 September 14th 05 06:30 PM
Need a 1 Column multiplication formula for 2600 cells. How? Buckle Excel Worksheet Functions 1 March 25th 05 04:17 PM


All times are GMT +1. The time now is 05:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"