Data validation.

winds

Board Regular
Joined
Mar 9, 2022
Messages
69
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hello. So today I want a pop-up error that comes out if say column K does not equal column D. Also, column E, G, I and J will have values inputted (except 0) so that column K is the total of column E, G, I and J, AND column K must equal to column D. If however, column K does not equal to column D, then a pop-up error must come out requiring to check the values in column E, G, I and J. I think data validation is in order but I can't seem to find a way to do it. Any ideas?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
It's not really a job for data validation. There are several alternatives. Here's one:

ABCDEFGHIJK
1ErrorCount1
2
3263571126
4721317192372
57213179123Error
610123410
7
Sheet1
Cell Formulas
RangeFormula
K1K1=COUNTIF(K3:K6,"Error")
K3:K6K3=IF(SUM(E3,G3,I3:J3)=D3,D3,"Error")
 
Upvote 0
Solution
Ok I got the idea, thank you very much!
 
Upvote 0

Forum statistics

Threads
1,215,767
Messages
6,126,772
Members
449,336
Latest member
p17tootie

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