+ Reply to Thread
Results 1 to 9 of 9

Help function sum product or similar

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Help function sum product or similar

    In the attached file I should find the result in D2-D3-D4 sheet1 corresponding to the columns C-E-G Sheet2.

    Terms: search for article column B sheet1 with date in column A included in the date column of Sheet2 H-I
    and column C sheet1 is less than or = column B-D-F Sheet2.
    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help function sum product or similar

    What's the exact calculation that results in the sheet 1 C&D values?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Help function sum product or similar

    Try this in D2:

    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Quang PT

  4. #4
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Help function sum product or similar

    @ Richard sheet1 in column C the value 3.72 is set manually to be compared with columns B-D-F Sheet2 and report the value C-E-G
    - Cost B = 4.31 8 > = 3.72
    - Cost D = 3,83 5 > = 3.72
    - Cost F = 3,45 3 <= 3.72 ok 3

    @bebo021999 if you can attach the file as the translation to me by mistake.

  5. #5
    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,152

    Re: Help function sum product or similar

    In the case where 2 samples meet the criteria do you choose the highest value (your last example has 5 or 10 as possible results)?

  6. #6
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Help function sum product or similar

    Ok John
    In the case of the last example you take the first valid column D Sheet2
    then value 10

  7. #7
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Help function sum product or similar

    @bebo021999
    attaching the file I mistakenly copied data on Sheet2 A1:I15
    while the real ones start at A2:I2353
    How to change your formula I tried but without success.
    Thank you

    Also what if a few lines of column B-D-F Sheet2 is empty
    with the character - otherwise result from wrong?
    Last edited by Berna11; 11-09-2015 at 05:47 PM.

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

    Re: Help function sum product or similar

    With origin sample, I tried to apply my formula in #3, then used Ctrl-H (Find and replace "$16" by "$2353" in cells with formula), every thing seems OK.
    Regards to few lines with "-" apears, could you upload a new sample with it?
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Help function sum product or similar

    I settled with "-" the error was not from this but somewhere # N / A.
    Very very good at finding this formula compliments and many thanks.

+ 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] 4 digit code for similar product, new product unique code
    By unclejemima in forum Excel General
    Replies: 47
    Last Post: 06-06-2013, 01:02 PM
  2. [SOLVED] Function similar to INDIRECT() ?
    By creynolds722 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2013, 10:45 AM
  3. Improve this function and create a similar function
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 08:23 AM
  4. [SOLVED] Finding and subtracting with almost similar product SKUs
    By ExcellentM in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-07-2012, 02:01 PM
  5. [SOLVED] Need Function that will find ordered product, and display the product code in a 2nd workbk
    By rollerden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2012, 08:52 AM
  6. Is there a function similar to MAX for text?
    By d14nem in forum Excel General
    Replies: 3
    Last Post: 05-18-2011, 10:32 AM
  7. I need a function similar to SUMPRODUCT
    By Granrey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-18-2008, 03:58 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