![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 29
|
is that a symbol that you can place into a formula that means not equal to?
=IF(A11=0,"YEY") so instead of this meaning if A11 is equal to 0, it means if A11 is not equal to. Thanks -Curator |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
use <> in your IF function as appropriate.
[ This Message was edited by: Yogi Anand on 2002-05-14 17:18 ] |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Or, would this work?
=IF(A11=0,"Nay","YEY") Which means: if A11 is equal to 0 then "Nay" is returned. if A11 is not equal to 0 then "YEY" is returned. (just remove 'Nay' if you don't want anything returned when the condition is TRUE) |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Hi Mark:
My take is that Curator wanted to know if there is an operator for 'not equal to'. So my response was mainly geared for giving him '<>' Regards! |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
I know, but variety is the spice of life.
|
|
|
|
|
|
#6 | |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Quote:
=IF(A11<>0,"YEY","NAY!") |
|
|
|
|
|
|
#7 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Or as Aladin A. would put it:
=IF(A11,"YEY","NAY!") _________________ Cheers, NateO ![]() [ This Message was edited by: nateo on 2002-05-14 20:14 ] |
|
|
|
|
|
#8 | ||
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Quote:
=IF(NOT(A11=0),"YEY","NAY!") or =IF(NOT(NOT(A11<>0)),"YEY","NAY!") OK, I'm out of this one. Curator has the goods and I don't want to distract from the relevance of the topic. Bye, Jay |
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|