Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have an Excel worksheet with six separate columns of numbers and several
rows with numbers in one, several or all of the columns plus a total column. I am using a formula to crosscheck the totals. The formula being used is =IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),value). All of the numbers down and across (both positive and negative totals) add to a correct total in cell S23. Suddenly, by adding a negative number (within a range of -45 to -244) the answer becomes #NAME. Why?? By adding any other numbers (positive or negative) the crosscheck answer is correct. I have never had this problem with an Excel spreadsheet previously. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is value a named range somewhere, or do you want this to appear as
text to alert you to the fact that the two totals are not the same? If the latter, then you need to enclose the word value within double quotes, like so: =IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),"value") Hope this helps. Pete On Apr 20, 4:54 am, James W. <James wrote: I have an Excel worksheet with six separate columns of numbers and several rows with numbers in one, several or all of the columns plus a total column. I am using a formula to crosscheck the totals. The formula being used is =IF(SUM(S4:S22)=SUM(B23:Q23),SUM(S4:S22),value). All of the numbers down and across (both positive and negative totals) add to a correct total in cell S23. Suddenly, by adding a negative number (within a range of -45 to -244) the answer becomes #NAME. Why?? By adding any other numbers (positive or negative) the crosscheck answer is correct. I have never had this problem with an Excel spreadsheet previously. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
One formula, many possible answers. | Excel Discussion (Misc queries) | |||
using formula with several possible answers | Excel Worksheet Functions | |||
Correct answers like a quiz | Excel Worksheet Functions | |||
using a formula, no's 1-443 deleting (116-124) in serval cells | Excel Worksheet Functions | |||
formula gives 2 different answers | Excel Worksheet Functions |