SpeakersAgendaMasterclassesVisitor Info
Partners
Event PartnersParticipating Companies
ContactGet Tickets
0

Your Cart

  • :
Remove
Subtotal:
Pay with browser.
Continue to Checkout
No items found.
Product is not available in this quantity.
August 22, 2023

How to include comments in Excel formulas

Excel's yellow sticky note-like comments (Notes) provide one way of annotating your worksheets, but do you ever wish you could write comments in formulas?

Unfortunately, there's no official way, but a workaround does exist involving N. This function converts a non-number value to a number, a date to a serial number, TRUE to 0, and anything else to 0.

N's syntax is as simple as its name β€” it has one argument called πšŸπšŠπš•πšžπšŽ, and here are a few examples of what it returns:

❖ =𝙽(𝟷𝟸𝟹𝟺𝟻) returns 12345
❖ =𝙽(πšƒπšπš„π™΄) returns 1
❖ =𝙽(π™΅π™°π™»πš‚π™΄) returns 0
❖ =𝙽(π™°πŸ·) returns 45160 if A1 contains the date 22/08/2023
❖ =𝙽("πšƒπš‘πš’πšœ πš’πšœ 𝚊 πšŒπš˜πš–πš–πšŽπš—πš") returns 0

N has existed for a very long time, and its original purpose was to provide compatibility with other spreadsheet programs. However, as Excel automatically converts values as necessary, it's not needed anymore for this reason.

It is ideal for inline formula comments, though. Given text strings return 0, there's no interference in calculations as nothing is added or subtracted.

In the video example, the formula =πš‚πš„π™Όπš‚πš€(π™³πŸΈ:π™³πŸΊ)+𝙽("πš†πš›πš˜πš—πš πšπšžπš—πšŒπšπš’πš˜πš— β€” πšπš˜πš—'𝚝 𝚞𝚜𝚎 πš‚πš„π™Όπš‚πš€. πš„πšœπšŽ πš‚πš„π™Ό!") demonstrates how N can be used. Just use + or - and then affix your N-based comment.

This is the best option we have for now. However, if you've used the Advanced Formula Environment add-in, you'll know that commenting is possible!

‍

For more Excel tips and tricks like this, check out our Video Tutorials page.

Join the Master Club

Your exclusive all-access pass to our entire digital learning experience for a whole year.

Get 365-Day Digital Pass
Pages
Home
20212022202320242025
About UsOnline CoursesBlogContact
LEGALS
Privacy PolicyTerms of Service
Subscribe to our newsletter!
The Global Excel Summit is a premium global conference bringing together thebrightest minds from the world of Excel.
Β© 2025 The Global Excel Summit is organised and managed by DATEL Productions Limited, a company incorporatedin England and Wales (no. 10106893) and registered at Suite 407, 95 Wilton Road, London SW1V 1BZ, UK.