Merging two similar data validation formulas in to one

dkflameboy

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

I have a further issue with a data validation formula that I need help on. I got the following data validation formula from one of you wonderful people the other day and I need to keep this formula:

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

But I also need to incorporate whatever the additional functionality is of this following formula:

=OR(B13="NA",AND(B13>=0,B13<=100,MOD(N(B13),1)=0))

Sorry, but my understanding the differences between the two is shockingly poor, can anybody please help?

Many thanks.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You already have most of it, so it seems you just need to add the part in red:
Code:
=AND(COUNT($B$13:$Q$13)<11,OR(B13="na",AND(ISNUMBER(B13),B13>=0,B13<=100[B][COLOR=#ff0000],MOD(N(B13),1)=0[/COLOR][/B])))
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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