+ Reply to Thread
Results 1 to 5 of 5

Help require to find out what is wrong in my formula

Hybrid View

mso3 Help require to find out what... 05-12-2015, 12:20 PM
DannyJ Re: Help require to find out... 05-12-2015, 12:55 PM
mso3 Re: Help require to find out... 05-12-2015, 01:28 PM
bebo021999 Re: Help require to find out... 05-12-2015, 01:42 PM
mso3 Re: Help require to find out... 05-12-2015, 01:49 PM
  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help require to find out what is wrong in my formula

    Hello friends,
    There are two particulars in item Grocery’ coffee and rice in the month of April in between dates 1/4/14 to 31/5/14 and the total amount is 35+45 = 80.
    I have entered a start date 1/4/14 in cell AN3 and end date 31/5/14 in cell AO3. I have selected a item ‘Grocery’ in cell AP3.

    Now at this point (after entering start date, end date and item) the total amount should be displayed in the table in the month column before the particulars respectively.

    I have colored the item Grocery, particulars, date and amount red for your reference.

    Please see the formula in the table and suggest me what is wrong in it.

    Thanking you in anticipation.
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Help require to find out what is wrong in my formula

    try this

    =SUMPRODUCT((L2:L25<=AO3)*(L2:L25>=AN3)*(P2:P25))

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to find out what is wrong in my formula

    Hi,
    No, it's displaying a total 80 before a first particular Beans which is wrong.

    The output should be as follows:

    In colun AD month April
    Coffee: 35
    Rice: 45

    and all other particulars should have a 0 amount before them in column AD in the month of April. No need of grand total 80. I want to sum a each item particulars in the respective column of month and before the particulars.

    Hope this will help you to suggest me a solution.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: Help require to find out what is wrong in my formula

    Your date criterias:

    ...($L$2:$L$25=$AN$3)*($L$2:$L$25=$AO$3)...

    should be:

    ...($L$2:$L$25>=$AN$3)*($L$2:$L$25<=$AO$3)...
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to find out what is wrong in my formula

    Hi,
    Thank you to both of you. The correct formula is:

    =SUMPRODUCT(($E$2:$E$25=$AC5)*(TEXT($L$2:$L$25,"mmmm")=AD$4)*($L$2:$L$25>=$AN$3)*($L$2:$L$25<=$AO$3)*($D$2:$D$25=$AP$3)*$P$2:$P$25)
    Thank you and have a nice time.

+ 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. Replies: 3
    Last Post: 10-10-2014, 08:14 AM
  2. [SOLVED] Require a formula to find the occupied cell in a list and return a value.
    By john dalton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 10:16 AM
  3. Formula help, Require to find Min and max of time referencing another cell
    By arekkusu03 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2013, 08:33 PM
  4. [SOLVED] Require Help - Require Formula for Multiple values in both columns
    By krodge in forum Excel General
    Replies: 6
    Last Post: 01-13-2012, 03:42 AM
  5. what's wrong with this find formula
    By tryer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2010, 04:06 PM

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