Forum Discussion
alex_n
Mar 09, 2023Brass Contributor
Conditional Formatting based on comparing cell references
Hi All, I have a rate spread sheet (below) that has 7 columns: A B C D E F G 1 Cost Descr Cost Amount Rate Applied Rate Factor Current Rate (light green) Live Rate (lig...
- Mar 09, 2023
OK, try this.
ricardojose
Brass Contributor
Hello, would you mind uploading your file so I can use it to add the things you need there and then I can upload the solution?
Best,
Best,
alex_n
Mar 09, 2023Brass Contributor
ricardojose here you go. Thanks
- ricardojoseMar 09, 2023Brass Contributor
alex_n , here you go!
Best- alex_nMar 09, 2023Brass ContributorRicardo, thanks for trying. But your solution is based on the value and not the actual cell reference. The reason behind me wanting it based on the cell reference is because sometimes the rates can be identical (ex. Current rate can be identical to the Historical rate) and it may cause bug in the result. Thanks.
- alex_nMar 09, 2023Brass Contributor
The pseudo example would be as follows:
if (the content of D2 is "=E2", then format D2 cell fill to light green color)
D2: Rate Factor
E2: Current Rate (light green color column)
I tried to use Indirect() function with combination of Address() function but could not get it to the level it would work. I may be doing something wrong here.- ricardojoseMar 09, 2023Brass ContributorMaybe you will need to reconceptualize the solution to work as needed. The only thing I can think of to achieve that and I know is possible is through macros. Are you allowed to convert that file into a macro-enabled workbook?