Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm getting the #DIV/0! error in excel. I understand that it is because the
cell I am calculating on is blank, and that I need to use the "IF" statement. However, my calculation is a long, complicated one and I can't figure out where to put the "IF". (see below) Help! =((F29*$F$26)+(G29*$G$26)+(H29*$H$26)+(I29*$I$26)+ (J29*$J$26)+(K29*$K$26)+(L29*$L$26))/((SUM(F29:L29))) (It is calculating the average of daily sales at different $ rates per transaction, and I need to sum 5 of them per sales person) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=if(SUM(F29:L29) = 0, 0,
((F29*$F$26)+(G29*$G$26)+(H29*$H$26)+(I29*$I$26)+( J29*$J$26)+(K29*$K$26)+(L29*$L$26))/((SUM(F29:L29)))) or since most of your brackets are unnecessary =if(SUM(F29:L29) = 0, 0, (F29*$F$26+G29*$G$26+H29*$H$26+I29*$I$26+J29*$J$26 +K29*$K$26+L29*$L$26)/SUM(F29:L29)) -- HTH... Jim Thomlinson "MetroTech Support" wrote: I'm getting the #DIV/0! error in excel. I understand that it is because the cell I am calculating on is blank, and that I need to use the "IF" statement. However, my calculation is a long, complicated one and I can't figure out where to put the "IF". (see below) Help! =((F29*$F$26)+(G29*$G$26)+(H29*$H$26)+(I29*$I$26)+ (J29*$J$26)+(K29*$K$26)+(L29*$L$26))/((SUM(F29:L29))) (It is calculating the average of daily sales at different $ rates per transaction, and I need to sum 5 of them per sales person) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try
=IF(SUM(F29:L29)=0,0,SUMPRODUCT(F26:L26,F29:L29)/SUM(F29:L29)) -- Regards, Peo Sjoblom "MetroTech Support" <MetroTech wrote in message ... I'm getting the #DIV/0! error in excel. I understand that it is because the cell I am calculating on is blank, and that I need to use the "IF" statement. However, my calculation is a long, complicated one and I can't figure out where to put the "IF". (see below) Help! =((F29*$F$26)+(G29*$G$26)+(H29*$H$26)+(I29*$I$26)+ (J29*$J$26)+(K29*$K$26)+(L29*$L$26))/((SUM(F29:L29))) (It is calculating the average of daily sales at different $ rates per transaction, and I need to sum 5 of them per sales person) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=IF(SUM(F29:L29),SUMPRODUCT($F$26:$L$26,F29:L29)/SUM(F29:L29),"") -- Biff Microsoft Excel MVP "MetroTech Support" <MetroTech wrote in message ... I'm getting the #DIV/0! error in excel. I understand that it is because the cell I am calculating on is blank, and that I need to use the "IF" statement. However, my calculation is a long, complicated one and I can't figure out where to put the "IF". (see below) Help! =((F29*$F$26)+(G29*$G$26)+(H29*$H$26)+(I29*$I$26)+ (J29*$J$26)+(K29*$K$26)+(L29*$L$26))/((SUM(F29:L29))) (It is calculating the average of daily sales at different $ rates per transaction, and I need to sum 5 of them per sales person) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error: "Excel encountered an error and had to remove some formatti | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
Downloading Templates for Excel error with a windows error. | Excel Discussion (Misc queries) |