if a2=a1

Jan Kalop

Active Member
Joined
Aug 3, 2012
Messages
367
what formula would look like to perform something like that

if b1=a1 then in c1 print nothing
 
Last edited:

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,696
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Asking the person who posted the question. Your answer will return "TRUE" if A1 <> B1
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
47,926
Office Version
  1. 365
Platform
  1. Windows
Your answer will return "TRUE" if A1 <> B1
or FALSE? (assuming all the adjustments are made to ZAX formula & its locatiomn to refer to the cells the OP mentioned :))
 

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,696
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Well that too!
 

Jan Kalop

Active Member
Joined
Aug 3, 2012
Messages
367
ohh thanks for that, but what if B1<>A1?

Didn"t think about it, but it is very important and in that case how the formula would look like ?
if b1=a1 then in c1 print nothing but if B1<>A1 then print in C1 value of B1
 

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,696
Office Version
  1. 365
Platform
  1. Windows
Try in C1:
Code:
=IF(B1=A1,"",B1)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,518
Messages
5,596,630
Members
414,082
Latest member
sasmita

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top