Share via

Conditional format cells linked from another sheet

Anonymous
2017-09-25T13:28:42+00:00

Hi

Is there a way to color code only those cells in a particular worksheet that are linked from other sheets in that same Excel file?  For example looking at a worksheet,  cells are shaded with a grey background to indicate they are linked to another sheet.  if they are not linked to another sheet, then they are not shaded grey.

thanks!

Craig

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2017-09-26T18:06:23+00:00

Jason is on the right track but for my conditional formatting formula I used

=ISNUMBER(FIND("!",FORMULATEXT(A1)))

In the screenshot two cells (C1 and C3) reference another sheet;

I selected all the cells and used the formula above (note it refers to A1 since this was the first cell in my selection

best wishes

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2017-09-26T17:47:52+00:00

I don't have Excel 2016, but it has the FORMULATEXT function.

Create a conditional format, using the IFERROR, FIND and FORMULATEXT functions together as the rule. Like this:

=IFERROR(FIND("!",FORMULATEXT(A1))>0,FALSE)

And then set the color you want.

I can't test it, but it should work.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-09-26T19:40:22+00:00

    thanks it works!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-09-26T17:06:53+00:00

    CraigBrody,

    re:  identify cells linked to other sheets

    Couple of things to try...

    Use the Trace Dependents or Trace Precedents icons on the: 

      Ribbon | Formulas (tab) | Formula Auditing (group)

    -or-

    Do a Search for ! (a single exclamation point) using the 'Find All' button on the search dialog box.

    When found, with the dialog still open, use Ctrl + A (keyboard) to select all of the found cells.

    Color the cells and close the dialog box.

    '---

    Jim Cone

    Portland, Oregon USA

    https://goo.gl/IUQUN2 (Dropbox)

    (free & commercial excel add-ins & workbooks)

    thanks for the tips...while very helpful to know, i was looking for a conditional formatting solution so if linked formulas to other sheets are entered in a sheet they would turn color automatically while normal formulas dependent on cells within that sheet would not.

    thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-09-25T18:27:50+00:00

    CraigBrody,

    re:  identify cells linked to other sheets

    Couple of things to try...

    Use the Trace Dependents or Trace Precedents icons on the: 

      Ribbon | Formulas (tab) | Formula Auditing (group)

    -or-

    Do a Search for ! (a single exclamation point) using the 'Find All' button on the search dialog box.

    When found, with the dialog still open, use Ctrl + A (keyboard) to select all of the found cells.

    Color the cells and close the dialog box.

    '---

    Jim Cone

    Portland, Oregon USA

    https://goo.gl/IUQUN2 (Dropbox)

    (free & commercial excel add-ins & workbooks)

    Was this answer helpful?

    0 comments No comments