PC Review


Reply
Thread Tools Rate Thread

Attaching Comment to cell contents rather than cell

 
 
El Damo
Guest
Posts: n/a
 
      11th Dec 2006
I have a spreadsheet that is regularly upadated overwriting columns,
however I need to enter comments on the sheet referenced on the
content. The next time I update the sheet the referenced cell will
move down a row, but I need the comment to stay with the content rather
than the cell.

Any suggestions?

Many thanks

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      11th Dec 2006
If the values that you're commenting are unique, you may want to toss the
comments and create a table in another worksheet.

Value Comment

Then use an =vlookup() formula to return the "comment" to the adjacent cell.

El Damo wrote:
>
> I have a spreadsheet that is regularly upadated overwriting columns,
> however I need to enter comments on the sheet referenced on the
> content. The next time I update the sheet the referenced cell will
> move down a row, but I need the comment to stay with the content rather
> than the cell.
>
> Any suggestions?
>
> Many thanks


--

Dave Peterson
 
Reply With Quote
 
El Damo
Guest
Posts: n/a
 
      11th Dec 2006
Thanks for this Dave, but me being really quite thick could you
elaborate.

Ta
Damo

"Dave Peterson wrote:

> If the values that you're commenting are unique, you may want to toss the
> comments and create a table in another worksheet.
>
> Value Comment
>
> Then use an =vlookup() formula to return the "comment" to the adjacent cell.
>
> El Damo wrote:
> >
> > I have a spreadsheet that is regularly upadated overwriting columns,
> > however I need to enter comments on the sheet referenced on the
> > content. The next time I update the sheet the referenced cell will
> > move down a row, but I need the comment to stay with the content rather
> > than the cell.
> >
> > Any suggestions?
> >
> > Many thanks

>
> --
>
> Dave Peterson"


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      11th Dec 2006
Say your comments go into cells with unique part numbers.

Create a table on another worksheet:

Col A Col B
----- ------------------------
Part1 This is comment1.
Part2 This is a second comment
....
PartN This is the last column.

Then use that part number to bring back the comment into an adjacent cell.

=if(iserror(vlookup(a2,sheet2!a:b,2,false)),"",vlookup(a2,sheet2!a:b,2,false))

Debra Dalgleish has some notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())

El Damo wrote:
>
> Thanks for this Dave, but me being really quite thick could you
> elaborate.
>
> Ta
> Damo
>
> "Dave Peterson wrote:
>
> > If the values that you're commenting are unique, you may want to toss the
> > comments and create a table in another worksheet.
> >
> > Value Comment
> >
> > Then use an =vlookup() formula to return the "comment" to the adjacent cell.
> >
> > El Damo wrote:
> > >
> > > I have a spreadsheet that is regularly upadated overwriting columns,
> > > however I need to enter comments on the sheet referenced on the
> > > content. The next time I update the sheet the referenced cell will
> > > move down a row, but I need the comment to stay with the content rather
> > > than the cell.
> > >
> > > Any suggestions?
> > >
> > > Many thanks

> >
> > --
> >
> > Dave Peterson"


--

Dave Peterson
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      11th Dec 2006
PartN This is the last COMMENT.

Dave Peterson wrote:
>
> Say your comments go into cells with unique part numbers.
>
> Create a table on another worksheet:
>
> Col A Col B
> ----- ------------------------
> Part1 This is comment1.
> Part2 This is a second comment
> ...
> PartN This is the last column.
>
> Then use that part number to bring back the comment into an adjacent cell.
>
> =if(iserror(vlookup(a2,sheet2!a:b,2,false)),"",vlookup(a2,sheet2!a:b,2,false))
>
> Debra Dalgleish has some notes:
> http://www.contextures.com/xlFunctions02.html (for =vlookup())
>
> El Damo wrote:
> >
> > Thanks for this Dave, but me being really quite thick could you
> > elaborate.
> >
> > Ta
> > Damo
> >
> > "Dave Peterson wrote:
> >
> > > If the values that you're commenting are unique, you may want to toss the
> > > comments and create a table in another worksheet.
> > >
> > > Value Comment
> > >
> > > Then use an =vlookup() formula to return the "comment" to the adjacent cell.
> > >
> > > El Damo wrote:
> > > >
> > > > I have a spreadsheet that is regularly upadated overwriting columns,
> > > > however I need to enter comments on the sheet referenced on the
> > > > content. The next time I update the sheet the referenced cell will
> > > > move down a row, but I need the comment to stay with the content rather
> > > > than the cell.
> > > >
> > > > Any suggestions?
> > > >
> > > > Many thanks
> > >
> > > --
> > >
> > > Dave Peterson"

>
> --
>
> Dave Peterson


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sub to write cell contents into its own comment Max Microsoft Excel Programming 2 2nd Sep 2009 07:26 AM
lookup cell reference and copy contents and comment from a range GarySW Microsoft Excel Worksheet Functions 0 28th May 2009 06:14 PM
Macro to copy cell contents to comment RichUE Microsoft Excel Programming 2 3rd Mar 2009 10:30 AM
VBA - Passing Cell Contents Into Comment ajocius Microsoft Excel Programming 13 30th Jul 2005 11:50 PM
convert cell contents into a comment Paul hunter Microsoft Excel Programming 5 21st Aug 2004 09:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:53 PM.