unvell / ReoGrid

Fast and powerful .NET spreadsheet component, support data format, freeze, outline, formula calculation, chart, script execution and etc. Compatible with Excel 2007 (.xlsx) format and working on .NET 3.5 (or client profile), WPF and Android platform.
https://reogrid.net
MIT License
1.32k stars 390 forks source link

How to Retrieve the Contents of Merged Cells Using Custom Functions #494

Open wangizchao opened 1 year ago

wangizchao commented 1 year ago

May I ask how to use a custom function to retrieve the contents of merged cells? Assuming that A1:A2 contains merged cells with the value 'value', how can I use a function in cell B1 to retrieve the value in A1:A2?

jingwood commented 1 year ago

I'm not sure if I understand your question correctly. You can just retrieve the value from the A1 cell.