|Title||How to communicate unit error messages in spreadsheets|
|Authors||Robin Abraham & Martin Erwig|
|Publication||ACM SIGSOFT Software Engineering Notes|
|Series||Volume 30, Issue 4, July, pages 1-5|
In previous work we have designed and implemented an automatic reasoning system for spreadsheets, called UCheck, that infers unit information for cells in a spreadsheet. Based on this unit information, UCheck can identify cells in the spreadsheet that contain erroneous formulas.
However, the information about an erroneous cell is reported to the user currently in a rather crude way by simply coloring the cell, which does not tell anything about the nature of error and thus offers no help to the user as to how to fix it.
In this paper we describe an extension of UCheck, called UFix, which improves the error messages reported to the spreadsheet user dramatically. The approach essentially consists of three steps:
In many cases, these error messages also provide suggestions on how to fix the reported errors.
This example shows how an error situation will be communicated to the end user in UFix.
The unit for cell B6 is inferred as Fruit | Month[May|June] & Fruit[Apple]. Units of B3 and B4 can be combined to give a valid unit, but the inclusion of B2 in the formula as well as the omission of B5 results in the unit error.