Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Another "If" Formula Error

Below is my formula. The formula turns up an error when it finds text instead
of numbers. I would like it to return 1 when it finds text instead of numbers.

=IF(OR((0+MID(D42,2,2))*1<2,(0+MID(D42,2,2)16)),1 ,"Assign Division")

Thanks in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Another "If" Formula Error

Forgot to say that the current formula is working. I just want to add that if
it does find text instead of numbers, it needs to equal 1. It still needs to
equal 1 if it finds numbers less than 2 or greater than 16.

"evoxfan" wrote:

Below is my formula. The formula turns up an error when it finds text instead
of numbers. I would like it to return 1 when it finds text instead of numbers.

=IF(OR((0+MID(D42,2,2))*1<2,(0+MID(D42,2,2)16)),1 ,"Assign Division")

Thanks in advance for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Another "If" Formula Error

Something like this:

=if(or(istext(mid(d42,2,2)),mid(d42,2,2)*1<2,mid(d 42,2,2)*116),1,"Assign
Division")

or this:
=if(and(mid(d42,2,2)*1=2,mid(d42,2,2)*1<=16),"Ass ign Division",1)

Regards,
Fred.

"evoxfan" wrote in message
...
Forgot to say that the current formula is working. I just want to add that
if
it does find text instead of numbers, it needs to equal 1. It still needs
to
equal 1 if it finds numbers less than 2 or greater than 16.

"evoxfan" wrote:

Below is my formula. The formula turns up an error when it finds text
instead
of numbers. I would like it to return 1 when it finds text instead of
numbers.

=IF(OR((0+MID(D42,2,2))*1<2,(0+MID(D42,2,2)16)),1 ,"Assign Division")

Thanks in advance 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
"Document not saved" "error in loading DLL" Tracey L Excel Discussion (Misc queries) 0 December 1st 08 12:57 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Shortcut key for "Paste Options" and "Error Checking" buttons? johndog Excel Discussion (Misc queries) 1 October 6th 06 11:56 AM
VBA setting formula for a cell causes "Wrong data type" error undercups Excel Discussion (Misc queries) 4 September 17th 06 10:14 PM
How do I replace "#N/A" error, to continue my formula w/o error? Ali Khan Excel Worksheet Functions 2 February 20th 06 03:49 PM


All times are GMT +1. The time now is 02:07 PM.

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

About Us

"It's about Microsoft Excel"