How do I multiply two cells with different cell formats?

jparks1015

New Member
Joined
Nov 27, 2017
Messages
10
I am trying to do this equation in excel but am not getting the right answer
80:00:00 x $13.66
The 80:00:00=hours worked (calculated from a large formula), the format is [h]:mm:ss
$13.66 is the pay (entered straight into the cell it resides in), the format is currency
The answer is get is 45.533333 which is obviously not correct.
I tried changing the format of the cell that the answer goes into but nothing gives the right answer ($1092.80)
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
It is important to understand how Excel stores date and time. They are stored as numbers, specifically the number of days since 1/0/1900.
So a unit of 1 is 1 day. So hours are fractions of a day. So 80 is really 3.33 (if you temporarily go to you hour cell and format as General, you will see this).
So, in order to get what you want, you will need to multiply those two cells, and then multiply that by 24, i.e.
Code:
=A1 * B1 * 24
 
Upvote 0
maybe...with C formatted as a number

Unknown
ABC
213.6680:00:001092.8

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
C2=(A2*B2)*24

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
You are welcome!:)
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

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