Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Combine IF function with manual entry

Is there a way for the formula below to evalutate the IF statements, and if
they are all false, to force a manual entry? So if < to "57110" and < to
"80" then I would like Excel to open a box (or something) for me to enter the
5 digit number. I have this formula in each row of column H to evaluate the
entry made into Column G.

=IF(MID(G316,13,5) =
"57110",MID(G316,13,5),IF(MID(G316,7,2)="80",MID(G 316,7,5),""))


Thank you for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Combine IF function with manual entry

Yes!

In fact there is a built-in feature called Data Validation that does exactly
what you want.

Click on G316 and:

Data Validation... . Settings Custom Formula

=OR(MID(G316,13,5) ="57110",MID(G316,7,2)="80")


--
Gary''s Student - gsnu200850


"Vince" wrote:

Is there a way for the formula below to evalutate the IF statements, and if
they are all false, to force a manual entry? So if < to "57110" and < to
"80" then I would like Excel to open a box (or something) for me to enter the
5 digit number. I have this formula in each row of column H to evaluate the
entry made into Column G.

=IF(MID(G316,13,5) =
"57110",MID(G316,13,5),IF(MID(G316,7,2)="80",MID(G 316,7,5),""))


Thank you for your help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Combine IF function with manual entry

Gary,
Tried the solution, but get an error message saying:

"The value you entered is not valid."
"A user has restricted values that can be entered into this cell"

Also, I need the number evaluated by the if statement or the manually
entered number to be into cell H316

Thanks,


"Gary''s Student" wrote:

Yes!

In fact there is a built-in feature called Data Validation that does exactly
what you want.

Click on G316 and:

Data Validation... . Settings Custom Formula

=OR(MID(G316,13,5) ="57110",MID(G316,7,2)="80")


--
Gary''s Student - gsnu200850


"Vince" wrote:

Is there a way for the formula below to evalutate the IF statements, and if
they are all false, to force a manual entry? So if < to "57110" and < to
"80" then I would like Excel to open a box (or something) for me to enter the
5 digit number. I have this formula in each row of column H to evaluate the
entry made into Column G.

=IF(MID(G316,13,5) =
"57110",MID(G316,13,5),IF(MID(G316,7,2)="80",MID(G 316,7,5),""))


Thank you for your help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prohibit manual entry via Drop Down Sean Excel Worksheet Functions 2 July 9th 07 11:46 AM
Auto Date with Manual Entry Protection JBallance Excel Worksheet Functions 1 September 23rd 06 02:47 AM
Data entry too slow even with calc set to manual [email protected] Excel Discussion (Misc queries) 1 September 22nd 06 11:00 AM
Preventing manual entry in dropdown list ... possible? Maurice Excel Discussion (Misc queries) 4 March 21st 06 06:56 PM
Manual or Formula entry in cell. Naz Excel Discussion (Misc queries) 0 May 24th 05 10:44 PM


All times are GMT +1. The time now is 10:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"