+ Reply to Thread
Results 1 to 8 of 8

frequency and sumproduct

Hybrid View

step_one frequency and sumproduct 12-16-2011, 05:27 PM
Richard Buttrey Re: frequency and sumproduct 12-16-2011, 05:53 PM
step_one Re: frequency and sumproduct 12-16-2011, 06:06 PM
step_one Re: frequency and sumproduct 12-17-2011, 12:29 AM
step_one Re: frequency and sumproduct 12-18-2011, 03:38 AM
step_one Re: frequency and sumproduct 12-18-2011, 07:45 PM
daddylonglegs Re: frequency and sumproduct 12-18-2011, 08:12 PM
step_one Re: frequency and sumproduct 12-20-2011, 01:08 AM
  1. #1
    Forum Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    frequency and sumproduct

    Im trying to use sumproduct to match by 2 different criteria

    criteria
    1) store #
    2) invoice amount

    to get the an order #

    =SUMPRODUCT(--($E$2:$E$1508=A2),--($G$2:$G$1508=B2),--($F$2:$F$1508))

    however....im struggling with to add logic (see highlight in yellow)

    1)i was wondering if frequency can be used so it does not double count (see highlight in red)
    (ie. invoice $36 is listed twice with store # 007....the sumprod will list the order # twice, however it only appears once in column F)

    2) if invoice is listed twice $36 in column B, then check to see in column E & G is item is listed once under $70....is yes, then assign the code as $70/2 = $36


    i would be very very grateful if someone can pls help!!

    thxing u in advance.....
    Attached Files Attached Files
    Last edited by step_one; 12-16-2011 at 05:53 PM.

  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: frequency and sumproduct

    Hi,

    What is the ultimate end result you're aiming for? Maybe SUMPRODUCT is not what you should be using.

    For instance does the attached with a pivot table on sheet2 help?
    Attached Files Attached Files
    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 Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: frequency and sumproduct

    hello Richard

    thank you for your time. the reason why im seeking sumprod with frequency in column C is because i use that table to submit the revenue per the client's request.

    so i need to show be able to find the order # by 1) store # then by invoice amount ....and make sure it shows up once (see reasoning below)

    add further....
    1)i was wondering if frequency can be used so it does not double count (see highlight in red)
    (ie. invoice $36 is listed twice with store # 007....the sumprod will list the order # twice, however it only appears once in column F)

    2) if invoice is listed twice $36 in column B, then check to see in column E & G is item is listed once under $70....is yes, then assign the code as $70/2 = $36


    thx u for your time...or if u have any thoughts?

  4. #4
    Forum Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: frequency and sumproduct

    any thoughts guys? I've been stuck on this for the past 5 hours :S Pls and thx you.

  5. #5
    Forum Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: frequency and sumproduct

    any thoughts???

  6. #6
    Forum Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: frequency and sumproduct

    sorry to bug u guys....but any thoughts on this?!!?

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: frequency and sumproduct

    Quote Originally Posted by step_one View Post
    .....if invoice is listed twice $36 in column B, then check to see in column E & G is item is listed once under $70....is yes, then assign the code as $70/2 = $36.....
    I don't think I follow this. For the example given what results do you want to see in C39 and C40?
    Audere est facere

  8. #8
    Forum Contributor
    Join Date
    04-27-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    113

    Re: frequency and sumproduct

    daddylonglegs,

    thanks for the help.

    if the invoice is listed twice $36, $36 for the same NA code.....then i would like the formula to check in column E & G if that invoice is listed once or summed for $70

    does that make sense? i really apprecaite the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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