Variable start point triggering a row of info

sgarbett364

New Member
Joined
Feb 7, 2012
Messages
9
Hi

I need to create a table of income that is dependant on an employee start date.

Essentially I have a table of employees that need to have variable start dates and from this "trigger point" the row of income an employee will generate will be put in the Income table from that date onwards.

I've attached a screenshot that hopefully explains it better. I can trigger the first month using if's but cant figure out how to then have the following months info following on.

Many thanks
 

Attachments

  • Capture.JPG
    Capture.JPG
    87.2 KB · Views: 7

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi, what version of Office are you using?
Please update your account details to show this, as it affects which functions you can use.
 
Upvote 0
Ok, in that case do you have the new LET function?
 
Upvote 0
Ok, how about
+Fluff v2.xlsm
ABCDEFGHIJ
1
2EE 101/05/2021
3EE 201/02/2021
4EE 301/01/2020
5EE 4
6
7
800020003456456756786789
9
10
1101/01/202101/02/202101/03/202101/04/202101/05/202101/06/202101/07/202101/08/202101/09/2021
12
13EE 1    00020003456
14EE 2 00020003456456756786789
15EE 3000200034564567567867890
16EE 4         
17EE 5         
Master
Cell Formulas
RangeFormula
B13:J17B13=LET(Indx,INDEX($B$2:$B$5,MATCH($A13,$A$2:$A$5,0)),IF(ISNA(Indx),"",IF(OR(Indx="",Indx>B$11),"",INDEX($A$8:$N$8,MONTH(B$11)-MONTH(Indx)+1))))
 
Upvote 0
Not that I understand exactly whats going on here but I think once you get to a value greater than the year end it falls over. I.e Jan 22 should return month 9 of the income plan. The income plan is set rolling outwards ie M1 to M60 assuming 5 years of revenue that increases to a point over 2 years then flattens out. Row 11 represents that income gear up the employee can achieve
 
Upvote 0
Hi

I need to create a table of income that is dependant on an employee start date.

Essentially I have a table of employees that need to have variable start dates and from this "trigger point" the row of income an employee will generate will be put in the Income table from that date onwards.

I've attached a screenshot that hopefully explains it better. I can trigger the first month using if's but cant figure out how to then have the following months info following on.

Many thanks
I hope I'm understanding the problem correctly. If I am, I think the easiest solution is to do either a VLOOKUP or an HLOOKUP, but do an APROXIMATE MATCH rather than the more common EXACT MATCH. With an approximate match, the lookup will search the table for the first value larger than the lookup value and return the previous value. NOTE: THE LEFT COLUMN / TOP ROW MUST BE SORTED SMALLEST TO LARGEST FOR THIS TO WORK. It wasn't clear exactly what your setup is, but hopefully the attached is somewhat self explanatory. In the attached, the formula columns are the formulas of the cells to the left.
 

Attachments

  • TrueLookup50.jpg
    TrueLookup50.jpg
    227.9 KB · Views: 4
Upvote 0
Ok, how about
+Fluff v2.xlsm
ABCDEFGHIJKLMNOPQRS
1
2EE 101/05/2021
3EE 201/02/2021
4EE 301/01/2021
5EE 4
6
7
8000200034564567567867891234234523456456778901235456789235123567
9
10
1101/01/202101/02/202101/03/202101/04/202101/05/202101/06/202101/07/202101/08/202101/09/202101/10/202101/11/202101/12/202101/01/202201/02/202201/03/2022########################
12
13EE 1    000200034564567567867891234234523456456778901235
14EE 2 000200034564567567867891234234523456456778901235456789235
15EE 3000200034564567567867891234234523456456778901235456789235123
16EE 4                  
17EE 5                  
18
19
Master
Cell Formulas
RangeFormula
B13:S17B13=LET(Indx,INDEX($B$2:$B$5,MATCH($A13,$A$2:$A$5,0)),IF(ISNA(Indx),"",IF(OR(Indx="",Indx>B$11),"",INDEX($A$8:$Z$8,COLUMN()-MATCH(Indx,$A$11:$Z$11,0)+1))))
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,212
Members
449,074
Latest member
cancansova

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top