excel training courses - comments added within formula
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel training courses - Comments added within a formula

excel training courses - Comments added within a formula

The UK's most regular instructor-led training courses.
Training information: excel training courses · Excel course · Microsoft Excel Training
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Low Priority · Version Standard

Comments added within a formula

Louise has attended:
Excel Advanced course

by - delegate Louise [9 posts] (2007 Jul 4 Wed, 15:09) replyReply

I recall on the advanced course that there was a formula or 'prefix' that you could put in front of some text within a formula (ie not in a comment box) but I didn't note it down.

I'd like to use it for adding an explanation of what and how a formula reads and manipulates the data so that it is easier for colleagues to follow the process.

I don't want to use the comments box as this is more engine room stuff, like an internal instruction manual.

thanks.

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Sep 8 Mon + 9 Tue Bayswater 2 book now £495 £495
2003 2008 Sep 18 Thu + 19 Fri Bloomsbury 2 book now £495 £495
2003 2008 Sep 25 Thu + 26 Fri Southwark 5 book now £450 £485
2003 2008 Oct 6 Mon + 7 Tue Bayswater 5 book now £450 £485
2007 2008 Oct 13 Mon + 14 Tue Bayswater 6 book now £450 £485
2003 2008 Oct 23 Thu + 24 Fri Southwark 5 book now £450 £485
Full Schedule: See all 44 Excel VBA course dates.
Bookings currently available until 26th November 2009.

RE: comments added within a formula

by - trainer Rich platinum contributer[711 posts] (2007 Jul 5 Thu, 13:58) replyReply

Hi Louise,

You can add a single quote (') before the formula. This will turn your formula into a text string, and won't show the answer to the calculate.

Sorry if this sounds a little basic, but it sounds like it would achieve the result you're after.

eg. a cell with =6+4 will show as 10
a cell with '=6+4 will show as =6+4

This allows you to type a formula without actually calculating the result.

If this is not what you had in mind, please reply with a specific example of the result you require, to assist us in understanding your question.

If this answer does solve your problem, please mark this question as resolved. Thanks.

Regards, Rich

RE: comments added within a formula

by - delegate Louise [9 posts] (2007 Jul 5 Thu, 14:55) replyReply

Sorry, but that isn't what I meant.

There was a formula that you could tag onto the end of any other formula that was like adding a comment at the end of the formula.

It didn't affect the formula in any way but it meant that you could embed the cell with an explanation as to what that cell was doing, which can be very very useful if you have long, nested IFs and ANDs and lookups etc.

And it avoids overusing the comments boxes for every cell.

Or did I imagine it? I think it had an N in it somewhere to indicate text was following, like you would use a $ or an &.

RE: comments added within a formula

by - delegate Louise [9 posts] (2007 Jul 5 Thu, 15:01) replyReply

Found it!

=A1-B1+N("find the difference")+SUM(C:C)+N("then add
remaining expenses")

which is same as

=A1-B1+SUM(C:C)

thanks for your help

Louise

RE: comments added within a formula

by - trainer Rich platinum contributer[711 posts] (2007 Jul 5 Thu, 16:27) replyReply

Louise,

Glad you found it. Just be careful with that N() function though, as it's actual purpose is to returns a value converted to a number.

Using the function list this: N(value) produces these results:

If value is or refers to a number; N returns that number
If value is or refers to a date, in one of the built-in date formats available in Microsoft Excel; N returns The serial number of that date

If value is or refers to TRUE; N returns 1
If value is or refers to FALSE; N returns 0

If value is or refers to an error value, such as #DIV/0!; N returns the error value

If value is or refers to anything else; N returns 0

This last result is what would normally happen if you had a text string in your example. So just be aware you are actually adding on 0 in your formula.

I'll mark this question as resolved.

Regards, Rich


Related articles

· A Beginners Guide To Formulas In Excel
· 5 Microsoft Excel Charts for Creating Stunning Business Documents
· MS Excel: Excel At Making The Most Of Your Christmas
· Microsoft Excel Cheat Sheet: Tips and Shortcuts
· Microsoft Excel Features and Functions for Accountants

Excel tip:

Converting an American date format to European using Formula

Excel depending on your local setting will only pick up date values of the dd mmm yyyy oders as date type. If you import data from various sources including America their date order is different with data value in mmm dd yyyy, excel can only treat it as text indicated by left aligning it. To overcome this you have to do the the following.

1. Extract the date components mmm dd yyyy, by using the the Text functions LEFT, MID or RIGHT

2. Reorder dd mmm component and concatenate using "&" in the right order this will create a text string with the date in the right order it then needss to be converted to a value so excel can recognise it.

3. To convert to value encase in TEXT function.

4. Format to desired date format.

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz