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

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

moccasinus

New Member
Joined
Aug 8, 2017
Messages
21
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?
 

Watch MrExcel Video

Forum statistics

Threads
1,123,312
Messages
5,600,887
Members
414,414
Latest member
neil_c

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
Top