+ Reply to Thread
Results 1 to 8 of 8

Amount Calculations

  1. #1
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Amount Calculations

    Hello friends...........

    i am in a problem, please help me for solve this.......

    i am upload a Excel File in which what to do:-

    D6 have a date (31-07-2016) and i want to search it in E2:E3, F2:F3, G2:G3, H2:H3, I2:I3, J2:J3,
    D6 (31-07-2016) it is not exist in E2:E3, it will show 0 in E6
    D6 (31-07-2016) exist in F2:F3, then calculate total number of months between 31-07-2016 & F3
    D6 (31-07-2016) not exist in G2:G3, calculate total number of months between g2 & g3
    D6 (31-07-2016) not exist in H2:H3, calculate total number of months between h2 & H3
    D6 (31-07-2016) not exist in I2:I3, calculate total number of months between i2 & I3
    D6 (31-07-2016) not exist in J2:J3, calculate total number of months between j2 & J3

    please see the excel file for easily understand
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Amount Calculations

    According to you description total number of months between.
    Please try at E6 drag to J6

    =IFERROR(DATEDIF(MAX($D6,E2),E3,"d"),0)

  3. #3
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Amount Calculations

    Thanks for reply but it is not working.................

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Amount Calculations

    I suppose the Bo_Ry is right, just calculated the difference in days instead of months
    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Amount Calculations

    sir thanks for reply it is working but missing one condition.................
    if D6 date exist in F2:F3, then =IFERROR(DATEDIF(MAX($D6,E$2),E$3,"m"),0) it is working.........now in E2:E3=should be 0, G2:G3=6months, H2:H3=6months, I2:I3=6months, J2:J3=3months.



    please see the ImageTest.jpg file for easily understand (Highlight in Yellow i manually calculate, and above is your formula
    please fix it...........

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Amount Calculations

    Please try E6
    =IFERROR(DATEDIF(MAX($D6,E$2),E$3+1,"m"),0)
    Last edited by Bo_Ry; 10-10-2018 at 10:13 PM.

  7. #7
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Amount Calculations

    thanks for reply it is working on flawless on complete months i.e. 31-10-2017, 28-02-2018, 31-12-2016


    (1)Please see d10 have 07-07-2016, and i know July-2016 have 31 days
    here i want 31-07=24days
    now 24*c10/31=12883
    now 12883*f4/100=258 how to calculate this

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Amount Calculations

    See if the following formula will yield the values you are expecting:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Calculate Projected Annual amount from Dollar value (Amount) and varying time intervals
    By old dawg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2016, 07:29 PM
  2. [SOLVED] Need to find a negative amount and match it to the positve amount based on Acct# and Date
    By sbrandhorst in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-07-2016, 07:49 PM
  3. Replies: 2
    Last Post: 11-21-2014, 09:35 AM
  4. [SOLVED] Folder has X amount of jpeg files. How to automate creating links for those X amount of fi
    By JPWRana in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-24-2013, 09:50 AM
  5. Replies: 3
    Last Post: 08-04-2013, 09:40 PM
  6. [SOLVED] Locate an amount, then make multiple calculations
    By pugsly8422 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2013, 11:44 AM
  7. [SOLVED] In pivot match vertical row amount with the horizontal column -amount and highlight that
    By Goku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 02:04 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