Hi,
I am trying to create a VBA Countif function with an OR condition inside if one of the following values is found. For instance, in this code:
Here, the numerator would contain the count of cells with colors red or blue in the colorColumn, for the i index in the BrandArray in the brandColumn, with a purpose of 1 within the purposeColumn, with the material codes of 1,2,3,7,8,9, or 10 in the materialColumn. But I must be doing something wrong because the code only checks for 1 in the materialColumn, not the full list of numbers (the rest of the code works as normal).![]()
Please Login or Register to view this content.
Do I have the syntax wrong for how to perform this?
Thank you.
Bookmarks