Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

basic formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cjrolls - 21 Nov 2006 12:17 GMT
Hi
This is possibly very simple but for some reason I just dont get it. I have
3 columns
A    B     C
2    3      formula

A & B have numbers and in C I need a formula to say '1' if A is greater than
B and 0 if B is greater than A

Many thanks
macropod - 21 Nov 2006 12:34 GMT
Hi cjrolls.

Try:
=(A1>B1)^1
where A1 & B1 are your cell references.

Cheers

Signature

macropod
[MVP - Microsoft Word]

> Hi
> This is possibly very simple but for some reason I just dont get it. I have
[quoted text clipped - 6 lines]
>
> Many thanks
Jaleel - 21 Nov 2006 12:35 GMT
See if this works:

=IF(A1>B1,1,0)

Jaleel

> Hi
> This is possibly very simple but for some reason I just dont get it. I have
[quoted text clipped - 6 lines]
>
> Many thanks
Bob Phillips - 21 Nov 2006 13:21 GMT
=--A1>B1

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

> Hi
> This is possibly very simple but for some reason I just dont get it. I have
[quoted text clipped - 6 lines]
>
> Many thanks
David Biddulph - 21 Nov 2006 19:41 GMT
I think you'll need parentheses, Bob:
=--(A1>B1)
Signature

David Biddulph

> =--A1>B1
>
[quoted text clipped - 18 lines]
>>
>> Many thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.