+ Reply to Thread
Results 1 to 8 of 8

Google Sheet - Array Formulas - Help with an additional argument to account for raises

  1. #1
    Registered User
    Join Date
    11-06-2022
    Location
    Maryland
    MS-Off Ver
    16.70 (365) & Google Sheets
    Posts
    47

    Google Sheet - Array Formulas - Help with an additional argument to account for raises

    Hello,

    Thanks in advance for the help.

    Sample sheet is attached in Desktop Excel, but I need to adapt to Google Sheets

    I have an array formula in Google sheets that pulls a monthly salary based on start date and current month, but I also need to add a 3% raise at each work anniversary??? Any suggestions??

    So for employee one - I need a 3% increase starting 6/1/24 - 5/1/24, then an additional 3% starting 6/1/25-5/1/25.

    Possible?, not overly complicated?
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    05-13-2023
    Location
    Venera
    MS-Off Ver
    2007
    Posts
    79

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    Possible, I have done it.

    I added to your formula
    Please Login or Register  to view this content.
    so that the start salary increases every year.

    You can adjust the raise in cell B17.

    Try it.
    Attached Files Attached Files
    Last edited by oEx; 11-18-2023 at 01:04 PM.

  3. #3
    Registered User
    Join Date
    11-06-2022
    Location
    Maryland
    MS-Off Ver
    16.70 (365) & Google Sheets
    Posts
    47

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    Thanks! Great Help.

    Can you help converting that formula to google sheet Array. When I insert it does not translate.

    Here is the formula with correct grid info: pulls correct number but no array
    =IF($D16:$D1000<AA$14,$E16:$E1000*POWER(1+$P$11,ROUNDDOWN(DATEDIF($D16:$D1000,AA$15,"m")/12,0))/12,0)+IF(($D16:$D1000>=AA$14)*($D16:$D1000<=AA$15),((AA$15-$D16:$D1000)/365)*$E16:$E1000,0)

    I tried this but It doesn't work:
    =ARRAY_CONSTRAIN(ARRAYFORMULA(IF($D16:$D1000<AA$14,$E16:$E1000*POWER(1+$P$11,ROUNDDOWN(DATEDIF($D16:$D1000,AA$15,"m")/12,0))/12,0)+IF(($D16:$D1000>=AA$14)*($D16:$D1000<=AA$15),((AA$15-$D16:$D1000)/365)*$E16:$E1000,0)))

    Any tips? Thanks!!

  4. #4
    Banned User!
    Join Date
    05-13-2023
    Location
    Venera
    MS-Off Ver
    2007
    Posts
    79

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    Sample sheet works fine in Google Sheets.

    Without actual sheet I am afraid I am not able to help.

  5. #5
    Registered User
    Join Date
    11-06-2022
    Location
    Maryland
    MS-Off Ver
    16.70 (365) & Google Sheets
    Posts
    47

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    Can you use this link. Google Sheets does not have table functions so I need to use an array formula so that the formula in E5 copies down the row automatically even if a row is added. right now you would have to drag down the formula when adding rows

    http://https://docs.google.com/spreadsheets/d/1xRx3kEyFQQynG-C52ppFzYcJEUrPUS10/edit#gid=1566403933

  6. #6
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,085

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    remove the ARRAY_CONSTRAIN()

    then clear out all the cells under the first row
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  7. #7
    Registered User
    Join Date
    11-06-2022
    Location
    Maryland
    MS-Off Ver
    16.70 (365) & Google Sheets
    Posts
    47

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    I was unsuccessful following these instructions, its giving me a #value error. Can I get permission to use your formula and see if anyone has ideas to convert to an array formula?

    https://docs.google.com/spreadsheets...gid=1566403933

  8. #8
    Registered User
    Join Date
    11-06-2022
    Location
    Maryland
    MS-Off Ver
    16.70 (365) & Google Sheets
    Posts
    47

    Re: Google Sheet - Array Formulas - Help with an additional argument to account for raises

    NEVERMIND! Fiddled and worked it out!

    Thanks Again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] I would like to add additional argument to IF Formula
    By EvansB in forum Excel General
    Replies: 3
    Last Post: 03-22-2023, 03:41 AM
  2. Google Sheet Array formula
    By shabby01 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 09-24-2020, 02:31 PM
  3. Formulas that can account for additional data
    By lmdillon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2020, 07:04 PM
  4. RANK, SMALL formulas inside the array argument (no CTRL+SHIFT+ENTER)
    By ExcelQuestion in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2019, 08:09 AM
  5. [SOLVED] Need Help With Cross Sheet Array Argument
    By jackgan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-09-2014, 04:09 PM
  6. [SOLVED] ByRef argument type mismatch / Passing array as a function argument
    By pzling in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 06:23 PM
  7. Function (array argument, range argument, string argument) vba
    By Witek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2005, 11:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1