Formula to enter into Conditional Formatting Dialog area

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,486
I have a column filled with the following formula:

=SUM(INDIRECT"'"&VLOOKUP($C$1,LookUpData!A:F,6,FALSE)&"'!Chase"))

But from time to time, after a review -- I need to add "1" to the $C$1 (numeric entry) to several cells only.

I'm hoping to use C/F to highlight ALL CELLS that contain the "$C$1+1" cell reference, like the below:


=SUM(INDIRECT"'"&VLOOKUP($C$1+1,LookUpData!A:F,6,FALSE)&"'!Chase"))

How can this be achieved?

Tks in Advance.

Jim
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi Jim

Maybe you can use the function FORMULATEXT (available on Excel 2013 or higher).

Something like this
=ISNUMBER(SEARCH("$C$1+1",FORMULATEXT(A2)))

I'm using Excel 2010 so i cannot test if this works.

M.
 
Upvote 0
Maybe just:

Conditional Formatting --> New Rule... --> Format only cells that contain --> Cell value, equal to, =SUM(INDIRECT("'"&VLOOKUP($C$1+1,LookUpData!A:F,6,FALSE)&"'!Chase"))
 
Upvote 0
Marcelo,

Thanks -- I'm running Excel 2010 -- Appartently, the FORMULATEXT() function didn't come along until Excel 2013.

I got it another way;;; by using a UDF "ShowFormula"

and in C/F entering:

=SEARCH("$C$1+1",ShowFormula(E58))>0

Works FINE!!!

Again Thanks,

Jim
 
Upvote 0

Forum statistics

Threads
1,215,983
Messages
6,128,109
Members
449,421
Latest member
AussieHobbo

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