Hi,
I have sample data arranged as in columns A:D in the attached worksheet.
I would like to create a formula in cell H3 that will extract from this data the sum of the values associated with the product type named in cell G3 and from the column defined by the text that's in cells H1 and H2.
In addition to using the text in cells H1 and H2 to determine the column from which the data is to be summed, I'd also like to make this range dynamic so that it will extend as far as the penultimate cell in the column (the last cell is the total which I don't want summed).
The number of columns and rows in the actual workbook will be far more than shown here so it would be preferable to have a dynamic solution as suggested above.
This has proven to be beyond my skills so could someone kindly please suggest a solution?
Thanks!
Bookmarks