ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find/Replace based on CF result (https://www.excelbanter.com/excel-programming/326057-find-replace-based-cf-result.html)

pdd1055

Find/Replace based on CF result
 
I am looking for a macro that will change the formula for the cells that meet
my CF rule. If I use GoTo, it returns all cells that contain CF, but not
just those that meet the CF criteria. The spreadsheet I am working with is
quite large, and those cells that meet the CF criteria appear anywhere
throughout columns W-AG.

If Conditional Formatting is pink, then replace formula with
=NETWORKDAYS(N4,O4).

Can anyone help? Thanks in advance!
--
pdd

Bob Phillips[_6_]

Find/Replace based on CF result
 
You need to select the cells that meet you CF condition.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"pdd1055" wrote in message
...
I am looking for a macro that will change the formula for the cells that

meet
my CF rule. If I use GoTo, it returns all cells that contain CF, but not
just those that meet the CF criteria. The spreadsheet I am working with

is
quite large, and those cells that meet the CF criteria appear anywhere
throughout columns W-AG.

If Conditional Formatting is pink, then replace formula with
=NETWORKDAYS(N4,O4).

Can anyone help? Thanks in advance!
--
pdd




david mcritchie

Find/Replace based on CF result
 
You need to select the cells that meet you CF condition.

Basically to test whether a cell qualifies for your changes,
you use the same formula that you use in
your CF condition(s)



pdd1055

Find/Replace based on CF result
 
How do I select ONLY those cells that meet my criteria? The CF is based upon
my formula result.

"David McRitchie" wrote:

You need to select the cells that meet you CF condition.


Basically to test whether a cell qualifies for your changes,
you use the same formula that you use in
your CF condition(s)




Bob Phillips[_6_]

Find/Replace based on CF result
 
You have to find them, either using Find, looping through them, or some
other. We would need more details to say which.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"pdd1055" wrote in message
...
How do I select ONLY those cells that meet my criteria? The CF is based

upon
my formula result.

"David McRitchie" wrote:

You need to select the cells that meet you CF condition.


Basically to test whether a cell qualifies for your changes,
you use the same formula that you use in
your CF condition(s)







All times are GMT +1. The time now is 07:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com