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).

picture 1

what see here:

  1. the purchase order numer in column a
  2. the row in database in column b
  3. the status of row in database in column c
  4. the classification in column d, w means product want measure , p meaning delivery costs, administration costs etc (we don't want measure this)
  5. the number of items ordered , number of items delivered in column e
  6. the company name , product info in column f

now, want, this:

picture 2

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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -