Conditional Format to Enter a Value in another Cell


Board Regular
Oct 26, 2005
I want to conditionally format some values in a column based on the thresholds in the table below but I want the value in brackets to be entered in another cell.

(1) Current
(2) 0-30
(3) 31-60
(4) 61-90
(5) 91-120
(6) 121-150
(7) 151-180
(8) 180+

So if the value is between say 31 and 60 in the threshold column it would automatically enter a 3 or if it was between 121 and 150 it would enter a 6, so basically the value in the brackets of the table shown above.

Can anyone help with this please, thanks


Well-known Member
May 10, 2013
Conditional formatting can't put values into a cell, it can only "format" a cell, hence the title.

You would need to use a formula in that other cell to test for your conditions and return the value you want based on that test.

Forum statistics

Latest member

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...