ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula to add text after a sum (https://www.excelbanter.com/excel-discussion-misc-queries/92372-formula-add-text-after-sum.html)

Robb @ FLW

Formula to add text after a sum
 
I have a time calculated cell for example =Sum(G2:G364) my result is 210
minutes, then I have another cell that divides it by 60 with a result of 3.5
I would like to add the hrs indicator behind this so that I will see 3.5 hrs

Thank you in advance for any assistance that you can provide
--
Robb

hans bal(nl)

Formula to add text after a sum
 
use =Sum(G2:G364)&" hrs"

Be aware that this converts the rsult into text, which cannot be used a
value anymore.

Hans

"Robb @ FLW" wrote:

I have a time calculated cell for example =Sum(G2:G364) my result is 210
minutes, then I have another cell that divides it by 60 with a result of 3.5
I would like to add the hrs indicator behind this so that I will see 3.5 hrs

Thank you in advance for any assistance that you can provide
--
Robb


Ardus Petus

Formula to add text after a sum
 
You have two options:

1) =G365/60&" hrs"

2) = G365/60
FormatNumberCustomized
0,00" hrs"

Personnaly, I prefer #2

HTH
--
AP

"Robb @ FLW" a écrit dans le message de
news: ...
I have a time calculated cell for example =Sum(G2:G364) my result is 210
minutes, then I have another cell that divides it by 60 with a result of
3.5
I would like to add the hrs indicator behind this so that I will see 3.5
hrs

Thank you in advance for any assistance that you can provide
--
Robb




Ron Coderre

Formula to add text after a sum
 
Here's one option....

Select the cell...then...

From the Excel main menu:
<format<cells<number tab
Category: Custom
Type: General" hrs"
Click the [OK] button

While the value in the cell will still be numeric, it will display as: 3.5
hrs.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Robb @ FLW" wrote:

I have a time calculated cell for example =Sum(G2:G364) my result is 210
minutes, then I have another cell that divides it by 60 with a result of 3.5
I would like to add the hrs indicator behind this so that I will see 3.5 hrs

Thank you in advance for any assistance that you can provide
--
Robb



All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com