Help with counting cells that only contain a number

dkflameboy

New Member
Joined
Nov 28, 2016
Messages
22
Office Version
  1. 365
Hi,

I have a further issue with a range of cells that I need to solve. Currently I have cells B13-Q13 set up with multiple data validation to only accept a whole number between 0-100 and also the letter N. I now also need to ensure that once 10 of these cells have had a number entered in to them that they won't accept an 11th (and so on) entered in to them too.

Is this possible? I hope you can help.

Many thanks
 

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

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,886
Office Version
  1. 365
Platform
  1. Windows
Maybe:

=AND(COUNT($B$13:$Q$13)<11,OR(B13="n",AND(ISNUMBER(B13),B13>=0,B13<=100)))
 
Upvote 0

Forum statistics

Threads
1,195,680
Messages
6,011,122
Members
441,586
Latest member
rodsin76

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