Two colours in a single based on positive or negative value

montu_seshil

New Member
Joined
Mar 22, 2015
Messages
4
Hi folks,
need some expertise to handle a cell that has both positive/negative values and colour the portion of it.

attached is an example.

so, a Cell has a string and number, I want the colour green if it is increased and red if decreased. I am doing it manually and it takes ages. any suggestions or ideas on how to handle this ?

thanks
 

Attachments

  • sample data.jpg
    sample data.jpg
    92.9 KB · Views: 8

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi Montu -
I can share how I was able to get my excel datasheet to reflect an increase or decrease based on input. I noticed you have the increase or decrease % within one cell so I don't know how to solve for that item. I normally merge some cells (i.e. text) to make it easy for me to use various formulas.

Below are some screen shots and hope it helps. Good luck.

**Custom Format to add % and arrows**
[Color10]0%"▲";[Red]-0%"▼";
Format Cells.jpg
Symbols.jpg



Here is my mockup of the example you provided. I removed the gridlines on the sheet and just add borders. I divided 2.20 / 3.37 to get a positive value and 3.37 / 2.20*-1 to get negative value in order to demonstrate the output.

Sample.jpg
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top