I have developed CSE SumIf statements that refer to data in an excel table. For example,
An excel table located on the company server named LSDETAILS houses accounts receivable information for customers. This data is displayed in a columnar fashion (DIVISION, MONTH, YEAR, CUSTOMER, DOLLARS).
In a seperate excel workbook I have developed a report, which calculates customer A/R balances based on a user selecting the desired month, year, division, and customer. I have created range names that refer to the data in the LSDETAILS file. For example the range name CUSTOMER refers to column D of the LSDETAILS file.
My report formulas look like the following =ABS(IF(SUM(IF((division=$D$2)*(customer=$B8)*(month=$A$5)*(year=$B$5)*(dollars>0),dollars))<0,0,SUM(IF((division=$D$2)*(customer=$B8)*(month=$A$5)*(year=$B$5)*(dollars>0),dollars))))
This formula at one point was working, but all of a sudden it only calculates to zero. the only way I can get a value is if alter my formula to simply read =dollars (this gives me the dollar value for the cell I happen to be on, ie. if the = dollars formula was entered in row 3 then it would give me row 3's dollar value from the LSDETAILS file. This confirms that my range name references are working currectly, which leads me to believe that there is something wrong with the sumif CSE formula -- it cant handle multiple criteria or looking outside the current workbook for reference data. I'm at a complete loss, I dont understand why the formulas doesnt work anymore when HONESTLY nothing has changed in the formula or the data. Is this an excel glitch? I WOULD GREATLY APPRECIATE ANY HELP ANYONE CAN OFFER, AS IM COMPLETELY FRUSTRATED
Regards,
excelrory
An excel table located on the company server named LSDETAILS houses accounts receivable information for customers. This data is displayed in a columnar fashion (DIVISION, MONTH, YEAR, CUSTOMER, DOLLARS).
In a seperate excel workbook I have developed a report, which calculates customer A/R balances based on a user selecting the desired month, year, division, and customer. I have created range names that refer to the data in the LSDETAILS file. For example the range name CUSTOMER refers to column D of the LSDETAILS file.
My report formulas look like the following =ABS(IF(SUM(IF((division=$D$2)*(customer=$B8)*(month=$A$5)*(year=$B$5)*(dollars>0),dollars))<0,0,SUM(IF((division=$D$2)*(customer=$B8)*(month=$A$5)*(year=$B$5)*(dollars>0),dollars))))
This formula at one point was working, but all of a sudden it only calculates to zero. the only way I can get a value is if alter my formula to simply read =dollars (this gives me the dollar value for the cell I happen to be on, ie. if the = dollars formula was entered in row 3 then it would give me row 3's dollar value from the LSDETAILS file. This confirms that my range name references are working currectly, which leads me to believe that there is something wrong with the sumif CSE formula -- it cant handle multiple criteria or looking outside the current workbook for reference data. I'm at a complete loss, I dont understand why the formulas doesnt work anymore when HONESTLY nothing has changed in the formula or the data. Is this an excel glitch? I WOULD GREATLY APPRECIATE ANY HELP ANYONE CAN OFFER, AS IM COMPLETELY FRUSTRATED
Regards,
excelrory