Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

Hi there, I'm trying to see if cells match in two separate columns (but the same row). I found a formula but it didn't work - the information I'm trying to match is both a date and a time within the same cell. I wasn't sure if that was what was causing the issue.
Solved by C. A. in 20 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 04/06/2018 - 06:20
Hi…Welcome to Got It Pro
User 04/06/2018 - 06:21
thanks
Excelchat Expert 04/06/2018 - 06:21
Could you please share a sample of your data?
User 04/06/2018 - 06:21
I don't have it with me at the moment, I'm on a different computer
Excelchat Expert 04/06/2018 - 06:22
I can do the formula if you an recreate a similar data set in this blank sheet
User 04/06/2018 - 06:22
ok
User 04/06/2018 - 06:23
it says still loading
Excelchat Expert 04/06/2018 - 06:23
Do you mean the blank google sheet ?
User 04/06/2018 - 06:23
yes
Excelchat Expert 04/06/2018 - 06:24
That usually happens if you are on a slow internet connectivity
Excelchat Expert 04/06/2018 - 06:25
Are you not able to see the google sheet at all now?
User 04/06/2018 - 06:25
I can see it, but I can't edit it
Excelchat Expert 04/06/2018 - 06:26
ok so you can tell me how exactly is your data and I will place it here
User 04/06/2018 - 06:27
in column b and d, there are dates and times so for example 24/01/2017 09.15
User 04/06/2018 - 06:27
I want to be able to match them, so if it's the same date and time in column b and d (in the same row)
User 04/06/2018 - 06:29
I tried this
User 04/06/2018 - 06:29
v
User 04/06/2018 - 06:29
=IF(A2=B2,"Match","")
User 04/06/2018 - 06:29
but it said none of them matched, when some of them did
User 04/06/2018 - 06:29
This is a spreadsheet with more than 12000 rows
Excelchat Expert 04/06/2018 - 06:31
So as you can see, I have placed Date in column B and time in column D. And the date and time to match in cell F2.
Excelchat Expert 04/06/2018 - 06:31
Is this layout similar to what you have?
Excelchat Expert 04/06/2018 - 06:34
Are you with me?
Excelchat Expert 04/06/2018 - 06:36
Column B & C has date & time respectively.
Excelchat Expert 04/06/2018 - 06:36
I have combined both in column D just by using the sum formula.
Excelchat Expert 04/06/2018 - 06:37
You can drag this formula down to as many rows you want
Excelchat Expert 04/06/2018 - 06:38
And then the actually matching formula is in column G (cell G2 for this example) where it is checking the entire column D to see if the date and time in F2 is matching. This formula also can be dragged down if you are checking multiple date and time.

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.

Click here to get your free Excelchat help session

Subscribe to Excelchat.co
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc