Text Returns Zeroes

RickyD

New Member
Joined
Jan 20, 2019
Messages
1
Have I entered this incorrectly?
=IF(L9<=L10,IF(L10>L11,TEXT(K10,"DDDD"&" Total Hours"),""),"")


91248891/10/2019 8:451/10/2019 9:30REG717455708:459:300:450.751/10/20190.75
91257431/10/2019 8:451/10/2019 9:30REG717455708:459:300:450.751/10/20191.50
91145011/10/2019 8:451/10/2019 9:30REG717455708:459:300:450.751/10/20192.25
40126361/10/2019 8:451/10/2019 9:30REG717455708:459:300:450.751/10/20193.00
91257431/10/2019 9:301/10/2019 14:39REG717455709:3014:395:095.151/10/20198.15
40126361/10/2019 9:301/10/2019 14:39REG717455709:3014:395:095.151/10/201913.30
91145011/10/2019 9:301/10/2019 14:39REG717455709:3014:395:095.151/10/201918.45
91248891/10/2019 9:301/10/2019 14:39REG717455709:3014:395:095.151/10/201923.60Thursday Total 0our0
40126361/11/2019 8:031/11/2019 8:42REG717455708:038:420:390.651/11/20190.65
<colgroup><col width="56" style="width: 42pt; mso-width-source: userset; mso-width-alt: 2048;"> <col width="104" style="width: 78pt; mso-width-source: userset; mso-width-alt: 3803;" span="2"> <col width="64" style="width: 48pt;" span="6"> <col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;"> <col width="64" style="width: 48pt;"> <col width="155" style="width: 116pt; mso-width-source: userset; mso-width-alt: 5668;"> <tbody> </tbody>
The returned value is correct, except that it replaces the H & s in "Hours" with zeros.
Help
 

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"
I presume K is the last column which already contains hours, so would not need formatting using TEXT

perhaps
=K10&" Total Hours"
instead of
=TEXT(K10,"DDDD"&" Total Hours")

=IF(L9<=L10,IF(L10>L11,K10&" Total Hours",""),"")

If this is not what you want, please explain exactly what is in cells in column K
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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