I want to perform a sumif type calc based on only matching the first
few characters of my range, rather than the entire value.
e.g. find abc in the cell value abc123 and then get the value from the
next column same row and return a 0 if not found. And do this over a
column of 100 different items, some of which will have matching quot;abcquot;s,
hence the need to sum.
I have tried tinkering with a nested search function in an array but it
returns #value - is there a function equivalent to search that returns
a 0 for not found instead of #value. Or perhaps a smarter way of
dealing with the not founds??
Any other suggestions??
TIA.=SUMIF($A$2:$A$100,E2amp;quot;*quot;,$B$2:$B$100)
where E2 houses a partial string like abc which is a condition that
A2:A100 must meet in order to sum corresponding figures from B2:B100.
wrote:
gt; I want to perform a sumif type calc based on only matching the first
gt; few characters of my range, rather than the entire value.
gt;
gt; e.g. find abc in the cell value abc123 and then get the value from the
gt; next column same row and return a 0 if not found. And do this over a
gt; column of 100 different items, some of which will have matching quot;abcquot;s,
gt; hence the need to sum.
gt;
gt; I have tried tinkering with a nested search function in an array but it
gt; returns #value - is there a function equivalent to search that returns
gt; a 0 for not found instead of #value. Or perhaps a smarter way of
gt; dealing with the not founds??
gt;
gt; Any other suggestions??
gt;
gt; TIA.
gt;
I am incredulous - I cannot believe the solution is so simple -
thankyou indeed very much!
- Aug 07 Thu 2008 20:45
sumif based on partial match
close
全站熱搜
留言列表
發表留言
留言列表

