Spreadsheet color one line from cell values
Asked by Nicolas Goutte:

From Spreadsheet, how can I color one line from cell values  
example:   
column B \| column E \|  
"status" \| expected \|  
"one" \| "two" \|  

I tried with formula: =AND($B1="status",$E1="EXPECTED")  

But I have error message

"The formula cannot refer to its own cell, which will lead to inaccurate calculation results"  

I am expecting that with "$" the formatting will be applied on the whole line, which is the case but with an error !

Thank you.  
![Spreadsheet color one line from cell values_3.png](/t5/image/serverpage/image-id/333758i1796AA70C77822A2/image-size/large?v=v2&px=999 "Spreadsheet color one line from cell values_3.png")![Spreadsheet color one line from cell values_2.png](/t5/image/serverpage/image-id/333757iA9046151A2D60B3B/image-size/large?v=v2&px=999 "Spreadsheet color one line from cell values_2.png")![Spreadsheet color one line from cell values.png](/t5/image/serverpage/image-id/333756iF86B2EF9E336D088/image-size/large?v=v2&px=999 "Spreadsheet color one line from cell values.png")


Answers:
author: Stiltsoft support
body: Hi [@Nicolas Goutte](/t5/user/viewprofilepage/user-id/5418947) ,

Please define what app and what macro you are using, there are no any spreadsheet macros in Confluence out of the box.

Our company develops the [Table Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app that provides the [Table Spreadsheet](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro with a similar interface.

So, in case if we are talking about our app, I suggest referring to [our support portal](https://stiltsoft.atlassian.net/servicedesk/customer/portal/14). Please export your problem spreadsheet in the .tfss format and attach it to the ticket (the portal is confidential). Also if your tags are wrong and you are on Data Center, please specify the app's version.

Meanwhile, we couldn't reproduce the issue:

![Mon 1-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/333947iFF0181118520D60D/image-size/large?v=v2&px=999 "Mon 1-1.png")

![Mon 1-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/333948i6872DE43155649B2/image-size/large?v=v2&px=999 "Mon 1-2.png")

![Mon 1-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/333949iFE7246B95E65D30F/image-size/large?v=v2&px=999 "Mon 1-3.png")

=AND($B1="status",$E1="EXPECTED")

Seems that we've got the expected result.

comments: author: Alexey Mikhaylov _Stiltsoft_
body: Hello [@Nicolas Goutte](/t5/user/viewprofilepage/user-id/5418947),

If you use Confluence Cloud, you should definitely expect no issue already, as we have released the corresponding fix. Could you please check and confirm?


author: Laurie Sciutti
body: Hi [@Nicolas Goutte](/t5/user/viewprofilepage/user-id/5418947) \~ this should work:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/333768iEF867ED410EF6B20/image-size/large?v=v2&px=999 "Capture.PNG")

comments: author: Nicolas Goutte
body: Hi [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433)   

It could have been a good I idea, but ++I can't edit selection values++ from Atlassian Spreadsheet, I can only select cells.  
**Your proposition is from Excel, not Atlassian Spreadsheet.**   
I tested it with Edge and Chrome ...  

How could I find a way to edit in order to insert the '$'?  

Thank you,

Nicolas


Tags: cloud

color

confluence-cloud

filter

format

formula

spreadsheet

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-spreadsheet