Formula help

rhombus4

Well-known Member
Joined
May 26, 2010
Messages
586
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have numbers which are formatted with no decimal places. i.e. 13/4 =3these are in column A, what I need in column B is a formula which is A*5 but will show 15 not 3.25*5 and also format it in time units of 5 minse.g. if A = 3.25 which will show as 3 then column B will show 15 mins shown as 0.15
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try

=INT(A1)/20


tried to add an if before which works on most, becase I only want it to do the formula if greater than 0

=IF(A5<=0,"",INT(a5)/20) however one of the answers is 0.

It calculates cell d-c which is 12-11.25 which equals 0.75 but when it divides by 20 it shows as 0
 
Upvote 0
Try

=IF(INT(A1)=0,"",INT(A1)/20)


I did change it to =IF(INT(A1)<=0,"",INT(A1)/20)
but one didnt work it was 12-11.25 which shows as 1 but when /20 or multiplied by 0.05 shows as a blank, whereas all the other ones seem to work
 
Upvote 0
Perhaps

=IF(A1<0,"",ROUNDUP(A1,0)/20)

</p>that works for that on but throws up another one 16-5.75 which is 10 shows as 0.55 instead of 0.50</p></p> Also got an 18-4.75 which is 13 which shows as 0.70. Is there a way if the value is over 0.60 to show as 1.10 as in 1hr 10 not 0.70 </p>
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,671
Members
452,937
Latest member
Bhg1984

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