indexing - Excel - how to look in a dynamically changing range of multiple rows and columns and retrieve data -
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,wmeans product want measure ,pmeaning 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
i suggest easy if columna can filled down first (including last entry) assuming database output sheet called sheet1, in:
c2: =countifs(sheet1!a:a,a2,sheet1!d:d,"w")
d2: =sumifs(sheet1!e:e,sheet1!a:a,a2,sheet1!d:d,"w")
e2: =sumifs(sheet1!e:e,sheet1!a:a,a2,sheet1!c:c,"to delivered")
copied down suit.


Comments
Post a Comment