please help me

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
406
Office Version
  1. 2021
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD]25
[/TD]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD]0
[/TD]
[TD]250
[/TD]
[/TR]
[TR]
[TD]60
[/TD]
[TD]125
[/TD]
[TD][/TD]
[TD][/TD]
[TD]7
[/TD]
[TD]500
[/TD]
[/TR]
[TR]
[TD]100
[/TD]
[TD]336
[/TD]
[TD][/TD]
[TD][/TD]
[TD]33
[/TD]
[TD]600
[/TD]
[/TR]
[TR]
[TD]369.25
[/TD]
[TD]1425
[/TD]
[TD][/TD]
[TD][/TD]
[TD]526
[/TD]
[TD]181
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]




I want A x B = answer in two raw ( last 3 digit n "F" and first any amount digit in "E")

what can i do ?

pls help me
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
[table="width:, class:grid"][tr][td="bgcolor:#c0c0c0"][/td][td="bgcolor:#c0c0c0"]
a​
[/td][td="bgcolor:#c0c0c0"]
b​
[/td][td="bgcolor:#c0c0c0"]
c​
[/td][td="bgcolor:#c0c0c0"]
d​
[/td][td="bgcolor:#c0c0c0"]
e​
[/td][td="bgcolor:#c0c0c0"]
f​
[/td][td="bgcolor:#c0c0c0"]
g​
[/td][td="bgcolor:#c0c0c0"]
h​
[/td][/tr][tr][td="bgcolor:#c0c0c0"]
1​
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][td="bgcolor:#f3f3f3"]
[/td][/tr]
[tr][td="bgcolor:#c0c0c0"]
2​
[/td][td]
25​
[/td][td]
10​
[/td][td][/td][td][/td][td="bgcolor:#ccffcc"]
0​
[/td][td="bgcolor:#ccffff"]
250​
[/td][td][/td][td="bgcolor:#ccffcc"]e2: =int(a2*b2/1000)[/td][/tr]
[tr][td="bgcolor:#c0c0c0"]
3​
[/td][td]
60​
[/td][td]
125​
[/td][td][/td][td][/td][td="bgcolor:#ccffcc"]
7​
[/td][td="bgcolor:#ccffff"]
500​
[/td][td][/td][td="bgcolor:#ccffff"]f2: =mod(a2*b2, 1000)[/td][/tr]
[tr][td="bgcolor:#c0c0c0"]
4​
[/td][td]
100​
[/td][td]
336​
[/td][td][/td][td][/td][td="bgcolor:#ccffcc"]
33​
[/td][td="bgcolor:#ccffff"]
600​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#c0c0c0"]
5​
[/td][td]
369.25​
[/td][td]
1425​
[/td][td][/td][td][/td][td="bgcolor:#ccffcc"]
526​
[/td][td="bgcolor:#ccffff"]
181.25​
[/td][td][/td][td][/td][/tr]
[/table]
 
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #c0c0c0"][/TD]
[TD="bgcolor: #c0c0c0"]
a​
[/TD]
[TD="bgcolor: #c0c0c0"]
b​
[/TD]
[TD="bgcolor: #c0c0c0"]
c​
[/TD]
[TD="bgcolor: #c0c0c0"]
d​
[/TD]
[TD="bgcolor: #c0c0c0"]
e​
[/TD]
[TD="bgcolor: #c0c0c0"]
f​
[/TD]
[TD="bgcolor: #c0c0c0"]
g​
[/TD]
[TD="bgcolor: #c0c0c0"]
h​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #c0c0c0"]
1​
[/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[TD="bgcolor: #f3f3f3"][/TD]
[/TR]
[TR]
[TD="bgcolor: #c0c0c0"]
2​
[/TD]
[TD]
25​
[/TD]
[TD]
10​
[/TD]
[TD][/TD]
[TD][/TD]
[TD="bgcolor: #ccffcc"]
0​
[/TD]
[TD="bgcolor: #ccffff"]
250​
[/TD]
[TD][/TD]
[TD="bgcolor: #ccffcc"]e2: =int(a2*b2/1000)[/TD]
[/TR]
[TR]
[TD="bgcolor: #c0c0c0"]
3​
[/TD]
[TD]
60​
[/TD]
[TD]
125​
[/TD]
[TD][/TD]
[TD][/TD]
[TD="bgcolor: #ccffcc"]
7​
[/TD]
[TD="bgcolor: #ccffff"]
500​
[/TD]
[TD][/TD]
[TD="bgcolor: #ccffff"]f2: =mod(a2*b2, 1000)[/TD]
[/TR]
[TR]
[TD="bgcolor: #c0c0c0"]
4​
[/TD]
[TD]
100​
[/TD]
[TD]
336​
[/TD]
[TD][/TD]
[TD][/TD]
[TD="bgcolor: #ccffcc"]
33​
[/TD]
[TD="bgcolor: #ccffff"]
600​
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #c0c0c0"]
5​
[/TD]
[TD]
369.25​
[/TD]
[TD]
1425​
[/TD]
[TD][/TD]
[TD][/TD]
[TD="bgcolor: #ccffcc"]
526​
[/TD]
[TD="bgcolor: #ccffff"]
181.25​
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


thank you for nice response..


but when i multiply 25 x 1000 then answer is on E2 is "25" and F2 have only "0", ( I want "000" in F2)

and if i multiply 25 x 10000 , then E2 = "250" and F2 = "000"


please update it and give me new formula
 
Upvote 0
try, format cells in column F as Custom > type > 000


Book1
ABCDEF
125100250
2601257500
310033633600
4369.251425526181
525100025000
Sheet2
Cell Formulas
RangeFormula
E1=INT(A1*B1/1000)
F1=ROUND(MOD(A1*B1, 1000),0)
 
Upvote 0
try, format cells in column F as Custom > type > 000

ABCDEF

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]0[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]250[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]7[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]500[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]336[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]33[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]600[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]369.25[/TD]
[TD="align: right"]1425[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]526[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]181[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]25[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]000[/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]E1[/TH]
[TD="align: left"]=INT(A1*B1/1000)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]F1[/TH]
[TD="align: left"]=ROUND(MOD(A1*B1, 1000),0)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for INT formula new for me
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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