Hello everyone. This really has me stumped. I recently started handling data in Excel using structured tables. I believe it would useful to create a working dashboard for customer entry and sales data. I dropped my data in which included:
So --- I dropped in slicers for owner, business line, segment, etx.... no problem. This is to dynamically filer the results.
The output is a table, with months and total sales volume. per month...
The month does not change in the output.
I want to dynamically slice the and see the monthly total. I am able to easily accomplish this using a number methods using of subtotal, sumproduct, if statements... but I want to use the structured table as references..
My calculation goes like: IF MONTH = BOOKING MONTH, SUBTOTAL SLICED DATA
One solution to my problem is a formula like"
=SUMPRODUCT(SUBTOTAL(109,OFFSET(A2,ROW(A2:A281)-ROW(A2),,1)),--(C2:C281 = "Cat1"))
** works fine ** but I would like to embed the table reference but am unsure how to accomplish this.
Something like:
=SUMPRODUCT(--(MONTH(TABLE1[Expected Book Date])=MONTH(G$2)),TABLE1[@Sale Price])
Can't get it to work... I have tried other methods embedding IF statement and ditching SUMPRODUCT... no dice.... I think I just don't under stand how the table is converting to arrays...
Thoughts?
THANKS!!!!
Opportunity Name | OWNER | Business Line | Segment | Expected Book Date | Sale Price |
Opportunity Name 1 | Bob | Install | Field | 1/1/2020 | 1000 |
Opportunity Name 2 | Joe | Service | Corporate | 2/1/2020 | 2000 |
Opportunity Name 3 | Bob | Install | Field | 3/1/2020 | 3000 |
Opportunity Name 4 | Bill | Service | Corporate | 4/1/2020 | 4000 |
Opportunity Name 5 | Jimbo | Install | Field | 5/1/2020 | 5000 |
Opportunity Name 6 | Joe | Service | Corporate | 6/1/2020 | 6000 |
Opportunity Name 7 | Bob | Install | Field | 7/1/2020 | 7000 |
Opportunity Name 8 | Joe | Service | Corporate | 8/1/2020 | 8000 |
So --- I dropped in slicers for owner, business line, segment, etx.... no problem. This is to dynamically filer the results.
The output is a table, with months and total sales volume. per month...
November 1, 2019 | December 1, 2019 | January 1, 2020 | February 1, 2020 | March 1, 2020 | April 1, 2020 | May 1, 2020 | June 1, 2020 |
$$$ | $$ | $$ | $$ | $$ | $$ | $$ | $$ |
The month does not change in the output.
I want to dynamically slice the and see the monthly total. I am able to easily accomplish this using a number methods using of subtotal, sumproduct, if statements... but I want to use the structured table as references..
My calculation goes like: IF MONTH = BOOKING MONTH, SUBTOTAL SLICED DATA
One solution to my problem is a formula like"
=SUMPRODUCT(SUBTOTAL(109,OFFSET(A2,ROW(A2:A281)-ROW(A2),,1)),--(C2:C281 = "Cat1"))
** works fine ** but I would like to embed the table reference but am unsure how to accomplish this.
Something like:
=SUMPRODUCT(--(MONTH(TABLE1[Expected Book Date])=MONTH(G$2)),TABLE1[@Sale Price])
Can't get it to work... I have tried other methods embedding IF statement and ditching SUMPRODUCT... no dice.... I think I just don't under stand how the table is converting to arrays...
Thoughts?
THANKS!!!!