If a range contains value greater than zero then are those cells on corresponding rows also containing values greater/equal to zero

moccasinus

New Member
Joined
Aug 8, 2017
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm struggling with ranges, check if you could help me out:
If a range contains value greater than zero then are those cells on corresponding rows also containing values greater/equal to zero.
What I want to achieve here is to check whether a ProductX that has demand:
Demand.jpg


Also has all the raw materials in stock in order to start manufacturing it:
In_stock.jpg


Best outcome would be TRUE, so I could conditional format it. There are lots of raw materials for one product.
I guess it should be done with a combination of sumproduct and transpose, but can't figure it out how exactly.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Ok, so far I've got it working for separate cells:
=IF(AND(L$3>0;SUMPRODUCT(COUNTIF('Sheet1'!$B$4:$B$830;">0"))=SUMPRODUCT(COUNTIFS('Sheet1'!$B$4:$B$830;">0";'Sheet1'!IS$4:IS$830;">=0")));TRUE;FALSE)

How can I refer to those ranges using Product1 and Week no. instead of marking it by hand?
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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