T
Tang
i can't figure out why this formula give me #value!
the formula:
=SUMPRODUCT((MID(import_source,FIND("!",import_source)+1,2)=B13)*(dr_cr_ind=
"DR"),amount)
where:
import_source =JVES!$S$2:$S$3000
dr_cr_ind=JVES!$Q$2:$Q$3000
amount =JVES!$P$2:$P$3000
B13 = IH
my formula is sum the amount for the data in import_source with IH after 1st
"!".
example of the data in import_source is as follow:
113185023!IB-MBBN2879!3254153554!06/01/04!FT OUTGOING!-4900002!
70081016!IH-CTB2880!3254153738!06/01/04!FT OUTGOING!-530002!
70081016!IH-CTB2880!3254153738!06/01/04!FT OUTGOING!-530002!
i suspect the error is caused by FIND("!",import_source), but don't know why
can't work. Is it Find don't work under array?
the formula:
=SUMPRODUCT((MID(import_source,FIND("!",import_source)+1,2)=B13)*(dr_cr_ind=
"DR"),amount)
where:
import_source =JVES!$S$2:$S$3000
dr_cr_ind=JVES!$Q$2:$Q$3000
amount =JVES!$P$2:$P$3000
B13 = IH
my formula is sum the amount for the data in import_source with IH after 1st
"!".
example of the data in import_source is as follow:
113185023!IB-MBBN2879!3254153554!06/01/04!FT OUTGOING!-4900002!
70081016!IH-CTB2880!3254153738!06/01/04!FT OUTGOING!-530002!
70081016!IH-CTB2880!3254153738!06/01/04!FT OUTGOING!-530002!
i suspect the error is caused by FIND("!",import_source), but don't know why
can't work. Is it Find don't work under array?