Hi,
I have a table of data and trying to return a cell value after matching certain criteria (multiple).
I have tried an index and match formula however it isn't working.
The a table is a pivot linked to a database so i can't change any of the data or format it.
Pivot Data:
<TBODY>
</TBODY>
Desired Outcome<STYLE type=text/css>
table.tableizer-table {
border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #ccc;
}
.tableizer-table th {
background-color: #104E8B;
color: #FFF;
font-weight: bold;
}
</STYLE>
<TBODY>
</TBODY>
Now the issue i have is that the date isn't in every cell in column C in the pivot table, only when there is a new date so when i use an index and match the results for "Ben" will always show because there is a date next to that column, however all other results won't show.
The formual and desired outcome was on another tab and using named ranges:
=IFERROR(INDEX(Profit,MATCH(1,(A2=ID)*(B2=Dates),0)),0)
Thanks
Matt
I have a table of data and trying to return a cell value after matching certain criteria (multiple).
I have tried an index and match formula however it isn't working.
The a table is a pivot linked to a database so i can't change any of the data or format it.
Pivot Data:
Year | Month | Date | ID | Sales | Value | Profit |
---|---|---|---|---|---|---|
2013 | March | 10313 | Ben | 100 | 200 | 75 |
James | 50 | 200 | 23 | |||
Paul | 75 | 40 | 1 | |||
20313 | Ben | 200 | 200 | 50 | ||
James | 150 | 120 | 50 | |||
Paul | 40 | 25 | 15 |
<TBODY>
</TBODY>
Desired Outcome<STYLE type=text/css>
table.tableizer-table {
border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #ccc;
}
.tableizer-table th {
background-color: #104E8B;
color: #FFF;
font-weight: bold;
}
</STYLE>
Id | Date | Profit |
---|---|---|
Ben | 10313 | 75 |
James | 10313 | 23 |
Paul | 10313 | 1 |
<TBODY>
</TBODY>
Now the issue i have is that the date isn't in every cell in column C in the pivot table, only when there is a new date so when i use an index and match the results for "Ben" will always show because there is a date next to that column, however all other results won't show.
The formual and desired outcome was on another tab and using named ranges:
=IFERROR(INDEX(Profit,MATCH(1,(A2=ID)*(B2=Dates),0)),0)
Thanks
Matt