Nov 2019
2:20pm, 28 Nov 2019
46,592 posts
|
GlennR
Array...
|
Nov 2019
2:47pm, 28 Nov 2019
9,612 posts
|
larkim
I guess the clue's in the name.
Stepping through it logically, I'm guessing it effectively performs multiple individual calculations through arrays of data to output a result - so multiple results on the way to a final result? Though I don't think that's correct, otherwise sumproduct would need a CSE wouldn't it?
|
Nov 2019
2:49pm, 28 Nov 2019
9,613 posts
|
larkim
(Edit - just googled to find out that sumproduct is an array function / formula, but just doesn't need CSE. Now that's confusing!)
|
Nov 2019
3:05pm, 28 Nov 2019
42,853 posts
|
Diogenes
Here's a poser for you.
I have a column of document numbers in column A There are 114 rows of data Each row has the name of 1 or more people who need to approve each document, up to a maximum of 9 approvers, each in their own column
From this I want to create a report grouped by person, listing each document they need to approve
I'm trying to automate this. Any ideas on the best way to manipulate the data to get this?
|
Nov 2019
3:18pm, 28 Nov 2019
116,424 posts
|
GregP
Also did anyone see the puzzle in this week's New Scientist?
Nine columns with an approver in them, or nine columns one for each approver?
|
Nov 2019
3:20pm, 28 Nov 2019
42,854 posts
|
Diogenes
Nine columns with approvers in them An approver could be in any columns, i.e. column C against one doc but column B for another and E for another
|
Nov 2019
3:25pm, 28 Nov 2019
9,616 posts
|
larkim
Sample data? Doc Approver Approver2 Approver3 A Albert Bertie B Bertie Charlie C Albert Bertie Charlie D Charlie Albert E Bertie F Charlie Bertie
Reporting as Approver Albert - A, C, D Bertlie - A, B, C, E, F Charlie - B, C, D, F
|
Nov 2019
3:28pm, 28 Nov 2019
42,855 posts
|
Diogenes
Yes, that's it
|
Nov 2019
3:51pm, 28 Nov 2019
42,857 posts
|
Diogenes
=INDEX(A2:A114,MATCH(L2,B2:B114,0)) find the first instance, where L2 is the name of the approver.
Now to try and get it to return all instances.
|
Nov 2019
4:04pm, 28 Nov 2019
42,858 posts
|
Diogenes
I've named my arrays, but that returns an N/A output
=INDEX(DOCS,MATCH(L2,NAMES,0))
|