I have formula below which extract the highest month in a column from another workbook.
where the result is less than the current month, I want to use the current month and year, but cannot get the formula to work. The current month and year is in cell E1
It would be appreciated if someone can assist me
where the result is less than the current month, I want to use the current month and year, but cannot get the formula to work. The current month and year is in cell E1
Code:
=if(TEXT(MAX('C:\My Documents\[BR 898885 (91587 -sales).xls]Details'!$C$1:$C$65536),"mmmm-yyyy)<E1,E1),TEXT(MAX('C:\My Documents\[BR 898885 (91587 -sales).xls]Details'!$C$1:$C$65536)
It would be appreciated if someone can assist me