I'm in need of some code that will put the values in the cells of Column D into a comment of the associated name in Column B. I do not have room in the worksheet cells to put this info and thought including the information as a comment with the person's name might be a solution.
Column D values will reference a table like that of Columns H and I on another worksheet. Here the Column D formula that I'm using to get the corresponding values for the names in Column B
<tbody>
</tbody>
<tbody>
</tbody>
<tbody>
</tbody>
Column D values will reference a table like that of Columns H and I on another worksheet. Here the Column D formula that I'm using to get the corresponding values for the names in Column B
IFNA(INDEX($H$4:$I$11,MATCH(B4,$H$4:$H$11,0),2),"") does not reference another sheet because it is just and example. It would be great if the VBA code would activate when any name in Column B is changed, thus causing the comment in that changed cell in Column B to clear and then re-populate with the new values generated in Column D. This way the order of the names is irrelevant. Thanks in advance for any help you all can provide. |
<tbody>
</tbody>
IFNA(INDEX($H$4:$I$11,MATCH(B4,$H$4:$H$11,0),2),"") | |||||||
↓ | |||||||
Tommy Lee | rocker, pam, | John Holmes | happy, sally, disney, jonny | ||||
Billy Mayes | qvc, sale, make money, hawk | Timmy Jones | TJ, golfer, walker | ||||
John Holmes | happy, sally, disney, jonny | Billy Mayes | qvc, sale, make money, hawk | ||||
Tommy Lee | rocker, pam, | George Jones | country, western, guitar | ||||
Brad Bad | bb, bad, arm wrestler | Tommy Lee | rocker, pam, | ||||
Arnold Swartz | get to the chopper, I'll be back | Brad Bad | bb, bad, arm wrestler | ||||
Timmy Jones | TJ, golfer, walker | Arnold Swartz | get to the chopper, I'll be back | ||||
Danny O'Day | Irish, river dancer | Danny O'Day | Irish, river dancer | ||||
<tbody>
</tbody>
IFNA(INDEX($H$4:$I$11,MATCH(B4,$H$4:$H$11,0),2),"") |
<tbody>
</tbody>
Last edited: