Goto

jtodd

Board Regular
Joined
Aug 4, 2014
Messages
194
HI ,
I have a sheet that imports data from a database , problem is that occasionaly the data has a currupt line in it wich then throws up an error on the sheet which in turn currupts the calculations on the sheet.
what i would like is a way of allerting the user that there is an error on the sheet ,
I have conditional formatting to do this at the moment but this needs the user to remember to look for errors ( may not be visable)
Is there a way for a warning to appear when the user opens and refreshes the sheet if there are anyt errors
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
what is the conditional formatting rule applied which highlights errors?

are you currently using VBA to import the data?
 
Upvote 0
Conditional formadtting rule =iserror(A!)
use microsoft query to import the data from and access database
 
Upvote 0
I think you mean
=ISERROR(A1)

Rather than a message (which requires VBA) you could add another rule that turns the whole of column A red and also shows the actual errors

Result err.jpg



Assuming that the error is always in column A...
Select column A and add another rule with this formula
=ISERROR(SUM(A:A)) and colour fill with a different colour to the one used for the other rule

Make the rules apply in the correct order (see picture)
CF rule err.jpg
 
Upvote 0

Forum statistics

Threads
1,214,630
Messages
6,120,634
Members
448,973
Latest member
ChristineC

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