Como restringir tipo de celdas

JOJAFO1234

New Member
Joined
Apr 24, 2014
Messages
2
Buenas deseo crear celdas que solo me permitan ingresar ciertos tipos de datos por ejemplo:
Fecha ===> aaaa-mm-dd
una j con tres numeros cualquiera fijos ni mas ni menos ===> j###
20 digitos ==> ################20.
Le agradezco de antemano a quien me pueda ayudar
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Para fecha, define propiedades de celda por clic derecho y eligir...

Format Cells... > Number (hoja) > Custom

cambio "Type" a "yyyy-mm-dd"

Para otro dos problema que tiene, cambio propiedades de celda a "Text" en (Format Cells... > Number (hoja))

Para mas informcion, lee red Formato de celdas en Excel 2013 - Excel Total
 
Upvote 0
En cuanto a como restringir como pide en su segundo ejemplo – “J” y 3 dígitos, se puede hacerlo así:

DataValidationBeginsJ.jpg

La fórmula que se usa es:
=AND(LEFT(A1,1) = "J",LEN(A1)=4,NOT(ISERROR(RIGHT(A1,3)+0)))

Para eso de texto de largo de 20, se hace así:

DataValidationLen20.jpg
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,694
Members
449,092
Latest member
snoom82

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