In the example I have two numbers that could drive the change 5 & 20.
I want a list with the maximum amount of change against each of the numbers hence in this example you only see the 20 in what I want to end up with data..
The lines could have up to 25 entries in them on multiple lines. I can create this in Excel but it is very slow as I have thousands of lines.
My Child - Parent relationship is built up from two columns of data A & B, V Lookup to achieve the cascade to the right from Column C onward.
=VLOOKUP(C3,B1:C7,2,FALSE)
&
=VLOOKUP(D3,C17,2,FALSE)
&
So on for around twenty columns until no more parents.
1 How can the V lookup be done within a Query in access or cant it as I have been told ?
2 The second question only if the above can be achieved.
Can the below formula be performed in Access to turn the rows into two columns of data with the max amount against each number.
In B10:
=MIN($B$2:$G$7)
In B11:
=MIN(IF($B$2:$G$7>B10,$B$2:$G$7))
This is an array formula, you have to confirm it with CTRL-SHIFT-ENTER
Copy down
In A10:
=MAX(IF($B$2:$G$7=B10,$A$2:$A$7))
This is an array formula, you have to confirm it with CTRL-SHIFT-ENTER
Copy down
![]()