Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data Validation for text only formula
I was given this formula and I am trying to enter it in a cell to only allow
the user to enter text howerver it does not fit. Any suggestions? =SUMPRODUCT(--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("97:122")),0))))+SUMPRODUCT (--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("65:90")),0))))=LEN(A1) |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data Validation for text only formula
Kimberly
The formula does not go into a cell.....it goes into the Custom Formula dialog box in DataValidationCustom Just CTRL + C the formula from your post then CTRL + V into that dialog box. NOTE: this formula is written to limit A1 only to text. Adjust the cell ref if placing in other cells. Gord Dibben MS Excel MVP On Thu, 9 Nov 2006 10:26:01 -0800, Kimberly wrote: I was given this formula and I am trying to enter it in a cell to only allow the user to enter text howerver it does not fit. Any suggestions? =SUMPRODUCT(--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("97:122")),0))))+SUMPRODUCT (--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("65:90")),0))))=LEN(A1) |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data Validation for text only formula
Here's a sample file with this implemented:
Data Validation.xls 14.0kb http://cjoint.com/?ljukUJHGNl Biff "Kimberly" wrote in message ... I was given this formula and I am trying to enter it in a cell to only allow the user to enter text howerver it does not fit. Any suggestions? =SUMPRODUCT(--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("97:122")),0))))+SUMPRODUCT (--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("65:90")),0))))=LEN(A1) |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data Validation for text only formula
Thank you both! Thanks Biff - I didn't know how else to respond to you.
"Biff" wrote: Here's a sample file with this implemented: Data Validation.xls 14.0kb http://cjoint.com/?ljukUJHGNl Biff "Kimberly" wrote in message ... I was given this formula and I am trying to enter it in a cell to only allow the user to enter text howerver it does not fit. Any suggestions? =SUMPRODUCT(--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("97:122")),0))))+SUMPRODUCT (--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("65:90")),0))))=LEN(A1) |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data Validation for text only formula
You're welcome. I hope we have this straightened out!
Biff "Kimberly" wrote in message ... Thank you both! Thanks Biff - I didn't know how else to respond to you. "Biff" wrote: Here's a sample file with this implemented: Data Validation.xls 14.0kb http://cjoint.com/?ljukUJHGNl Biff "Kimberly" wrote in message ... I was given this formula and I am trying to enter it in a cell to only allow the user to enter text howerver it does not fit. Any suggestions? =SUMPRODUCT(--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("97:122")),0))))+SUMPRODUCT (--(ISNUMBER(MATCH(CODE(MID(A1,ROW(INDIRECT("1:"&LEN( A1))),1)),ROW(INDIRECT("65:90")),0))))=LEN(A1) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Macro to Copy & Paste | Excel Worksheet Functions | |||
Data Validation with Formula | Excel Discussion (Misc queries) | |||
named range, data validation: list non-selected items, and new added items | Excel Discussion (Misc queries) | |||
HELP: Data > Validation ---List ----Formula | Excel Worksheet Functions | |||
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? | Excel Discussion (Misc queries) |