DATA VALIDATION question

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I have this under a custom data validation:
Code:
=IF(LEN(B5)+LEN(B16)+LEN(B8)+100>180,TRUE,FALSE)

why would this not be working?
I am trying to make sure that they don't enter over 180 characters in these 3 cells plus 100 characters reserved for the directory.

thank you,
Michael D
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I have this under a custom data validation:
Code:
=IF(LEN(B5)+LEN(B16)+LEN(B8)+100>180,TRUE,FALSE)

why would this not be working?
I am trying to make sure that they don't enter over 180 characters in these 3 cells plus 100 characters reserved for the directory.

thank you,
Michael D
The formula is returning TRUE if the total LEN is >180. You probably want it to be <=180.

=LEN(B5)+LEN(B16)+LEN(B8)+100<=180
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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