Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need Formula
Hi. Using Excel 2007. I want to be able to force certain information into a
cell. Example: Column B must contain either the text: SAI or Passport. If Column B says SAI, then column C must only (force it) allow for a 13-digit ID number (numeric). If for instance you enter only 12 digits instead of 13 digits into column C - it must not allow this and give you an error. However, IF Column B says "Passport", then Column C must default to an alphanumeric with no length limitation (some passport no's are 9 digits, others are 6 digits etc). I'm not sure if Excel can handle this within its normal functions? Can you please help? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need Formula
Use Data Validation and select custom option. Then put a formula into the formula box. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=169479 Microsoft Office Help |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need Formula
Use Data Validation and select custom option. Then put a formula into the formula box. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=169479 Microsoft Office Help |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need Formula
Use Data Validation and select custom option. Then put a formula into the formula box. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=169479 Microsoft Office Help |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need Formula
Use Data Validation and select custom option. Then put a formula into the formula box. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=169479 Microsoft Office Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula | Excel Worksheet Functions | |||
extract formula result form cell without running formula again | Excel Programming | |||
extract formula result form cell without running formula again | Excel Programming | |||
Formula expected end of statement error, typing formula into cell as part of VBA macro | Excel Programming | |||
Commenting custom formula fields/formula on formula editor | Excel Programming |