D
David Lipetz
I'm being obtuse today and can't figure out which formula to use to match
the beginning portion of a string.
For instance, in a SUMPRODUCT or IF statement I need to be able to identify
just those records where the first few characters of value in cell within a
named range matches what is specified in the formula.
Named Range = Freight Named Range=FtChg
GR1234 125.00
2D9879 300.00
GR3467 50.00
SA0009 285.00
GR0099 100.00
Using SUMPRODUCT, I'd like to be able to look at just the rows where Freight
starts with "GR". Same for use in IF statements.
I think I can use something like
=SUMPRODUCT(--(LEFT(Freight,2)="GR"),(FtChg)) but there is probably
something simpler?
Thanks,
David
the beginning portion of a string.
For instance, in a SUMPRODUCT or IF statement I need to be able to identify
just those records where the first few characters of value in cell within a
named range matches what is specified in the formula.
Named Range = Freight Named Range=FtChg
GR1234 125.00
2D9879 300.00
GR3467 50.00
SA0009 285.00
GR0099 100.00
Using SUMPRODUCT, I'd like to be able to look at just the rows where Freight
starts with "GR". Same for use in IF statements.
I think I can use something like
=SUMPRODUCT(--(LEFT(Freight,2)="GR"),(FtChg)) but there is probably
something simpler?
Thanks,
David