Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default I need a formula for if cells a1 and a2 are the same then cell a3

How do I make cell A3 equal 4 if cells A1 and A2 are the same?
For example if cell A1 and A2 have a X in it, then cell A3 =4
or if cell A1 and A2 are blank then cell A3 =4
As long as the cells match, cell A3=4
If cells do not match then cell A3 =0



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default I need a formula for if cells a1 and a2 are the same then cell a3

=IF(A1=A2,4,0)
or
=(A1=A2)*4
--
David Biddulph

delete automatically wrote:
How do I make cell A3 equal 4 if cells A1 and A2 are the same?
For example if cell A1 and A2 have a X in it, then cell A3 =4
or if cell A1 and A2 are blank then cell A3 =4
As long as the cells match, cell A3=4
If cells do not match then cell A3 =0



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default I need a formula for if cells a1 and a2 are the same then cell a3

=if(A1=A2,4,0)

Hope this helps.

"delete automatically" wrote:

How do I make cell A3 equal 4 if cells A1 and A2 are the same?
For example if cell A1 and A2 have a X in it, then cell A3 =4
or if cell A1 and A2 are blank then cell A3 =4
As long as the cells match, cell A3=4
If cells do not match then cell A3 =0



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default I need a formula for if cells a1 and a2 are the same then cel

Yes, that worked. But what would i have to do to make cell A4 be 4 if cell
A1, A2 A3 are the same and have cell A4 be 0 if A1 A2 A3 do notr match in any
order?

"David Biddulph" wrote:

=IF(A1=A2,4,0)
or
=(A1=A2)*4
--
David Biddulph

delete automatically wrote:
How do I make cell A3 equal 4 if cells A1 and A2 are the same?
For example if cell A1 and A2 have a X in it, then cell A3 =4
or if cell A1 and A2 are blank then cell A3 =4
As long as the cells match, cell A3=4
If cells do not match then cell A3 =0



.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default I need a formula for if cells a1 and a2 are the same then cel

If you want to know how the Excel AND function works, look it up In Excel
help. [The same applies for every other Excel function except DATEDIF.]
--
David Biddulph

"deepokerman" wrote in message
...
Yes, that worked. But what would i have to do to make cell A4 be 4 if cell
A1, A2 A3 are the same and have cell A4 be 0 if A1 A2 A3 do notr match in
any
order?

"David Biddulph" wrote:

=IF(A1=A2,4,0)
or
=(A1=A2)*4
--
David Biddulph

delete automatically wrote:
How do I make cell A3 equal 4 if cells A1 and A2 are the same?
For example if cell A1 and A2 have a X in it, then cell A3 =4
or if cell A1 and A2 are blank then cell A3 =4
As long as the cells match, cell A3=4
If cells do not match then cell A3 =0



.



Reply
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
cell value based on another cells formula??? Lance1961 Excel Discussion (Misc queries) 7 September 15th 09 01:29 PM
How can i hide cells using formula if the cell has no value? Sara Excel Discussion (Misc queries) 4 May 22nd 08 08:52 PM
comparing 2 cells where 1 is a cell with a formula colmkav Excel Discussion (Misc queries) 2 July 26th 07 04:37 PM
formula for multiply one cell to one of two other cells? M.Rafat Excel Discussion (Misc queries) 6 April 13th 07 08:02 AM
to copy a formula in cell c1 (+b1/b11) to cells c2-10, how can i . bvi Excel Worksheet Functions 3 December 23rd 04 07:14 PM


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

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"