ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   basic formula (https://www.excelbanter.com/excel-worksheet-functions/119637-basic-formula.html)

cjrolls

basic formula
 
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

basic formula
 
Hi cjrolls.

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

Cheers

--
macropod
[MVP - Microsoft Word]


"cjrolls" wrote in message
...
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




Jaleel

basic formula
 
See if this works:

=IF(A1B1,1,0)

Jaleel



"cjrolls" wrote:

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


Bob Phillips

basic formula
 
=--A1B1

--

HTH

Bob Phillips

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

"cjrolls" wrote in message
...
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




David Biddulph

basic formula
 
I think you'll need parentheses, Bob:
=--(A1B1)
--
David Biddulph

"Bob Phillips" wrote in message
...
=--A1B1

--

HTH

Bob Phillips

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

"cjrolls" wrote in message
...
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







All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com