dates not equal

Trevor3007

Well-known Member
Joined
Jan 26, 2017
Messages
667
Office Version
  1. 365
Platform
  1. Windows
hi,

Does anyone have the magic formula for this critera/issue:-

if the date in a2 does not match the date in a2, then a2

many thanks in advance...

KR
Trevor3007
 
Last edited:

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Aladin is saying that it will always match A2 as you are testing the cell against itself, perhaps you made a typo in the question?
 
Last edited:
Upvote 0
Aladin is saying that it will always match A2 as you are testing the cell against itself, perhaps you made a typo in the question?

hi Mark,

thank you for your email.

DOH....Yes perhaps I may have.....ok here goes.

if the date in A2 matches the date in E2 then use date in B2...

APLOGEES to all for my typo and DERness…

I manged to sort anyhoo….so a learning was earned

KR
Trevor3007
 
Upvote 0
So =IF(A2=E2, D2, "something else")

You didn't specify what you want the cell to have if A2 isn't the same as E2
 
Upvote 0
So =IF(A2=E2, D2, "something else")

You didn't specify what you want the cell to have if A2 isn't the same as E2

evening,

thanks for your email.

I managed to sort myself....thanks anyhoo.
 
Upvote 0

Forum statistics

Threads
1,215,981
Messages
6,128,089
Members
449,418
Latest member
arm56

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
Back
Top