<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Cannot reference cell when referencing cell "Number format" is Text"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122634">122634</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot reference cell when referencing cell "Number format" is Text
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matti.jaatinen@norelco.fi
</td>
</tr></table>
<p>
<div>
<pre>Description:
Cell B1 Number format is Text
Cell B2 Number format is General
Changing B1 function does not work.
Example:
- change function to =A2 then the displayed value is =A2.
- change function to back =A1 then the displayed value is =A1.
But changing B2 works.
Example:
- change function to =A1 then the displayed value is 11.
- change function to =A2 then the displayed value is 22.
Steps to Reproduce:
1.
Add cell A1 value 11 and A2 value 22.
2.
Change cells B1 and B2 Number format to General.
Add cell B1 function =A1, should now evaluate as 11.
Add B2 function =A2, should now evaluate as 22.
3.
Change B1 Number format to Text.
Change B1 function to =A2 it should now evaluate as =A2.
Change B2 function to =A1 it should now evaluate as 11.
Change B1 function to =A1 it should now evaluate as =A1.
Change B2 function to =A2 it should now evaluate as 22.
Change B1 Number format to General.
Change B1 function to =A2 it should now evaluate as 22.
Change B2 function to =A1 it should now evaluate as 11.
Actual Results:
1.
Add cell A1 value 11 and A2 value 22.
2.
Change cells B1 and B2 Number format to General.
Add cell B1 function =A1, should now evaluate as 11.
Add B2 function =A2, should now evaluate as 22.
3.
Change B1 Number format to Text.
Change B1 function to =A2 it should now evaluate as =A2.
Change B2 function to =A1 it should now evaluate as 11.
Change B1 function to =A1 it should now evaluate as =A1.
Change B2 function to =A2 it should now evaluate as 22.
Change B1 Number format to General.
Change B1 function to =A2 it should now evaluate as 22.
Change B2 function to =A1 it should now evaluate as 11.
Expected Results:
1.
Add cell A1 value 11 and A2 value 22.
2.
Change cells B1 and B2 Number format to General.
Add cell B1 function =A1, should now evaluate as 11.
Add B2 function =A2, should now evaluate as 22.
3.
Change B1 Number format to Text.
Change B1 function to =A2 it should now evaluate as 22.
Change B2 function to =A1 it should now evaluate as 11.
Change B1 function to =A1 it should now evaluate as 11.
Change B2 function to =A2 it should now evaluate as 22.
Change B1 Number format to General.
Change B1 function to =A2 it should now evaluate as 22.
Change B2 function to =A1 it should now evaluate as 11.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>