Hi All,
I would like to use conditional formating in my spreadsheet with both numbers and letters (units) but don't know how. For example I have 100 kg in one cell how do I highlight values that ate above and below 100 kg ?
Thanks for your help
Hi All,
I would like to use conditional formating in my spreadsheet with both numbers and letters (units) but don't know how. For example I have 100 kg in one cell how do I highlight values that ate above and below 100 kg ?
Thanks for your help
Last edited by panmuskul; 01-21-2022 at 07:44 AM.
One example won't be enough for us to give you an answer, especially if there are other weights and measures involved.
There are instructions at the top of the page explaining how to attach your sample workbook.
A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi Ali,
Good point, just added a sample to my original post. Thanks a lot
As you are in Southampton, I am wondering why you are using the comma as a decimal separator??? Is this correct? It does matter.
Anyway, as it stands, the two rules would be:
=--SUBSTITUTE(SUBSTITUTE(C3,",",".")," m","")<4
=--SUBSTITUTE(SUBSTITUTE(C3,",",".")," m","")>9
These would be applied to C3 and then the entire range defined in the Applies To box.
Last edited by AliGW; 01-21-2022 at 07:54 AM.
Hi Ali,
Thanks for your reply. To answer your question about comma - I am currently living in Poland and here we use comma as a decimal seprator.
I don't really understand the solution, would you mind attaching an excel spreadsheet with those rules applied ? I hope it's not too much trouble.
Thank you
I did attach a workbook 15 minutes ago ... Can you not see it? I thought you had looked at it???
However, given your disclosure, the rules won't (or may not) work.
Try these instead:
=--SUBSTITUTE(C3," m","")<4
=--SUBSTITUTE(C3," m","")>9
You may need to change the comma to a semi-colon in these rules for a Polish locale.
Please update your profile. The location is important so that we know which locale you are likely to be using.I am currently living in Poland ...
Last edited by AliGW; 01-21-2022 at 08:14 AM.
It works ;] perfect thank you very much
Fab!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
Administrative Note:
Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks