SpellNumber Function Issue related to a formula

Anonymous
2022-02-03T14:11:40+00:00

Hi,

I am trying to use the SpellNumber function in Excel where we use some macros in CargoWise system to retrieve data of the fields. Therefore, the values in the cells are shown only after generating the particular report.

In there I need to convert one such cell value (Number) to words. The cell value is CIF Total and it is the sum of the cells FOB Amount+ Freight + Insurance+ Other. Their values are also retrieved using macros in the system and formulas.

Therefore, when the SpellNumber function is used, it shows an error as #Name?, Is there any other way that could be used rather than the cell value.

I tried the SpellNumber option for formulas where SpellNumber(Cell1 +Cell2), even then as the cell are having macros the #Name? error is coming.

Could anyone please help me on this matter.

Thank you,

Hashini Fernando

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2022-02-03T14:42:24+00:00

    The #NAME? error suggests that the SpellNumber function is missing. If it was available, it would return #VALUE! instead.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-02-06T14:22:27+00:00

    Apologies, I corrected it and is there any way this could be corrected

    0 comments No comments
  3. HansV 462.4K Reputation points MVP Volunteer Moderator
    2022-02-06T15:31:28+00:00

    Cell AO9769 contains #VALUE! so SpellNumber results in an error too.

    If you want to suppress this error, change the formula to

    =IFERROR(SpellNumber(AO9769),"")

    2 people found this answer helpful.
    0 comments No comments