Excel formula with 03 sub qty

Kalpesh123

New Member
Joined
Dec 30, 2018
Messages
22
AB
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
1
SR.
PRODUCT
BAG
PKT
STRIP
PCS
QTY1
QTY2
QTY3
QTY4
QTY5
TOTAL QTY
BAG PCS
PKT IN BAG
STRIP
IN PKT
PCS IN STRIP
2
1
MD
19 PKT
3 STRIP
8 PCS
380240
150
20
8
798960
24
4
10
3
2
FR
2 BAG
5 PKT
9 PCS
180300
750
421
108
1759
750
15
5
10
4
3
SB11 PKT
2 STRIP
250
210
460
600
15
4
10
5
4
6

<tbody>
</tbody>

I want formula for C,D,E,F
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hello,

Could you please explicit your expected results ... in which cells ...
 
Upvote 0
required result for cell :- c,d,e,f

Hi, I think you were probably being asked to be a bit more descriptive than that, but here is an option you can try.


Excel 2013/2016
ABCDEFGHIJKLMNOP
1SR.PRODUCTBAGPKTSTRIPPCSQTY1QTY2QTY3QTY4QTY5TOTAL QTYBAG PCSPKT IN BAGSTRIP IN PKTPCS IN STRIP
21MD0193838024015020879896024410
32FR2509180300750421108175975015510
43SB0112025021046060015410
Sheet1
Cell Formulas
RangeFormula
C2=INT(L2/M2)
D2=INT(MOD(L2,M2)/(O2*P2))
E2=INT(INT(MOD(INT(MOD(L2,M2)),O2*P2))/P2)
F2=MOD(INT(MOD(INT(MOD(L2,M2)),O2*P2)),P2)
 
Upvote 0
but there is possible where is result is is zero there show blank

Hi, if it's only needed for display purposes you could simply format the cells that contain the formulas with a custom format of:

Code:
0;;
 
Upvote 0
Dear Sir

i didn't understand

I dont know formula for cell C

I USED FORMULA IN CELL D,E,F

D=TRIM(IF(L4>=N4,INT(L4/N4)&" PKT ",""))
E=IF(MOD(L4,N4)>=P4,INT(MOD(L4,N4)/P4)& " STRIP ","")
F=IF(MOD(L4,P4),INT(MOD(L4,P4))&" Pcs","")

please guide me formula for c
 
Upvote 0
Hi, you can use the formulas in post #4 and use custom formatting to change what is displayed.

For example -
- Select column C with your mouse and press CTRL+1 to open the format cells dialogue.
- On the "Number" tab choose "Custom" from the "Category" list - in the "Type:" text box enter below exactly as it is here.
Code:
0 "bag";;
- Press OK

Repeat for the other columns altering "bag" for the other suffixes.
 
Last edited:
Upvote 0
Dear Sir i want formula for cell C
i have formula only 3 cell wich is D,E,F
i dont know formula 4 cell only 3 cell i have formula
so i want formula for 1 cell more
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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