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
http://tinypic.com/r/312xn2a/9

I am new to this forum so pardon me if there are any violations of the forum rules.

<colgroup><col span="12"><col></colgroup><tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,213,482
Messages
6,113,916
Members
448,533
Latest member
thietbibeboiwasaco

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