Jyggalag
Active Member
- Joined
- Mar 8, 2021
- Messages
- 445
- Office Version
- 365
- 2019
- Platform
- Windows
Hi all!
I am currently comparing values in two sheets to each other to see if they are similar or dissimilar.
I have this setup at the moment:
My formula is: =IF(COUNTIFS('[CONFIDENTIAL - NUMBER.xlsx]Sheet1'!$T$2:$T$1712;E2;'[CONFIDENTIAL - NUMBER.xlsx]Sheet1'!$R$2:$R$1712;A2)=1;"yes";"no")
I refer to this sheet to see if the value is also located there:
As you can see, the date is also there, and so is the amount.
Please note that I realize that the date is written differently, HOWEVER when I click on the cell, it is written like this in the formula bar:
I have also done individual checks by going IF(A2=R2;"YES";"NO") and IF(E2=T2;"YES";"NO") and they both return "YES". So the values are indeed identical in the two sheets, but for some reason my IF(COUNTIFS) formula is not working.
I have tried to rewrite my formula 10 times and have used it successfully in the past, so I truly do not understand what is going on and why it is returning "No" for me?
Can somebody please help? I believe that @RoryA helped me get this formula originally, so would truly appreciate his assistance as well
Thank you all!
Kind regards,
Jyggalag
I am currently comparing values in two sheets to each other to see if they are similar or dissimilar.
I have this setup at the moment:
My formula is: =IF(COUNTIFS('[CONFIDENTIAL - NUMBER.xlsx]Sheet1'!$T$2:$T$1712;E2;'[CONFIDENTIAL - NUMBER.xlsx]Sheet1'!$R$2:$R$1712;A2)=1;"yes";"no")
I refer to this sheet to see if the value is also located there:
As you can see, the date is also there, and so is the amount.
Please note that I realize that the date is written differently, HOWEVER when I click on the cell, it is written like this in the formula bar:
I have also done individual checks by going IF(A2=R2;"YES";"NO") and IF(E2=T2;"YES";"NO") and they both return "YES". So the values are indeed identical in the two sheets, but for some reason my IF(COUNTIFS) formula is not working.
I have tried to rewrite my formula 10 times and have used it successfully in the past, so I truly do not understand what is going on and why it is returning "No" for me?
Can somebody please help? I believe that @RoryA helped me get this formula originally, so would truly appreciate his assistance as well
Thank you all!
Kind regards,
Jyggalag