# Annual Bonus Calc Based on Hired Month

#### merivera

##### New Member
Hi-

I need help trying to come up with a formula that will retrieve a set bonus percent based on hired month. I'm working on 2019. Please see my data below.

Month Pro-Rate
Jan 19 100%
Feb 19 92%
Mar 19 83%
Apr 19 75%
May 19 67%
Jun 19 58%
Jul 19 50%
Aug 19 42%
Sep 19 33%
Oct 19 0%
Nov 19 0%
Dec 19 0%

Anyone that was hired prior to 1/1/19 qualify for 100% of their bonus. Anyone hired as of 10/1/19 through current date does not qualify. Here's my list of test employees.

EE Name Date of hire
Jon Jon 01/01/2015
Jane Doe 01/01/2014
John Doe 01/06/2015
Sam Mitchell 01/01/2019
Grant Hill 11/01/2019
Lucas, Ken C 01/01/2020

If you started prior to 1/31/2019 your bonus amount would be 100%.

If you started on 2/1/2019 through current date, your bonus would be prorated.

Help I need to solve this asap.

Thank you!

### Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

#### Dave Patton

##### Well-known Member
Book1
ABCDEF
1NameHire DateBonus %01-Jan-1925100%
2Jon Jon01-Jan-15100.00%01-Feb-1992%
3Jane Doe01-Jan-14100.00%01-Mar-1983%
4John Doe01-Jun-15100.00%01-Apr-1975%
5Sam Mitchell01-Jan-19100.00%01-May-1967%
6Grant Hill01-Nov-190.00%01-Jun-1958%
7Ken Lucas01-Jan-200.00%01-Jul-1950%
8a01-Apr-1975.00%01-Aug-1942%
9b01-May-1967.00%01-Sep-1933%
10c01-Jun-1958.00%01-Oct-19
11d01-Feb-1992.00%
1e
Cell Formulas
RangeFormula
C2:C11C2=LOOKUP(B2,\$E\$1:\$F\$10)

If you do not want the Lookup table

=LOOKUP(B2,{9133,1;43497,0.92;43525,0.83;43556,0.75;43586,0.67;43617,0.58;43647,0.5;43678,0.42;43709,0.33;43739,0})

#### merivera

##### New Member
This formula worked! Thank you.

If I wanted to house the table on a seperate tab so I could have the flexibility to adjust the percents in the future. What would the formula be?

#### Dave Patton

##### Well-known Member
With the table on a sheet named 1d formula would be =LOOKUP(B2,'1d'!\$E\$1:\$F\$10)

Edit for the name of the Sheet that you decide to use.

An alternative would be to name the Lookup information in Formulas Name Manager for example
- new name say Bonus
={9133,1;43497,0.92;43525,0.83;43556,0.75;43586,0.67;43617,0.58;43647,0.5;43678,0.42;43709,0.33;43739,0}

The formula would then be =LOOKUP(B3,Bonus)

Replies
12
Views
238
Replies
2
Views
119
Replies
6
Views
640
Replies
13
Views
260
Replies
2
Views
99

1,127,173
Messages
5,623,184
Members
415,956
Latest member
locos

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back