Conditional Format Cell

MrDB4Excel

Board Regular
Joined
Jan 29, 2004
Messages
168
Office Version
  1. 2013
Platform
  1. Windows
Within a range of cells that are in a named range, called Date_Rate, there exists an exchange rate that equals the rate shown in a cell outside this named range. I want to apply conditional formatting to the one cell that resides inside this named range that equals the content of the cell outside this range.

Date_Rate range is:
=$A$4:$B$34,$D$4:$E$31,$G$4:$H$34,$J$4:$K$33,$M$4:$N$34,$P$4:$Q$33,$S$4:$T$34,$V$4:$W$34,$Y$4:$Z$33,$AB$4:$AC$34,$AE$4:$AF$33,$AH$4:$AI$34

The cell outside this range is G2. G2 gets its value from another excel file. You should notice that the value in A1 coincides with today’s date (in this case 15 March as seen in the attached xl2bb data).
You will also notice that today’s date has conditional formatting applied to have the text bold and magenta with a light blue fill.
Thus I want the exchange rate that appears next to today’s date to also have conditional formatting similar to the date’s conditional format.
Any help is much appreciated. I have spent now about hours scouring the web for an answer and have not found anything to help.

2015_CSOB-CZK.xlsx
GH
221.9769000.000000
303-DayMarch
401/Mar/2121.706800
502/Mar/2121.668100
603/Mar/2121.686800
704/Mar/2121.808200
805/Mar/2122.115800
906/Mar/2122.093200
1007/Mar/2122.093200
1108/Mar/2122.271900
1209/Mar/2122.066100
1310/Mar/2122.038200
1411/Mar/2121.851500
1512/Mar/2121.987100
1613/Mar/2121.890300
1714/Mar/2121.890300
1815/Mar/2121.976900
1916/Mar/210.000000
MonthlyPensionHistory
Cell Formulas
RangeFormula
G2G2='F:\Finances\CSOB\[CurrencyConversionRatesWebQuery.xlsm]2021-ExchCalcs'!$S$3
H2H2=LOOKUP(2,1/(H:H<>""),H:H)
H4:H19H4='F:\Finances\CSOB\[CurrencyConversionRatesWebQuery.xlsm]2021-ExchCalcs'!E66
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A4:B34,D4:E31,G4:H34,J4:K33,M4:N34,P4:Q33,S4:T34,V4:W34,Y4:Z33,AB4:AC34,AE4:AF33,AH4:AI34Dates OccurringtodaytextNO
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,752
Office Version
  1. 365
Platform
  1. MacOS
if you select row H2:H19
then use
a formula for conditional formatting

=$G2=today()
use the format you want

example.xlsx
GH
1
2#REF!March
303-DayMarch
43/1/21#REF!
53/2/21#REF!
63/3/21#REF!
73/4/21#REF!
83/5/21#REF!
93/6/21#REF!
103/7/21#REF!
113/8/21#REF!
123/9/21#REF!
133/10/21#REF!
143/11/21#REF!
153/12/21#REF!
163/13/21#REF!
173/14/21#REF!
183/15/21#REF!
193/16/21#REF!
Sheet2
Cell Formulas
RangeFormula
G2G2='/Users/wayne/Library/Containers/com.microsoft.Excel/Data/Documents/F:\Finances\CSOB\[CurrencyConversionRatesWebQuery.xlsm]2021-ExchCalcs'!$S$3
H2H2=LOOKUP(2,1/(H:H<>""),H:H)
H4:H19H4='/Users/wayne/Library/Containers/com.microsoft.Excel/Data/Documents/F:\Finances\CSOB\[CurrencyConversionRatesWebQuery.xlsm]2021-ExchCalcs'!E66
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H4:H19Expression=$G4=TODAY()textNO
 

MrDB4Excel

Board Regular
Joined
Jan 29, 2004
Messages
168
Office Version
  1. 2013
Platform
  1. Windows
Perfect, thanks etaf. Exactly what is needed. You rock!
 

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,752
Office Version
  1. 365
Platform
  1. MacOS
you are welcome
 

Watch MrExcel Video

Forum statistics

Threads
1,132,970
Messages
5,656,164
Members
418,284
Latest member
LaurentT

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
Top