sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,422
- Office Version
- 2016
- Platform
- Windows
I'm sure this is really easy but I can't figure it out - I'm trying to find the last cell in column A that has a specific value.
I currently have this, which gives me the value that I want, (in column B), but I need to now do it with criteria;
Can someone show me how to adjust it so it looks for the last cell in column A that has the value "NEWPORT" and then returns the value from column B?
I currently have this, which gives me the value that I want, (in column B), but I need to now do it with criteria;
Code:
Range("J3").Value = Sheets("AVAILABLE").Range("B65000").End(xlUp).Value
Can someone show me how to adjust it so it looks for the last cell in column A that has the value "NEWPORT" and then returns the value from column B?