A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If the formula looks correct and the cell format is already set to Number or Accounting, the issue may be related to the value or formula being interpreted differently in that specific cell.
You can try these steps:
Check the formula in the Formula Bar and compare it character-by-character with a working cell.
Press F2, then press Enter to force Excel to recalculate the cell.
Check whether the cell is formatted as Text before entering the formula. If so, change it to General or Number, then re-enter the formula.
Try copying the formula from a working cell and adjusting the cell references.
If the error remains, please provide the exact error message (for example, #VALUE!, #NAME?, or #REF!) and the formula you're using. The specific error code will help identify the cause.