The Formula doesn't read the cell value because it has a formula

Ramadan2512

Board Regular
Joined
Sep 7, 2024
Messages
68
Office Version
  1. 2021
Platform
  1. Windows
I'm working on two worksheets ("District1" & "Stop work"") they are in the same workbook but one of them ("stop work") sheet is updating its data from another workbook as you can see in the screenshot
my problen is when I put a formula to compare data between the two sheets("District1" & "Stop work""), the formula doesn't work. I think it's because it can't read the value in the cells of the second sheet ("stop work") becasue of the formula inside the cells to collect information from another workbook as you can see in the image
and this is my formula that i use in conditional formatting

=AND('Stop Work'!$K8="",COUNTIF('Stop Work'!$D8:$D351,C9))
Untitled.png

Please let me know how to fix that
 
Last edited:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
one of them ("stop work") sheet is updating its data from another workbook as you can see in the screenshot
What I see in the screenshot is getting data from a worksheet called Stop Work.xlsm, not a workbook. The correct syntax to reference another workbook would be

Rich (BB code):
='[Stop Work.xlsm]Sheet1'!$D15

and you have to put the actual sheet name where shown in red.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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