+ Reply to Thread
Results 1 to 12 of 12

Finding Gross Pay from Net Pay

  1. #1
    Registered User
    Join Date
    06-11-2020
    Location
    Zambia
    MS-Off Ver
    2016
    Posts
    9

    Finding Gross Pay from Net Pay

    Greetings,

    I came up with a formula that calculates Net Pay when you subtract Earnings from Deductions.

    I now need assistance with a formula that Calculates Earnings and Deductions when the Net Pay figure has already been established.

    Attached is a spreadsheet of the Net Pay calculator.

    Net Pay Calculator.xlsx

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    Please Login or Register  to view this content.

    in E13

    =SUMPRODUCT(($E$4>=$A$7:$A$10)*($E$4-$A$7:$A$10),$F$7:$F$10)

    Calculates PAYE and is used in macro

    Macro input is Net Pay( E18) and calculates deductions in F13:F15 which can be checked against E15:E18

    Hope this what is required.
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    06-11-2020
    Location
    Zambia
    MS-Off Ver
    2016
    Posts
    9

    Re: Finding Gross Pay from Net Pay

    Thank you for this,

    Although, is it possible for me to enter a specific Net pay figure I want to end up with in the spreadsheet, then the Macros calculates the Earnings and deductions automatically?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    Please Login or Register  to view this content.
    Enter Net Pay and macro calculates all the elements in column F.

    Column E is the standard Gross-to-Net calculation so you can enter Basic Pay in E2 and it will calculate data in column E.
    Attached Files Attached Files
    Last edited by JohnTopley; 01-13-2023 at 04:34 AM.

  5. #5
    Registered User
    Join Date
    06-11-2020
    Location
    Zambia
    MS-Off Ver
    2016
    Posts
    9

    Re: Finding Gross Pay from Net Pay

    When I enter the Net Pay, all column F values are giving me zero

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    It means the macro could not determine what the Basic/Gross pay is to arrive at the desired Net Pay.

    I have no idea how (or if) this is/can be resoved as there will always be many situations when the Net Pay is not valid subject the constraits of the deductions.

    As an example: a Basic Pay of 9820 returns a Net Pay of 8999.75 so entering a Net Pay of 9000 is unlikely to return a valid answer. BUT entering a Net Pay of 8999.75 DOES return the correct result.

    You will have to define limits on the "accuracy" of the calculated data: using rounding and increments of !/100 (penc in The UK) the macro will get close to a solution but maybe a pence out.

    I will look further into the rouding issue.
    Last edited by JohnTopley; 01-13-2023 at 06:50 AM.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    Please Login or Register  to view this content.
    Best estimate within 0.05 in F19
    Attached Files Attached Files
    Last edited by JohnTopley; 01-13-2023 at 09:39 AM.

  8. #8
    Registered User
    Join Date
    06-11-2020
    Location
    Zambia
    MS-Off Ver
    2016
    Posts
    9

    Re: Finding Gross Pay from Net Pay

    I see! Cause only certain Net Pays are possible...

    Regardless, thanks for your help

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    See post #7

  10. #10
    Registered User
    Join Date
    06-11-2020
    Location
    Zambia
    MS-Off Ver
    2016
    Posts
    9

    Re: Finding Gross Pay from Net Pay

    Wow!

    I've just seen the post and looked at the spreadsheet you sent. Thank you for the solution!

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Finding Gross Pay from Net Pay

    See attached re my PM
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,060

    Re: Finding Gross Pay from Net Pay

    You could use Goal Seek to find the solution:

    Goal Seek.png

+ 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. Pivot table profit and loss by month - calculate gross profit and gross profit %
    By parkviewfinance in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2020, 02:34 AM
  2. [SOLVED] VAT & NET From GROSS
    By MisterE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2018, 10:13 AM
  3. [Solved} Finding Gross Profit Percentage
    By sabbur in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2017, 02:31 PM
  4. Derive Gross Pay plus Payroll Taxes from a Gross Amount
    By JackJack185 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-09-2017, 03:56 PM
  5. Gross Pay.
    By craigy09 in forum Excel General
    Replies: 2
    Last Post: 06-25-2012, 01:15 PM
  6. NET TO GROSS help
    By juliebenn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2011, 02:25 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