IF formula returning FALSE - Help

redrand

New Member
Joined
Oct 25, 2010
Messages
14
I have the following formula,
=IF(Log!A:A=Sheet2!A3,IF(Log!J:J>0,"Yes","No"))

Column A in "Log" has names of Countries, in Sheet 2, cell A3, it is the name of one particular Country, in Column J in "Log" it has dates.

I simply want to match the Country name and if any dates in column J are on the same row as my Country name, the answer should be "Yes", if the cell is blank or less than 0, it should state "No".

I have tested this and it works fine, however in one workbook, it keeps returning FALSE, I have made sure I have formatted the cells via paste special, values. There should be no reason why this should not work, so obviously I am missing something silly here and not sure if anyone can help?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi, If it's working fine in other workbooks. It must be the data your reading in the new workbook.

Try doing a Data / Text to Columns / Fixed Width on you data to ensure there is'nt anything hidden.
 
Upvote 0
I managed to get it to work, it baffled me for some time but it turns out it was the order.

Basically the names of the Countries that I had, had to have the same order in each tab and had to start on the same row, if this did not, I got False.

Bit crazy and I am sure there is a better formula to use that will allow me to get results without having to ensure everything is mirror image.

Either way, it's working, so thanks for the advice :)
 
Upvote 0

Forum statistics

Threads
1,224,270
Messages
6,177,574
Members
452,784
Latest member
talippo

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