excelenergy
Board Regular
- Joined
- Jun 7, 2012
- Messages
- 142
My formula is below. But this is my issue:
I have sheet 1 and sheet 2. I think what I might be trying to do is simple but I'm not sure if it should be a match, match if or index formula.
In sheet 3 in Column A...I have a list of unique names of clothing brands.
In sheet 2 in Column A...I have a list of the same clothing brands except allot of brand names repeat over and over throughout 1500 lines.
In sheet 2 in column B...Its a column that has a Y or an N....
What I'm trying to do is in sheet3, column B - I want my formula to look up the name in column A, then search the name in SHEET2 and find all the times the clothing brand name appears and how many times "Y" appears for that clothing brand then put that number in the cell in sheet3 column B. My formula:
Some of this formula might be right, but I'm not sure what to add, so it searches through the range and adds up how many times it finds the letter Y. Anyway any help is appreciated.
I have sheet 1 and sheet 2. I think what I might be trying to do is simple but I'm not sure if it should be a match, match if or index formula.
In sheet 3 in Column A...I have a list of unique names of clothing brands.
In sheet 2 in Column A...I have a list of the same clothing brands except allot of brand names repeat over and over throughout 1500 lines.
In sheet 2 in column B...Its a column that has a Y or an N....
What I'm trying to do is in sheet3, column B - I want my formula to look up the name in column A, then search the name in SHEET2 and find all the times the clothing brand name appears and how many times "Y" appears for that clothing brand then put that number in the cell in sheet3 column B. My formula:
Rich (BB code):
=INDEX(Sheet2!$b$2:$b$1517,MATCH(sheet3!"a2",$a$2:$a$345))
Some of this formula might be right, but I'm not sure what to add, so it searches through the range and adds up how many times it finds the letter Y. Anyway any help is appreciated.