A complicated Data Validation question

Wunderbarre

New Member
Joined
Jan 4, 2019
Messages
2
Hi gurus,

I am trying to come up with the data validation as shown in the file attached.

the rules are as follows.

9
[TABLE="width: 1296"]
<colgroup><col span="12"><col></colgroup><tbody>[TR]
[TD]http://tinypic.com/r/312xn2a/9

I am new to this forum so pardon me if there are any violations of the forum rules.[/TD]
[TD="colspan: 6"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi Wunderbarre,
a picture helps a lot, but if you describe your problem here it might be of more use to other people, as the picture might be removed at some point.
For row 6 this is your validation formula (for all cells including the total):
=SUM($B6:$G6)<=$H6
If you either lower the total or insert a value which causes the sum to be higher than the total it will show the validation error.
Cheers,
Koen
 
Upvote 0
Formula is

=SUM($A13:$F13)<=$G13

Select A13:F16.
Data --> Data Valdation
Allow--> custom, Formula-->Enter formula
For input message
Sum of the range form A:F should not exceed Column G value.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
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