Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 929

Create pivot-table like report filter using excel formula

$
0
0

I have the following structure in excel:

Sheet1 = ReportSheet2 = Data1Sheet3 = Data2Sheet4 = Data3Sheet5 = Data4

Data in each of data sheets (Sheet 2 to 5) is in the following fixed format with varying data:

Sr. | col1 | col2 | col3 | col4

Report is in following format:

Rows for Col4 ValuesColumns for Data1,2,3,4…And cells showing count of Sr. From respective data sheet as per column and row values. (This is done using COUNTIFS function as of now)

What I want to achieve:I want to be able to put filter of unique values of Col1, Col2, and Col3 separately. So three different filter cells. In those cells, there will be a data validation dropdown. If user selects a value, the report should show count of Sr considering that filter in respective data sheet (each column in report). And if nothing is selected, ignore that col and select all data to count St.

This is similar to having a pivot table report filter for that data value.

However, I am not able to use the Pivot as I will need as many pivots as many Data Sheets I have. Further, I cannot consolidate those data sheets into one single sheet to generate a pivot also.

Therefore, I need to manually create a report using formula.

Now, if I use countifs then the formula gets too complicated due to permutations of selecting a filter.

Is there any other solution to achieving this?


Viewing all articles
Browse latest Browse all 929

Trending Articles