IFERROR / #DIV/0! causing issues to another formula

MJLG85

New Member
Joined
Jan 24, 2018
Messages
40
So I have this (the below) excel formula that does work,

=IF('Q1 - Individual Performance'!N9<=60%, "0", IF('Q1 - Individual Performance'!N9<=80.99%, "1", IF('Q1 - Individual Performance'!N9>=81%, "2")))

However the sheet it is reading from has lots of #DIV/0! on there. So I have added in an IFERROR into the summary table to give it a blank response [=IFERROR((AVERAGE(K5:M5)),"")] just to tidy up that particular table.

However now the top formula always returns a 2 when reading from the table that now has a blank/0 total.

Is there something i need to do to the top formula to it should just return a 0.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try this

=IFERROR((AVERAGE(K5:M5)),0)

=IF('Q1 - Individual Performance'!N9<=60%, 0, IF('Q1 - Individual Performance'!N9<=80.99%,1, 2))

You can also use this alternative:

=LOOKUP('Q1 - Individual Performance'!N9,{0,0.6,0.8099},{0,1,2})
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top