Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,180
- Office Version
- 365
- 2019
- Platform
- Windows
Good evening I have data in 2 columns. In my process to continually learn VBA, I kind of got stuck. I would like to know If the data matches then I would like to get the Max value of the matches. I have a formula: =SUMPRODUCT(--(MAX(IF(A1:A38=B1:B38,A1:A38,"")))) that seems to work but I am looking for a VBA function. Can anyone please assist. Thanks in advance.
|