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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,344
Office Version
  1. 365
Platform
  1. Windows
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

kvsrinivasamurthy

Well-known Member
Joined
Nov 6, 2013
Messages
1,028
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,187,061
Messages
5,961,359
Members
438,539
Latest member
muimonk

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
Top