SOLVED

Formula for salary budget - month salary starts by drop-down list

%3CLINGO-SUB%20id%3D%22lingo-sub-3014401%22%20slang%3D%22en-US%22%3EFormula%20for%20salary%20budget%20-%20month%20salary%20starts%20by%20drop-down%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3014401%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20for%20a%20formula%20that%20completes%20cells%20with%20a%20salary%20budget%20calendar%20from%20the%20month%20of%20employment%20onwards%3A%26nbsp%3BEmployment%20start%20column%20cell%20(now%20March)%20is%20a%20drop-down%20list.%20When%20this%20month%20changes%2C%20the%20cell%20with%20the%20respective%20months%20forward%20should%20change%20(now%20March%2C%20April%2C%20May%2C%20June)%2C%20and%20all%20previous%20months%20to%20be%200%20(like%20in%20January%2C%20February).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20advice%20in%20advance.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22888%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22129%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22129%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22330%22%3EQ1%3C%2FTD%3E%3CTD%20width%3D%22300%22%3EQ2%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3BSalary%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3BEmployment%20start%26nbsp%3B%3C%2FTD%3E%3CTD%3EJanuary%3C%2FTD%3E%3CTD%3EFebruary%3C%2FTD%3E%3CTD%3EMarch%3C%2FTD%3E%3CTD%3EApril%3C%2FTD%3E%3CTD%3EMay%3C%2FTD%3E%3CTD%3EJune%3C%2FTD%3E%3C%2FTR%3E%3CTR%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26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20000%2C00%20K%C4%8D%3C%2FTD%3E%3CTD%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20000%2C00%20K%C4%8D%3C%2FTD%3E%3CTD%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20000%2C00%20K%C4%8D%3C%2FTD%3E%3CTD%3E%26nbsp%3B%2010%20000%2C00%20K%C4%8D%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3014401%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Dear Community,

 

I am looking for a formula that completes cells with a salary budget calendar from the month of employment onwards: Employment start column cell (now March) is a drop-down list. When this month changes, the cell with the respective months forward should change (now March, April, May, June), and all previous months to be 0 (like in January, February). 

 

Thank you for your advice in advance. 

 

  Q1Q2
 Salary  Employment start JanuaryFebruaryMarchAprilMayJune
        
                10 000,00 Kč March                                -   Kč                     -   Kč      10 000,00 Kč      10 000,00 Kč      10 000,00 Kč  10 000,00 Kč
6 Replies

HI @janhouskaRMHC 

 

You may achieve your requirement using below formula:

=IF((C2>=$B$4),$A$4,0)

 

tauqeeracma_0-1639130398110.png

 

You may also refer to the attached file for more clarity.

Please let me know if it works for you.

 

Thanks

Tauqeer

Dear @tauqeeracma,

 

Thank you very much for your kind assistance. I already solved this riddle by IF formula, but your help is appreciated. 

 

All the best!

 

Jan

@janhouskaRMHC 

For anyone with Excel 365 this reduces to a formula for the displayed dates and a single spilt range formula for employees 

= EOMONTH(displayStart, SEQUENCE(1,12,0))

= IF(displayDate>=employmentStart, Salary, "")

image.png

For those without 365 (or Excel 2021), bad luck!  My sympathies.

Hi Peter, thank you very much for your response. I am the one with Excel 2021, but I appreciate your help anyway. Best, Jan
best response confirmed by janhouskaRMHC (New Contributor)
Solution

@janhouskaRMHC 

If you do have Excel 2021, the attached file should work.  Formulae are to be found in the blue shaded cells and the two columns to the left are an Excel Table

image.png

Thank you very much, @Peter Bartholomew, this looks great.