Jump to content
[[Template core/front/custom/_customHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Excel Help


Big Country
 Share

Recommended Posts

I think there may be a way to solve this using conditional formatting, but I havent been able to figure it out.

 

Basically I have a matrix that is filled out with text values.

 

Now, depending on what this text value is, I want to color code the cell. Problem is, I am dealing with a fairly large number of different text values (over 30), but I only need to use 3 colors (each text value is grouped into one of three groups)

 

I suppose I could write out a 30+ condition conditional formatting argument, but that is very time consuming.

 

Is there a way to state that if the cell is equal to this one of this list of values, shade this color, if not, check this list of values and shade that color, and if not part of that list check the final list and shade that color?

 

Each text value does relate to a number value, so I could set up ranges based on the number values, however, there is no way to conditionally format a cell based on the value in another cell... at least not that I have been able to figure out.

 

Does anyone have any ideasout there of a way for me to figure this out without having to manually go through each cell and shade based on the value?

Link to comment
Share on other sites

I think there may be a way to solve this using conditional formatting, but I havent been able to figure it out.

 

Basically I have a matrix that is filled out with text values.

 

Now, depending on what this text value is, I want to color code the cell. Problem is, I am dealing with a fairly large number of different text values (over 30), but I only need to use 3 colors (each text value is grouped into one of three groups)

 

I suppose I could write out a 30+ condition conditional formatting argument, but that is very time consuming.

 

Is there a way to state that if the cell is equal to this one of this list of values, shade this color, if not, check this list of values and shade that color, and if not part of that list check the final list and shade that color?

 

Each text value does relate to a number value, so I could set up ranges based on the number values, however, there is no way to conditionally format a cell based on the value in another cell... at least not that I have been able to figure out.

 

Does anyone have any ideasout there of a way for me to figure this out without having to manually go through each cell and shade based on the value?

 

I don't think you can define more that three in conditional formats. What I've done, is set up the adjacent column to equal a number depending on the data. Not sure what your text is, but if it was defined to be one of three numbers with an if statement, you could then use conditional formatting depending on the answer. Lookup tables can be used here too, but they are a pain to define.

Link to comment
Share on other sites

I believe you could do it with code using an If - Else statement.

 

Very simple to do with a Case statement.

Link to comment
Share on other sites

Not so good with code, so all I did was simply add rows to my matrix for the numerical values associated with my text values, VLOOKUPed them into my matrix from the list of said values and conditionally formatted the numerical cells, then just took a minute manually filling the text cells to match the corresponding numerical cell in shading. Not the perfect solution, but it'll work for my purposes.

Link to comment
Share on other sites

Not so good with code, so all I did was simply add rows to my matrix for the numerical values associated with my text values, VLOOKUPed them into my matrix from the list of said values and conditionally formatted the numerical cells, then just took a minute manually filling the text cells to match the corresponding numerical cell in shading. Not the perfect solution, but it'll work for my purposes.

 

 

As long as it works. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information