I am trying to work out how to show items that are not in two arrays.
I have one from a RESTAPI from out finance system that shows what accounts are valid with which cost centres;
[
{
"Acc": "N3200",
"CostC": "W61000"
},
{
"Acc": "N4500",
"CostC": "W62000"
}
]
I then have an excel file (neatened a little)
[
{
"Acc": "N3200",
"CostC": "W61000"
},
{
"Acc": "N4500",
"CostC": "W61000"
},
{
"Acc": "N3200",
"CostC": "W62000"
},
{
"Acc": "N4500",
"CostC": "W62000"
}
]
I can use intersect to get the underlined items that are in both arrays. I can use filter to filter by account and/or cost centre (but that just shows all entries).
What I can't work out how to do is filter the excel based array to show the items where a combination of account and cost centre aren't in the RESTAPI array (the bold items).