LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B.
 
Posts: n/a
Default IF / Else Format help needed

Hello everyone,

I am hoping someone can help make this a little easier for me to understand.

I have read through most if not all the previous posts on conditional
formating, SUMIF, etc...but I am no further ahead. It's probably simple,
which is why I am not getting it, but here goes....

I need to write a formula that will take the value of 'A' and if 'A' is
greater than 2, subtract 2 and multiple the remainder by 2, then add 3.

Part two or that same formule will say if 'A' is equal to or less than 2,
simply multiply by 1.5

What is boils down to is Overtime Pay Records where if the employee works 2
hours or less of overtime, then pay is at time and a half. If they work more
than 2 hours, the first 2 hours are at time and a half with the remainder at
double time.

Now, one more thing. If possible I would also like to vary the formula based
on 'B' being either 'R' or 'D'. if 'B' = "D" then the entire amount of 'A'
would be double time. If 'B' = "R", then the formula needed above would apply.

Thanks very much for any help.

Cheers!


 
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
Office2000: Conditional format behaves strangely Arvi Laanemets Excel Discussion (Misc queries) 1 April 7th 05 08:47 AM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
why does currency format change to number format? Cassie Excel Discussion (Misc queries) 3 March 18th 05 06:57 PM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
Copying a conditional format Meaux Excel Worksheet Functions 2 November 29th 04 10:19 AM


All times are GMT +1. The time now is 03:18 AM.

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

About Us

"It's about Microsoft Excel"