Godders199
Active Member
- Joined
- Mar 2, 2017
- Messages
- 313
- Office Version
- 2013
Hello, I am trying to add the following line of code to an existing workbook to show the most recent date from column q, where column a match’s the criteria in cells (I,1)
cells(I,40) = evaluate (“max(if( “& (thisworkbook.sheets(“Adviser data”).Range(“a:a”)). & “=“ & cells(I,1). & “,” &(thisworkbook.sheets(“Adviser data”).range(“Q:Q”)) & “))”)
all I am able to return is #value. I keep reading on internet and making changes but nothing seems to work.
So any help appreciated.
cells(I,40) = evaluate (“max(if( “& (thisworkbook.sheets(“Adviser data”).Range(“a:a”)). & “=“ & cells(I,1). & “,” &(thisworkbook.sheets(“Adviser data”).range(“Q:Q”)) & “))”)
all I am able to return is #value. I keep reading on internet and making changes but nothing seems to work.
So any help appreciated.