Copy and Paste Data Validation

tobysdhc

Board Regular
Joined
Aug 11, 2015
Messages
56
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello,

I have a data validation set up from a range of cells by formula SUM($B$2:$G$2)<=1. In other words, I want an error message to show up if the total for cell B2:G2 is greater than 1.

Is there an easy way to apply this to B3:G3 all the way down to B166:G166 without having to do it one at a time?

Thanks in advance,
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
change it to SUM($B2:$G2)<=1

and copy paste data validation to other cells
 
Upvote 0
change it to SUM($B2:$G2)<=1

and copy paste data validation to other cells

Thank you for your response. Unfortunatlly, it does not seem to be working. See the screen shots below. It is not allowing me to enter any value into B2:G2
1603899824705.png


1603899848154.png
 
Upvote 0
You need the = sign at the beginning.
 
Upvote 0
Col H will show False if >1

Book1
ABCDEFGHI
1
20.1130610.1061340.2233780.0414980.0817480.044278FALSE
30.4216480.1760010.2649530.0014580.1482450.091921TRUE
40.0875130.0396670.4434570.1076910.1660690.014329FALSE
50.4399370.3028790.0875130.0781730.0337180.287076TRUE
60.0468060.2154340.0277210.1187760.3267590.028908FALSE
70.0061140.1069730.0067130.0195920.1935540.348046FALSE
80.1861980.1855830.324930.0251320.2974170.172962TRUE
90.1447330.0540940.4764070.0404350.037190.06623FALSE
100.2111140.238240.3208250.025980.044070.151016FALSE
110.3732140.0113080.1613270.2612910.0991890.052424FALSE
120.1508230.2786610.195870.1728490.2607580.069321TRUE
130.022080.2337670.0850140.1646220.0064830.027189FALSE
140.3228020.0371170.2406490.3183150.2164740.020143TRUE
150.0641270.276880.1532250.1799940.1811510.07001FALSE
160.0364390.2268820.0918980.2635560.0775890.234581FALSE
17
Sheet2
Cell Formulas
RangeFormula
H2:H16H2=SUM(B2:G2)>1
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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