![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 2
|
I'm trying to use the custom data validation criteria "Allow": "Custom" where I can enter a formula. However, I can't enter a formula beyond a specific number of characters. Any suggestions on how to work around this problem.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 2
|
It's pretty ugly
IF(AND(E12<>"",F12="",J12="",NOW()>=$I$7, DATEDIF(E12,DATEVALUE("2002/2/28"),"m")+1<6), IF(AND(K12<>"", K12>=$I$7, K12<$R$7, K12<=NOW()), DATEDIF(E12,K12,"m")+1<=6), IF(AND(E12="",J12<>"",K12=""),1, IF(AND(E12="",J12<>"",K12<>"",K12>=J12,DATEDIF(J12,K12,"m")+1<=6),1,0))) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|