Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel courses - excel formattingformular

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

excel courses - Excel formatting/Formular

ResolvedVersion Standard

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.

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!

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Customize the toolbar in Excel 2010

You can create your own toolbar which contains your favourite or most used tools. This will make using Excel much more efficient. To do this, you need to click on View, then select Customize Quick access Toolbars and then select Customize. A list of tools will then appear on the screen of which you can add or remove them as you please.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.