Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HRMSN
 
Posts: n/a
Default Text and Function Formulas

I am trying to create a function which in one cell will indicate the number
of overtime hours an employee worked in the pay period. I need the formulas
function to grab the number of overtime hours from another worksheet (in the
form of a number) as well as write the text "OT" right after the number. How
is this possible? I have had a few ideas but have not been able to make it
work yet...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Text and Function Formulas

use

=Sheet2!H10

or whatever cell it is, and then format the cell as 0"OT"

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"HRMSN" wrote in message
...
I am trying to create a function which in one cell will indicate the

number
of overtime hours an employee worked in the pay period. I need the

formulas
function to grab the number of overtime hours from another worksheet (in

the
form of a number) as well as write the text "OT" right after the number.

How
is this possible? I have had a few ideas but have not been able to make

it
work yet...



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SVC
 
Posts: n/a
Default Text and Function Formulas

Assuming the overtime hours are in Sheet2, Cell A1, then in Sheet1, Cell A1
type =TEXT(Sheet2!A1,"0.0"& "OT"). The "0.0" is used for a single decimal
point. Change this as needed. The result is treated as text and cannot be
used directly for calculations.

If you do want cells that are equal "0" or are blank on Sheet2 to have a
value on Sheet1, use this formula: =IF(Sheet2!A1="",
"",IF(Sheet2!A1=0,"",(TEXT(Sheet2!A1,"0.0") &" OT")))

"HRMSN" wrote:

I am trying to create a function which in one cell will indicate the number
of overtime hours an employee worked in the pay period. I need the formulas
function to grab the number of overtime hours from another worksheet (in the
form of a number) as well as write the text "OT" right after the number. How
is this possible? I have had a few ideas but have not been able to make it
work yet...

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Concatenate function to generate text in Text Box Mary S. Charts and Charting in Excel 1 December 14th 05 08:55 PM
Wrap text ceases to function in Excel if cell exceeds 9 lines nycemail Excel Worksheet Functions 1 July 24th 05 06:09 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"