Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

trying to sort just values in google spreadsheet range and I do not want to include cell background color

Posted on 2013-05-21
2
Medium Priority
?
298 Views
Last Modified: 2013-05-24
I have for example cell values like this: column A has test1 etc. and column B has numbers
test1      1
test2      2
test3      3
test4      4

Row test1 and test2 have background color of green and Row test3 and test4 have background color of yellow. When I sort from highest to lowest the background color follows the rows which is what I don't want to happen.  So Row test3 and test4 are at the top with a background of yellow, but I need them to stay green.
0
Comment
Question by:dmalovich
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
Faustulus earned 2000 total points
ID: 39193670
Could you look at this problem in another way? Could you say, for example, that you always want rows 3 and 4 colored green? In this case you could apply conditional formatting to your entire table with the condition being =OR(ROW()=3,ROW()=4). Regardless of how you sort the same rows would retain the same color.
0
 

Author Closing Comment

by:dmalovich
ID: 39194063
Never thought of that, thanks...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question