ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   pivot table - trying to find A OR B instead of A AND B (https://www.excelbanter.com/excel-discussion-misc-queries/134702-pivot-table-trying-find-b-instead-b.html)

data analyst

pivot table - trying to find A OR B instead of A AND B
 
This is how my pivot table is set up in the top left. (example)

Category (Name of Grocery Store) (Cub)
Subcategory (Department) (Fruit & Veg)
product (Name of Product) (Pear)
additional product (Name of Product) (Apple)

The same drop list is available for 'product' and 'additional product'.
Right now, if i put Pear in both boxes, i get only results where people put
pear in both boxes. I'm looking for a way to get records if people put pear
in 'product' OR 'additional product'. Basically an OR instead of an AND.

mo

pivot table - trying to find A OR B instead of A AND B
 
use the locical =or fuction.

=OR(A1=PEAR,A2=PEAR) WILL RETURN TRUE IF EITHER IS TRUE.

Any help



All times are GMT +1. The time now is 01:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com