Excel - How to Use Conditional Formatting With IF Statement - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

0%(-26%) how can i put conditional formatting considering values in bracket eg. i want to put red if bracket value is negative despite whatever is 1st value
Solved by X. C. in 18 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 26/06/2018 - 11:17
Hello, I understand that you need help in conditional formatting your cell based on the value inside the (), right?
User 26/06/2018 - 11:17
yes
Excelchat Expert 26/06/2018 - 11:17
Alright, we can help you with this. Before we proceed, this is a reminder that our policy is 1 question per session so for this session we'll be resolving this particular question. We also currently do not support VBA/Macro solutions.
Excelchat Expert 26/06/2018 - 11:18
What we can do is create a formula that will check the charater immediately following the (.
Excelchat Expert 26/06/2018 - 11:18
If the character immediately following the ( is a - sign then it means that the value inside the () is a negative number.
Excelchat Expert 26/06/2018 - 11:18
Are you able to upload your file so I can analyze if this is going to work?
User 26/06/2018 - 11:19
12%(-4%)
User 26/06/2018 - 11:19
i need help to colour it red putting conditional formatting
User 26/06/2018 - 11:19
you can write it in your excel
Excelchat Expert 26/06/2018 - 11:19
Are you able to share your file or at least an accurate representation of your data?
User 26/06/2018 - 11:20
i have already shared the number
Excelchat Expert 26/06/2018 - 11:20
May I know which column and row the data resides so I can create an accurate formula?
User 26/06/2018 - 11:20
so in A1 cell 12%(-4%) is written
Excelchat Expert 26/06/2018 - 11:20
Thank you.
Excelchat Expert 26/06/2018 - 11:20
Do you see the document to the right?
User 26/06/2018 - 11:20
i want it to be red if ( value is negative and green if ( value is positive
User 26/06/2018 - 11:20
yes
Excelchat Expert 26/06/2018 - 11:21
Can you write a couple more examples so I can test the formula I'm going to write?
User 26/06/2018 - 11:21
54%(6%)
User 26/06/2018 - 11:21
in A2
Excelchat Expert 26/06/2018 - 11:21
Please use the sheet to the right. You can edit that.
User 26/06/2018 - 11:22
you can test on this
Excelchat Expert 26/06/2018 - 11:22
Thank you.
Excelchat Expert 26/06/2018 - 11:23
Nearly done.
User 26/06/2018 - 11:24
show me how
Excelchat Expert 26/06/2018 - 11:25
Please wait. I'm writing the steps.
Excelchat Expert 26/06/2018 - 11:25
I can't show you how but I can tell you how.
User 26/06/2018 - 11:25
ok
User 26/06/2018 - 11:28
??
Excelchat Expert 26/06/2018 - 11:28
I'm still here. I'm working on it. Please have patience.
Excelchat Expert 26/06/2018 - 11:28
Please download this file.
[Uploaded an Excel file]
Excelchat Expert 26/06/2018 - 11:28
In this file you will see 2 sheets.
Excelchat Expert 26/06/2018 - 11:29
The first sheet will have the conditional formatting applied.
Excelchat Expert 26/06/2018 - 11:29
The second sheet, named Instructions, will have the steps on how I accomplished it.
User 26/06/2018 - 11:29
cool
Excelchat Expert 26/06/2018 - 11:29
Now, since you want to apply the conditional formatting yourself, if you encounter problems doing so, I won't be able to pinpoint where it goes wrong. You just have to follow the instructions to the letter.
User 26/06/2018 - 11:30
I'll do
Excelchat Expert 26/06/2018 - 11:30
But as you can see, using the examples you've provided, the conditional formatting works in sheet1
User 26/06/2018 - 11:30
thanks
Excelchat Expert 26/06/2018 - 11:30
Would there be anything else that I can help you with regards to the original question?
User 26/06/2018 - 11:30
nope
Excelchat Expert 26/06/2018 - 11:30
Alright, if you have no other questions regarding the original concern, I'd appreciate a 5-star rating and your feedback if you think I deserve it.
Excelchat Expert 26/06/2018 - 11:31
I'll be giving you high ratings as well so the other experts will know that you are a good client and should be taken care of.
Excelchat Expert 26/06/2018 - 11:31
Please do not forget to click the End Session button otherwise I'll be stuck here until the timer expires and be unable to help others. Thank you.

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.

Click here to get your free Excelchat help session

Subscribe to Excelchat.co
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc