J
John Clarke
I am struggling with a formula using Offset and Match.
I have a table of data and I need to read in data into specific cells,
I am using the combination of Offset and Match and everything is OK
for 90% of the time. My problem is the following:-
I have a number of production lines, some products can be manufactured
on more than one line. Where the product/resource combination is
unique then everything is fine. I need my Offset to match against more
than one criteria.
Example
Resource Product Period 1 qty Period 2 qty etc.....
Line 1 1233 1,000 1,000 .........
Line 1 1445 1,000 1,000 .........
Line 1 2331 1,000 1,000 .........
Line 2 1233 0,000 2,000 .........
Line 2 6823 3,000 4,000 .........
With using offset, when I match against the Product description the
formula assigns the Line 1 production to the Line 2 as well against
product 1233. What I need to do is to match the offset against both
line and product. I have tried using the AND function but this errors.
I have also tried to reference the "Reference" field in the Offset
formula using a combination of Index and Match but again this does not
work.
The one solution I do not want to do is to concatenate the
Product/Resource as I want the data sheet not to have any formulas at
all as this spreadsheet is being constantly updated from an external
source.
Thanks in advance
John C
I have a table of data and I need to read in data into specific cells,
I am using the combination of Offset and Match and everything is OK
for 90% of the time. My problem is the following:-
I have a number of production lines, some products can be manufactured
on more than one line. Where the product/resource combination is
unique then everything is fine. I need my Offset to match against more
than one criteria.
Example
Resource Product Period 1 qty Period 2 qty etc.....
Line 1 1233 1,000 1,000 .........
Line 1 1445 1,000 1,000 .........
Line 1 2331 1,000 1,000 .........
Line 2 1233 0,000 2,000 .........
Line 2 6823 3,000 4,000 .........
With using offset, when I match against the Product description the
formula assigns the Line 1 production to the Line 2 as well against
product 1233. What I need to do is to match the offset against both
line and product. I have tried using the AND function but this errors.
I have also tried to reference the "Reference" field in the Offset
formula using a combination of Index and Match but again this does not
work.
The one solution I do not want to do is to concatenate the
Product/Resource as I want the data sheet not to have any formulas at
all as this spreadsheet is being constantly updated from an external
source.
Thanks in advance
John C