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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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