Conditional Formatting Question (Highlight cells which have Formula)

ionelz

Board Regular
Joined
Jan 14, 2018
Messages
248
Office Version
  1. 365
Platform
  1. Windows
Hi,
I want to highlight all cells which have Formula
I am using = isformula(a1)
It is working but on SPILL formula, where it highlight only initial cell formula, the spill, NO
How to fix this ?
Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
works for me in conditional formatting

Book3
A
1TRUE
2
3
4
5
6
7TRUE
8
9
10
11
12
13
14TRUE
Sheet1
Cell Formulas
RangeFormula
A1A1=ISFORMULA(A1)
A7A7=ISFORMULA(A1)
A14A14=ISFORMULA(A1)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A14Expression=ISFORMULA(A1)textNO


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A1:A100 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=ISFORMULA(A1)

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK
 
Upvote 0
It doesn't for me
If at A1 I have a formula like FILTER(....)....which SPILL from A1 to A100
ISFORMULA(A1) highlight only A1, the spill, NO
And I apply the formatting to entire A column
 
Upvote 0
In the name manager create a new name ( I called it HasFormula) and in the refers to box put
Excel Formula:
=GET.CELL(41,INDIRECT("rc",FALSE))
then you can use
Excel Formula:
=LEFT(HasFormula)="="
in conditional formatting

For this to work it needs to be a macro enabled file & macros need to be enabled.
 
Upvote 0
Solution
In the name manager create a new name ( I called it HasFormula) and in the refers to box put
Excel Formula:
=GET.CELL(41,INDIRECT("rc",FALSE))
then you can use
Excel Formula:
=LEFT(HasFormula)="="
in conditional formatting

For this to work it needs to be a macro enabled file & macros need to be enabled.
Thank you so much !
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,157
Messages
6,123,341
Members
449,097
Latest member
thnirmitha

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
Back
Top