Get value dynamic & sum Excel

ngocanh87

Board Regular
Joined
Mar 16, 2016
Messages
85
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hello,
Sorry for asking too much but I still need support from everyone
:slight_smile:

I have Invoice sheet with dynamic data not fix columns & rows as att file. How can I get value & sum if (QUANTITY (PC), QUANTITY (KGS), AMOUNT(USD) )the same value.

I see some format at A column + Title row: (MM),(OD X MM) will merge
Ex: Get value C,E,G or add I (all dynamic)
42.7x2.3x774 16,326 27,324 30,693

25x25x1.6x8000 200 1.792 1,756.16
6ab8bc85cfde066b8eb2c4f1d3052697e76f4f2a_2_690x279.png


Template INV.xlsx
ABCDEFGHIJKLMNO
1ITEM No.DESCRIPTION OF GOODS (MM)BDLKG/ M QUANTITY (PC) QUANTITY (KGS) U.PRICE (USD/PCS)AMOUNT (USD)
2
3CARBON STEEL TUBESCIF BANGKOK PORT
41Φ42.7x2.3x774922.2908,32614,7581.8815,652.88
51Φ42.7x2.3x774922.0008,00012,5661.8815,040.00
642.7x2.3x77416,32627,32430,693
72Φ48.6x2.4x1,900302.7302,64013,6935.2813,939.20
83Φ48.6x2.4x660452.7304,0107,2251.857,418.50
9TOTAL25939,30275,56682,743.46
10
11ITEM No.PO#SIZE (OD X MM)PC/ BDLKG/ MQUANTITY (PC)N.WEIGHT (MT)U.PRICE (USD/MT)AMOUNT (USD)
1211061525x25x1.6x80001001.1202001.7929801,756.16
1321061530x30x1.6x65001001.3803883.4809803,410.40
1431061550x50x1.6x8000642.3801923.6569803,582.88
1531061550x50x1.6x8000642.3801923.6569803,582.88
16410592100x50x1.6x8000183.6301,10031.94498031,305.12
17Total2,07244.52843,637.44
18
19ITEM No.PO NODISCRIPTION OF GOODS (MM)KG/M QUANTITY (PC) QUANTITY (MT)U.PRICE (USD/MT)AMOUNT (USD)
20
21* ERW CARBON STEEL PIPE
221270722-1ΦOD60.5MM x WT4.2MM x MM/PC6,150 MM 5.8359221.226109023,136.34
232270722-1ΦOD65.0MM x WT4.5MM x MM/PC6,030 MM 6.7143217.478109019,051.02
243290822-1ΦOD76.3MM x WT4.8MM x MM/PC6,450 MM 8.4625013.642104014,187.68
254300522-3ΦOD89.1MM x WT4.8MM x MM/PC6,050 MM 9.9832819.805132026,142.60
265300522-4ΦOD165.2MM x WT5.0MM x MM/PC6,330 MM 19.813516.921136023,012.56
27TOTAL173789.072105,530.20
28
29ITEM No.SIZE (OD X MM)LengthBDLPC/BDLKG/M QUANTITY (PCS) N.WEIGHT (MT) U.PRICE (USD/MT)AMOUNT (USD)
30
31
321(125A) 140X4.5550021015.00201.65012702,095.50
332(150A) 165X5.0550071019.80707.623133210,153.84
343(200A) 216X5.8550018730.1012620.859133227,784.19
35TOTAL:2721630.13240,033.53
36
37ITEM No.DISCRIPTION OF GOODS (MM)KG/ PCS QUANTITY (PC) QUANTITY (KGs)U.PRICE (USD/PCS)AMOUNT (USD)
38
39* JIS CONDUIT EQUIVALENT (EMT PIPE)CIF CY NORTH MANILA, PHILIPPINES
401E19F19.1x1.2x3,6601.945,30610,2942.1311,301.78
412E25F25.4x1.2x3,6602.622,2005,7643.527,744.00
42TOTAL7,50616,05819,045.78
43
44ITEM No.DESCRIPTION OF GOODS (MM)KG/ M QUANTITY (PC) QUANTITY (MT)U.PRICE (USD/PCS)AMOUNT (USD)
45
46* RECTANGULAR PIPECIF CY NORTH MANILA, PHILIPPINES
47119x19x1.2x2,1300.64212,15016.6151.3816,767.00
48219x19x1.2x2,0900.6426,9759.3591.359,416.25
49319x19x1.2x1,7210.6427,4258.2041.138,390.25
50419x19x1.2x1,6580.6422,2502.3951.092,452.50
51TOTAL28,80036.57337,026.00
52
53ITEM No.DISCRIPTION OF GOODS (MM)KG/PCS QUANTITY (PC) QUANTITY (KGS)U.PRICE (USD/PCS)AMOUNT (USD)
54
55123.42mmx1.245mmx3048mm2.0712,00024.8403.7444,880.00
56TOTAL12,00024.84044,880.00
57
58SIZE (mm)QUANTITY (Pcs.)WEIGHT (Kgs)PRICE (per pc)AMOUNT (USD)
59COMMERCIAL QUALITY EQUIVALENT TO BS31:1940 CLASS_B, IN CUT LENGTH OF 10FT, CLASS3
6019.05x1.63x304811,10024123@US$3.0433,744.00
6125.4x1.63x30484,60013,628@US$4.1419,044.00
62TOTAL15,700 Pcs.37,75152,788.00
Sheet1
Cell Formulas
RangeFormula
F62,M42,J42:K42,M6,J6:K6J6=SUM(J4:J5)
H9,O27,L27:M27,O17,L17:M17,M9,J9:K9H9=SUM(H4:H8)
M7:M8,M4:M5M4=ROUND(L4*J4,2)
M32:M34,O22:O26,O12:O16O12=ROUND(M12*N12,2)
J32:J34J32=G32*H32
G35,M35,J35:K35G35=SUM(G32:G34)
M40:M41M40=J40*L40
M51,J51:K51J51=SUM(J47:J50)
N55,M47:M50M47=ROUND(J47*L47,2)
N56,K56:L56K56=SUM(K55:K55)
G62,I62G62=SUBTOTAL(9,G60:G61)
I60:I61I60=H60*F60
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
The trouble with a dynamic range is that if you put a sum in its column you cause a circular reference.
Example my dynamic range is Drange in column A

1680591993869.png
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top