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

if errors

ResolvedVersion 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:

Quickly create a list of numbers

The fill handle in Excel has many uses. If a number is typed into a cell and then the fill handle is used, the number will be copied from one cell to the next.

If you wish to create a list of numbers that increment by one at a time, hold down Ctrl in conjunction with using the fill handle - this should give you a series of numbers (e.g. 1, 2, 3 etc) rather than copying a single number.

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.11 secs.