+ Reply to Thread
Results 1 to 5 of 5

Sumproduct, three formulas ,or if loop?

  1. #1
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Sumproduct, three formulas ,or if loop?

    =SUMPRODUCT(--(B74=BackOrder.csv!$B:$B),--(D74=BackOrder.csv!$D:$D))

    I am working on this formula, I've tweaked it a little from the help people gave me here. Here is what I am looking to do. Attached are the two books.

    Book BackOrder.cvs is where Book JobsList.xlsx references to verify that data will not be duplicated. What I am seeing is that where there are blank fields I see the number 1048559, i on line 75 instead of 0. And in turn the word "SAME" shows up next to it. Which is technically correct, but it is not correct for the purpose of this sheet.

    Is there a way to make it so that if 1048559 shows up it will show "" on "N"? Now on N I am using a simple script:

    =IF(M75,"SAME","")


    Can someone help me here?

    I will be able to explain better if need be, just trying to throw everything together.
    Attached Files Attached Files
    Last edited by Cyberpawz; 03-20-2012 at 03:59 PM. Reason: Sorry ,script at beginning should be $D:$D not $E!$E

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sumproduct, three formulas ,or if loop?

    Hi

    I received this, when i try to download your attachement..

    ..Invalid Attachment specified. If you followed a valid link, please notify the administrator...
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Sumproduct, three formulas ,or if loop?

    Give this a try:
    =IF(OR(B74="",D74=""),"",SUMPRODUCT(--(B74=BackOrder.csv!$B:$B),--(D74=BackOrder.csv!$E:$E)))
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Re: Sumproduct, three formulas ,or if loop?

    Quote Originally Posted by Fotis1991 View Post
    Hi

    I received this, when i try to download your attachement..

    Try this one.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Re: Sumproduct, three formulas ,or if loop?

    Quote Originally Posted by tigeravatar View Post
    Give this a try:
    =IF(OR(B74="",D74=""),"",SUMPRODUCT(--(B74=BackOrder.csv!$B:$B),--(D74=BackOrder.csv!$E:$E)))
    I get an error, #VALUE! on row 75, and duplicates are no longer showing as 'SAME', which rows 5 - 13 should be.
    Last edited by Cyberpawz; 03-21-2012 at 09:19 AM.

+ 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