# If a formula, conditional format

#### Joe Carter

##### New Member
I've created a manpower worksheet. In the cell for each week I have a simple formula =total hours/# of weeks. So I know the average # of hours per week - works just fine.

I will be over-riding the formula and typing in hours I think that discipline will be working on the job for the next few weeks. I want to know if I've typed over the formula or not using conditional formatting.

Typical formula is =IF(\$J5<CP\$3,0,\$E5/\$H5), if the end date is less that the active week's date, then 0, else divide total hours by total weeks.

I've tried
"format only cells that contain" - "specific text" - "beginning with" - "=". doesn't work.
"format only cells that contain" - "specific text" - "containing" - "\$". doesn't work.

Any help would be greatly appreciated. There's got to be something simple I'm not seeing.

Joe

### Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

#### Eric W

##### MrExcel MVP
Try this CF formula:

=ISTEXT(FORMULATEXT(A1))

or the other way:

=ISERROR(FORMULATEXT(A1))*(A1<>"")

#### Joe Carter

##### New Member
Rule Type: "Use a formula to determine which cells to format"
Format values where this formula is true: "=ISTEXT(FORMULATEXT(CS6))"
Where "CS6" is the cell with the conditional format. Then I copied the cell throughout the spreadsheet.

Replies
3
Views
59
Replies
5
Views
52
Replies
1
Views
159
Replies
2
Views
71
Replies
14
Views
158

1,130,405
Messages
5,641,944
Members
417,248
Latest member
BStew

### 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.

### Which adblocker are you using?

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

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