+ Reply to Thread
Results 1 to 7 of 7

Modify Equation

Hybrid View

alcharbonneau Modify Equation 03-24-2013, 05:08 PM
Tank997 Re: Modify Equation 03-24-2013, 05:19 PM
alcharbonneau Re: Modify Equation 03-24-2013, 08:44 PM
FDibbins Re: Modify Equation 03-24-2013, 05:52 PM
alcharbonneau Re: Modify Equation 03-24-2013, 08:43 PM
FDibbins Re: Modify Equation 03-24-2013, 08:50 PM
alcharbonneau Re: Modify Equation 03-25-2013, 10:02 AM
  1. #1
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Modify Equation

    Quote Originally Posted by FDibbins View Post
    Edit: In J2, copied down, use this to pull out unique PRV NUM's...
    =IFERROR(INDEX($B$2:$B$1000,MATCH(0,INDEX(COUNTIF($J$1:J1,$B$2:$B$1000),0,0),0)),"")

    Then move H1:I1 to H2:I2 and use this in L2, copied down (yur can use K2 if you want)...
    =IF(J2="","",SUMPRODUCT(--($B$2:$B$150000=J2),--($D$2:$D$150000>=$H$2),--($D$2:$D$150000<=$I$2),(($E$2:$E$150000="0100")+($E$2:$E$150000="0200")),$F$2:$F$150000))
    The 1st part will extract all unique entries in column B, when it runs out of unique entries, it "would" return an error msg, so the iferror() takes care of that

    The 2nd part takes your sumproduct, and bases it off the J2 values instead
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  2. #2
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: Modify Equation

    Thanks again.

    Al Charbonneau

+ 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