Excel - searching in database output (INDEX? VLOOKUP? MATCH?) -
i have 2 excel files. 1 workfile in work, other output of database. see pic 1 database output (simplified).
what see here:
- the purchase order numer in
column a
- the row in database in
column b
- the status of row in database in
column c
- the classification in
column d
,w
means product want measure ,p
meaning delivery costs, administration costs etc (we don't want measure this) - the number of items ordered , number of items delivered in
column e
- the company name , product info in
column f
now, want, this:
i want table filled automatically based on database output. works column b, i'm stuck on column c, d , e
.
what want you!
i need column c, d , e.
number of rows: needs calculate rows only w in column d
. item 4410027708
has 2
(only 2 rows w) , item 4410027709
should 1
.
items ordered: needs add-up values directly right of w in column d. so, 4410027708
, needs add 3
, 5
. must ignore rows p!
items delivered: may guess this, needs add up values in column e
on same row column c
to delivered
, only w rows (not p versions). so, item 4410027708
should 0 + 5
, item 4410027709
should 1
.
now, don't know how solve this. i've been trying figure out 2-3 days. please, me! alot :)
Comments
Post a Comment