Hi guys, thanks in advance.
As always, attached is an example for reference and I will walk through what I am trying to do using the attached example.
Issue: What formula would I use to do index matching to look up and count the number of products in a range? (note, it will be index matching in another workbook, so it needs to reference the other workbook).
Here's my example:
I need a formula to reference the code in column A to look up the code in column D (the black bar is meant to visually represent that columns d-s are a different workbook) and count the number of x's (products) in range E:S. The number of products should be returned in column B (where the ? is). Unfortunately it wont actually be that easy because its going to be something like count the number of x's (products) in columns E:I and O:Y, meaning there is a break of 5 columns it would actually be counting (not represented in this example). I'm not sure if that makes a difference for the formula.
Also, as you can see, the codes in column D are in no particular order. Preferably I would like to leave the data the way it is arranged and not have to sequentially order the codes. There are a total of 70 codes, but I would like the formula to reference 100 rows total, so rows 2:102. After code 70, no more codes are input. I just added a little buffer into the range.
In this example, cell B2 should return a value of 4, since there are four x's in E15:S15 (note the code in column D).
Thank you so much!!!
Excel Forum Help.xlsx
Bookmarks