Hi, I have a Input sheet where only the qty changes, there are 6 sections with varying row numbers (between 5 and 50), I can bring the changes to the qty onto the results sheet with index match but it clumps the results together, is there a way of splitting the results up into there sections, I have hopefully provided a sheet showing this.
Book1.xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | This is the input sheet only the Qty changes | ||||||||||||
2 | PRODUCT | PART NUMBER | Quantity | Unit Price | I can get these results with index match | ||||||||
3 | Section 1 | item 1 | 111 | 1 | 1 | ||||||||
4 | item 2 | 222 | 2 | Quote Sheet | |||||||||
5 | item 3 | 333 | 1 | 3 | PRODUCT | PART NUMBER | Quantity | Unit Price | |||||
6 | item 1 | 111 | 1 | 1 | |||||||||
7 | Section 2 | Item 1 | 444 | 5 | item 3 | 333 | 1 | 3 | |||||
8 | Item 2 | 555 | 2 | 6 | Item 2 | 555 | 2 | 6 | |||||
9 | Item 3 | 666 | 7 | Item 3 | 999 | 4 | 11 | ||||||
10 | |||||||||||||
11 | Section 3 | Item 1 | 777 | 9 | By Adding the section number and a qty into the product line I can get | ||||||||
12 | Item 2 | 888 | 10 | PRODUCT | PART NUMBER | Quantity | Unit Price | ||||||
13 | Item 3 | 999 | 4 | 11 | Section 1 | 1 | |||||||
14 | item 1 | 111 | 1 | 1 | |||||||||
15 | item 3 | 333 | 1 | 3 | |||||||||
16 | Section 2 | 1 | |||||||||||
17 | Item 2 | 555 | 2 | 6 | |||||||||
18 | Section 3 | 1 | |||||||||||
19 | Item 3 | 999 | 4 | 11 | |||||||||
20 | |||||||||||||
21 | Is there anyway I can get | ||||||||||||
22 | PRODUCT | PART NUMBER | Quantity | Unit Price | |||||||||
23 | Section 1 | ||||||||||||
24 | item 1 | 111 | 1 | 1 | |||||||||
25 | item 3 | 333 | 1 | 3 | |||||||||
26 | |||||||||||||
27 | Section 2 | ||||||||||||
28 | Item 2 | 555 | 2 | 6 | |||||||||
29 | |||||||||||||
30 | Section 3 | ||||||||||||
31 | Item 3 | 999 | 4 | 11 | |||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H6:K9 | H6 | =IFERROR(INDEX($B$3:$E$13,SMALL(IF((INDEX($B$3:$E$13,,3)>= 1),MATCH(ROW($B$3:$E$13),ROW($B$3:$E$13)),""),ROWS($B$2:B2)),COLUMNS($B$2:B2)),"") |
Press CTRL+SHIFT+ENTER to enter array formulas. |