How to Add a Comment to a Formula

October 15th, 2008 | Categories: Data, Formulas, General | Tags: ,

A simple way to add a comment to a formula for later reference is to add the following to the formula N+(“YOUR COMMENT”). By way of an example, =SUM(A2:A4)+N(“This is”).


  1. dave
    October 15th, 2008 at 03:07
    Reply | Quote | #1

    And if you’re returning text:

    =”some text”&text(“comment here”,”;;;”)

  2. Hui…
    October 15th, 2008 at 05:49
    Reply | Quote | #2

    This only works provided you put text in the N() function
    If the N() Function evaluates to a numeral as in =10*10+N(10*10)
    it returns 200 as it should,
    as the N function returns a number
    =10*10+N(“10*10″) returns 100
    Better and safer to use Cell Comments

  3. October 15th, 2008 at 06:45
    Reply | Quote | #3

    Great !!

    I was looking for something like that since long time.

    Thanks

  4. August 4th, 2009 at 11:37
    Reply | Quote | #4

    N function is a great way to add general notes to formulas. I mean by general not a description on each argument.

    On the other hand, an Excel Named Range is an intrinsic way to add descriptions to formulas and is done on each argument. Read: http://www.excel-spreadsheet-authors.com/excel-names-reasons.html

  5. April 4th, 2010 at 04:58
    Reply | Quote | #5

    it doesn’t work.

  6. Varun
    May 27th, 2011 at 07:28
    Reply | Quote | #6

    This works Kerol… i have tried this on 2003 and also on 2007…