if errors

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » IF Errors

IF Errors

resolvedResolved · Low Priority · Version 2007

IF Errors

Hi

I attended the Advanced Excel course yesterday. Just a quick question as i can't seem to get this right, but how do i removed "div/0" errors and replace them with a blank space?

Many thanks

RE: IF Errors

Hi Michael

Thanks for getting in touch. Assuming you are using Excel 2007 or later, I recommend the IFERROR function.

When one of your formulas is generating an error, wrap it in an IFERROR function to remove this issue. For example, if an AVERAGE function is causing problems and you want it to have a 0 (zero) in place of an error, you replace it with the following:

=IFERROR(AVERAGE(C5:C9),0)

Substitute the AVERAGE function with the problematic function, and the zero with the desired replacement message.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector


 

Excel tip:

Saving your Excel Spreadsheet as a CSV File

In situations where you need to save your Excel spreadsheet as a CSV file, follow these simple steps.

Click the File tab and click Save As.
Enter a name in the File name field.
Click the drop-down arrow next to the Save as type field to select the file type. Scroll down the list and select CSV (comma delimited) (*.CSV)
Click Save

The data will now be saved to a separate CSV file which can be used in different applications.

View all Excel hints and tips


Server loaded in 0.09 secs.