Amit Punia
Member
I needed a formula which can take 2-3 criteria and based on those criteria it updates the value in the cell. SUMIFS function works perfectly in such cases, however it's of no use when criteria are in horizontal rows and vertical columns. So I used SUMPRODUCT formula to overcome this problem. Now the formula is working absolutely fine, but there is also a slicer in the file next to the table. If I select some of the companies from the slicer then the formula doesn't work properly.
The file is attached for reference. The formula is in range("AY4:BE9"). When all the items are selected in the slicer then the formula works perfectly. The moment I select a single item from the slicer, it shows #value! error instead of the correct value from the table.
Kindly guide.
The file is attached for reference. The formula is in range("AY4:BE9"). When all the items are selected in the slicer then the formula works perfectly. The moment I select a single item from the slicer, it shows #value! error instead of the correct value from the table.
Kindly guide.