LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I set up a greater than but less than formula in excel?


To code:

If ActiveCell 49999 And ActiveCell < 100000 Then
MsgBox "Yes"
Else
MsgBox "No"
End If

For a formula:
=IF(AND(A149999,A1<100000),"Yes","No")


--
Ikaabod
------------------------------------------------------------------------
Ikaabod's Profile: http://www.excelforum.com/member.php...o&userid=33371
View this thread: http://www.excelforum.com/showthread...hreadid=545513

 
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
If formula: if A1 is greater than B1 and A1 is greater than zero.. Jason Excel Discussion (Misc queries) 2 April 5th 10 06:11 PM
Excel less than greater than formula Mandy Excel Discussion (Misc queries) 1 September 8th 08 04:21 PM
Greater than Less than formula Mike Excel Discussion (Misc queries) 2 May 20th 08 01:51 PM
Greater than Less than formula Help with Check Mark!! Excel Discussion (Misc queries) 3 August 22nd 06 07:05 PM
Formula in Excel to show greater than 50, but less than 250? Janice B. - Cleveland, Ohio Excel Worksheet Functions 3 July 10th 06 10:07 PM


All times are GMT +1. The time now is 03:08 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"