ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   matching cell formula (https://www.excelbanter.com/excel-discussion-misc-queries/246251-matching-cell-formula.html)

deepokerman

matching cell formula
 
I am looking for a formula that if the cell A1 and A2 match then cell A3 will
be 4
if they do not match then 0

example: A1 has YES and A2 has YES then cell A3 will be 4
IF both cells are blank the A3 would say 4
A1 has YES and A2 has NO then cell A3 will be 0
A1 has NO and A2 has YES then cell A3 will be 0

Is this possible?
Thanks

Mattlynn via OfficeKB.com

matching cell formula
 
In cell a3 type =if(a1=a2,4,0)



deepokerman wrote:
I am looking for a formula that if the cell A1 and A2 match then cell A3 will
be 4
if they do not match then 0

example: A1 has YES and A2 has YES then cell A3 will be 4
IF both cells are blank the A3 would say 4
A1 has YES and A2 has NO then cell A3 will be 0
A1 has NO and A2 has YES then cell A3 will be 0

Is this possible?
Thanks


--
Matt Lynn

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200910/1


David Biddulph[_2_]

matching cell formula
 
What an amazing coincidence! Someone asked the same question yesterday, and
it was answered here.
http://groups.google.co.uk/group/mic...c4a45be1246af#
--
David Biddulph

"deepokerman" wrote in message
...
I am looking for a formula that if the cell A1 and A2 match then cell A3
will
be 4
if they do not match then 0

example: A1 has YES and A2 has YES then cell A3 will be 4
IF both cells are blank the A3 would say 4
A1 has YES and A2 has NO then cell A3 will be 0
A1 has NO and A2 has YES then cell A3 will be 0

Is this possible?
Thanks





All times are GMT +1. The time now is 03:10 AM.

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