Hi All,
First of all, apologies for the title of the thread, but I don't have any easy way to explain what I need
I've got 2 tables:
Table#1 contains raw data, which is defined with codes
Table#2 is a mapping of codes and destinations
I'm trying to build a report that aggregates the data on a destination level (there can be multiple codes assigned to a single destination).
I've tried the following:
=SUM(SUMIFS(C7:C13,B7:B13,INDEX(G7:G12,MATCH(O7,H7:H12,0))))
This doesn't work as the index/match bit returns a single value (I need an array instead)
What I would like to do is this:
=SUM(SUMIFS(C7:C13,B7:B13,{"Code1 OP","Code1 P","Code1 Wed"}))
But obviously I don't want to hard code the values in the array manually.
I've uploaded a file with an example.
Thanks in advance for your time!
Gael
First of all, apologies for the title of the thread, but I don't have any easy way to explain what I need
I've got 2 tables:
Table#1 contains raw data, which is defined with codes
Table#2 is a mapping of codes and destinations
I'm trying to build a report that aggregates the data on a destination level (there can be multiple codes assigned to a single destination).
I've tried the following:
=SUM(SUMIFS(C7:C13,B7:B13,INDEX(G7:G12,MATCH(O7,H7:H12,0))))
This doesn't work as the index/match bit returns a single value (I need an array instead)
What I would like to do is this:
=SUM(SUMIFS(C7:C13,B7:B13,{"Code1 OP","Code1 P","Code1 Wed"}))
But obviously I don't want to hard code the values in the array manually.
I've uploaded a file with an example.
Thanks in advance for your time!
Gael