Dynamic Comment Box

Adroitking

Board Regular
Joined
Aug 12, 2004
Messages
122
I have a series of vlookup functions running down a column. I would like to have a description of the returned function within a comment box. The description is next to the vlookup reference range on another sheet, and is typically several sentences long. How can I create a dynamic comment box, which is conditioned upon the value within the cell?

Has anyone attempted this?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Adroitking

Board Regular
Joined
Aug 12, 2004
Messages
122
For example:

The cell Sheet1!A1 is an input cell, which requires a code number (ie 123ABC). Once the code is typed in, Sheet1!B1 returns the name of the code based on a lookup value "=VLOOKUP(A1,Sheet2!A:B,2, FALSE)".

In the third column on Sheet2 I have a description of the code, which I would like to place a comment. In other words, I would like to have a formula in a comment. The description in the comment will change if I change the code number.

Does this help?
 
Upvote 0

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
on sheet2 column C there is a description
Do you want to get that description in a comment linked to B1?

Say sheet2 row 3 has
123ABC Name3 Description3

sheet1 B1 would have
value: Name3
comment: "Description3"

is that OK?
By the way: it will involve code.

best regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,191,719
Messages
5,988,298
Members
440,148
Latest member
sandy123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top