chris_haynes
New Member
- Joined
- Jul 19, 2011
- Messages
- 3
Hi
My first post andi have to say this place has helped me a lot in the past so thank you
i have a formula below, looking up gross premiums, admin fee etc along the top row and multiple clients and product types in the columns (hence the concatenate). My source data may have the client+prod type combo more than once.
Now after learning this my formula does work, well for the few cells i've tested it for anyway......
=SUMIF(RECAP!$E$5:$E$1358,CONCATENATE($C6,LEFT($D6,6)),INDEX(RECAP!$F$5:$Y$1358,0,MATCH($K$5,RECAP!$E$4:$Y$4,0)-1))
however for some reason the index and match returns the column +1 is what it should do? as it hasnt done in the past when i use it with a vlookup. say if i have my match in J, it sums up K which is why i had to put in the -1.
Has anyone ever experienced this or know why its doing this as i think its correct what i've done.
Thanks in advance
Chris
My first post andi have to say this place has helped me a lot in the past so thank you
i have a formula below, looking up gross premiums, admin fee etc along the top row and multiple clients and product types in the columns (hence the concatenate). My source data may have the client+prod type combo more than once.
Now after learning this my formula does work, well for the few cells i've tested it for anyway......
=SUMIF(RECAP!$E$5:$E$1358,CONCATENATE($C6,LEFT($D6,6)),INDEX(RECAP!$F$5:$Y$1358,0,MATCH($K$5,RECAP!$E$4:$Y$4,0)-1))
however for some reason the index and match returns the column +1 is what it should do? as it hasnt done in the past when i use it with a vlookup. say if i have my match in J, it sums up K which is why i had to put in the -1.
Has anyone ever experienced this or know why its doing this as i think its correct what i've done.
Thanks in advance
Chris