Linking formulas to comments in cells

james peter bruce

New Member
Joined
May 16, 2003
Messages
1
Hi,

Does anyone know if the following is possible.

I pull in data from an application which gives me a list of "numbers for runs" each number for the run is assigned a data but only in the comment cells. The application we have is fixed in that way.

Does anyone know if you can pull in a forumla or function to for example
= comment(A1)
so that will show the comment in cell A1

Does such a thing exsit ?

Thanks

James Bruce
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi James,

Welcome to the board :D

I'm not aware of a built-in function that will do what you wish, but you could always write your own UDF. What about:
Code:
Function SComment(rng As Range) As String
    SComment = rng.Comment.Text
End Function
And then use like this:
=SComment(A1)
to display the comment text contained in A1.

HTH
 
Upvote 0

Forum statistics

Threads
1,221,706
Messages
6,161,406
Members
451,702
Latest member
Kc3475

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
Back
Top