LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
FRN FRN is offline
external usenet poster
 
Posts: 1
Default Logical Functions


I am working on a spreadsheet for compensation
and I need help with the Add’t mths columns.
The spreadsheet should take Years of service
in column B and calculate additional months
(0,1 or 2 months) of severance base on years
of service. Below is an example of the
spreadsheet an as I said column E is what I
need help on to write a formula.

A B C D E
1 Annual RT Years of Service Mnths Of Severance Severance $ Add't mths

2 35700 21 12.5 $37,187.50 2
3 43500 10 6 $21,750.00 1
4 24800 6 3.02 $6,241.33 0

Column E add’t mths is where I need help.
I need that column to reflect the following:

IF B2 or = to 20 should show 2
IF B2 or = to 10 should show 1
IF B2 < 10 should show 0

I need all these options in one formula in cells
E2, E3, E4 and so on. Can you Help me?
FRN


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

 
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
logical functions Terri Farm[_2_] Excel Worksheet Functions 6 August 20th 09 06:50 AM
logical functions Ali Akbar Excel Worksheet Functions 3 February 11th 07 08:00 PM
using logical functions civilized_engr Excel Worksheet Functions 3 June 10th 06 05:41 PM
logical functions wiz546 Excel Worksheet Functions 1 February 1st 05 09:42 AM
logical functions wiz546 Excel Worksheet Functions 1 February 1st 05 03:02 AM


All times are GMT +1. The time now is 01:24 AM.

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"