i have a column in which i have values after decimals.
i.e 29.33, 34.45, 45.43 etc. now i want to multiply the only after decimal values with a number. how it be possible?
i have a column in which i have values after decimals.
i.e 29.33, 34.45, 45.43 etc. now i want to multiply the only after decimal values with a number. how it be possible?
Hello Salahuddin,
What about using these formulas, assuming you have a data in B5:
Multiply with a fix value, e.g. 7:
=(B5-TRUNC(B5))*7
Multiply with a fix cell value, e.g.A3:
=(B5-TRUNC(B5))*$A$3
Multiply values in the column B with the corresponding values in column C:
=(B5-TRUNC(B5))*C5
Or, if you want to multiply the after decimal parts of two columns:
=(A5-TRUNC(A5))*(B5-TRUNC(B5))
I'm not sure to understand your question correctly. If it is the integer you are after then the TRUNC() function is the one to use, as suggested by Chhabi. However, if you wish to multiply the decimal value only then it would be something like
=Mod(B5,1)*7
where B5 holds the original value and 7 is the number by which to multiply which, of course, could also be the value of a referenced cell.