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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
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,215,529
Messages
6,125,344
Members
449,219
Latest member
Smiqer

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