#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Formulas

I want to be able to add across using a formula so that if cell c4 is 8R4OT
and cell d4 is 4S4R and cell e4 is 8V then cell j4 is 12 and cell k4 is 4 and
cell L4 is 4 and so on please help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default Using Formulas

Your previous post just below this one in this formum, at
http://www.microsoft.com/office/comm...b-89c18f5d02ca
actually explains it a little better.

It's a timesheet problem folks! 4R = 4 hrs regular, 4S = 4 hrs Sick, 4OT =
4 hrs overtime, 8V = 8 hrs vacation etc. or so I presume.

fshewmkr, you really are better off using more rows instead of trying to put
everything into one cell. I'd rearrange the timecard so that you can record
the various types of hours in different Rows. Things become much easier then.

Consider a layout something like this, which is good for one employee, not
quite as good for multiple employees on the same sheet, but can be adapted to
work that way.

Column A B C D E F G H I J
row 1 name ID M T W Th F S S total
row 2 regular hours # # # # # # # ##
row 3 overtime # # # # # # # ##
row 4 vacation # # # # # # # ##
row 5 sick .... etc, etc

Row #? next name ID ...........



Having the possiblity of multiple types of times in a single cell makes it
one hell of a complicated mess to deal with.

"fshewmkr" wrote:

I want to be able to add across using a formula so that if cell c4 is 8R4OT
and cell d4 is 4S4R and cell e4 is 8V then cell j4 is 12 and cell k4 is 4 and
cell L4 is 4 and so on please help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Using Formulas

Please explain where the 12, 4 and 4 come from.
It is not obvious to me
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"fshewmkr" wrote in message
...
I want to be able to add across using a formula so that if cell c4 is
8R4OT
and cell d4 is 4S4R and cell e4 is 8V then cell j4 is 12 and cell k4 is 4
and
cell L4 is 4 and so on please help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Using Formulas

A formula puts a value into one cell.

In cell J4 you want the formula
=IF(AND(c4="8R4OT",d4="4S4R",e4="8V"),12,"whatever you want the answer to be
if the AND condition isn't satisfied")
In K4 you want
=IF(AND(c4="8R4OT",d4="4S4R",e4="8V"),4,"whatever you want the answer to be
if the AND condition isn't satisfied")
In L4 you want
=IF(AND(c4="8R4OT",d4="4S4R",e4="8V"),4,"whatever you want the answer to be
if the AND condition isn't satisfied")
and so on.
--
David Biddulph


"fshewmkr" wrote in message
...
I want to be able to add across using a formula so that if cell c4 is 8R4OT
and cell d4 is 4S4R and cell e4 is 8V then cell j4 is 12 and cell k4 is 4
and
cell L4 is 4 and so on please help.



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
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 08:28 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"