How to return comment as a cell from a conditional.
Example:
=if(a1=0;insert comment on cell)
insert comment and show comment
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I could not find any way with default worksheet functions, so you might have to declare your own function for this – like this:
Save this function into a Module, so it is accessible as a worksheetfunction.
then use
=if(a1=0;GetComment(A1))to return the comment.edit:
Because I might have misunderstood a bit – here is a verison, which adds a comment to the caller-cell, sets its content to the given comment and makes the comment visible.