 • 408K Members
• 7,667 Online
• 465K Conversations
SOLVED

HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

I´m trying to restrict a cell in order to validate only IPv4 valid IP addresses, however my formula is so long, I have reached the limit of validation personalized formula size, could  i Increase that area?

9 Replies

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

Perhaps that could be done by another way, as practically everything in Excel. If you attach small sample file to illustrate what exactly you try to do, someone here could suggest proper solution.

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

@Sergei BaklanCould you explain how to upload a file here?

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

anyway, below the formula that I want to add to a validation cell  in B4

=SI(VALOR.NUMERO(EXTRAE(B4;1;HALLAR(".";B4;1)-1))<256;(SI(VALOR.NUMERO(EXTRAE(B4;(HALLAR(".";B4;1)+1);((HALLAR(".";B4;(HALLAR(".";B4;1)+1)))-(HALLAR(".";B4;1))-1)))<256;SI(VALOR.NUMERO(EXTRAE(B4;(HALLAR(".";B4;(HALLAR(".";B4;1)+1)))+1;((HALLAR(".";B4;H4+1))-(HALLAR(".";B4;(HALLAR(".";B4;1)+1)))-1)))<256;1;0);0));0)

a printscreen of the Sheet: Solution

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

Please check this blog https://rednectar.net/2019/07/15/validating-ip-address-entries-in-excel/, here is formula suggestion how to validate IP address and compromise 255 characters limit.

To translate formulas in English locale to Spanish one you may use https://en.excel-translator.de/translator/ (if formulas are within Excel file they are translated automatically).

To add file to the post click this icon at the bottom left of the Reply window Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

@Sergei Baklan  i really appreciatte it, I will try, I´m going to share result as soon as is over

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

I followed the procedure described in the link wich you attach with success result, indeed there is the same restriction with length of the validation formula however that formula is shorter than mine Thx a lot

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

To my knowledge it's not possible to change the limit on number of characters for validation formula.

However, I checked comments to this blog. If in latest suggested formula take not array constant but helper range as here when it looks like

=SUMPRODUCT(N(LOG(1+MID(SUBSTITUTE(B6,".",REPT(" ",10)),\$A\$1:\$A\$4,10),2)<=8))=4

works. It's only 79 characters.

Please check in attached file, I didn't test it carefully.

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

I checked and It works!!! however it´s missing the fact that you could add 4  point or more,

Re: HOW TO INCREASE THE MAXIMUM SIZE FORMULA IN VALIDATION OPTION

You may add this condition as well

=(SUMPRODUCT(N(LOG(1+MID(SUBSTITUTE(B6,".",REPT(" ",10)),\$A\$1:\$A\$4,10),2)<=8))=4)*(LEN(B6)-LEN(SUBSTITUTE(B6,".",""))=3)

Still less than 255

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
16 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
11 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies