excel courses - excel formattingformular
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel courses - Excel formatting/Formular

excel courses - Excel formatting/Formular

resolvedResolved · Low Priority · Version Standard

replyReply Mon 9 Jul 2007, 15:58Delegate Peter said...

Peter has attended:
Access Introduction course

Excel formatting/Formular

When creating a formular dividing a number into 0 result is often Div0, how can this be formatted to produce a 0.

For upcoming training course dates see: Pricing & availability

replyReply Tue 10 Jul 2007, 12:40Trainer Anthony said...

RE: Excel formatting/Formular

Hi Peter. You need to use the IF function to achieve this. Lets say cell A1 contains "2" and A2 contains "0". Put the following formula into A3:

=IF(A2=0,"0",A1/A2)

The IF function looks at A2. If it contains a "0" value it puts a "0" into cell A3. If it doesn't contain a "0", it puts the result of A1/A2 into A3. Voila!

 

Excel tip:

DATEDIF function

The DATEDIF function is a worksheet function that computes the difference between two dates. This function is documented only in the help files for Excel 2000. It isn't documented in Excel 2002.
the formula function is:
=DATEDIF(Your age,Today(),"Y")
Y stands for year

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard