+ Reply to Thread
Results 1 to 5 of 5

countif across workbooks

  1. #1
    Forum Contributor
    Join Date
    01-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    211

    countif across workbooks

    Hello

    I got this formulae on here which helps identify duplications.

    however it won`t work if the target workbook is closed

    is there any alternatives Please ?
    PHP Code: 
    IF(COUNTIF('[Master report test.xls]Sheet1'!$E:$E,D17)>0,"Possible Duplicate","ok "
    ?
    Last edited by bimo; 04-25-2014 at 08:07 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: countif across workbooks

    You could try using a VLOOKUP instead.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    01-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: countif across workbooks

    Vlook up is good the only draw back is when Vlookup return #N/A , Cell value is #N/A instead of "OK"

    =IF(VLOOKUP(D17,' Master report test.xls]Sheet1'!$E:$G,3,FALSE)=#N/A,"OK","Possible Duplicate!")

    Can you help ?

    Thanks
    Please Login or Register  to view this content.

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: countif across workbooks

    =IF(isna(VLOOKUP(D17,' Master report test.xls]Sheet1'!$E:$G,3,FALSE)),"OK","Possible Duplicate!")
    Last edited by icestationzbra; 04-25-2014 at 09:39 AM.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  5. #5
    Forum Contributor
    Join Date
    01-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: countif across workbooks

    it works ! Thank you..

+ 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] Using IF and COUNTIF to show changes between 2 workbooks
    By rssfed23 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2013, 06:50 AM
  2. Using countif function across workbooks
    By StokeRich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-28-2013, 09:08 AM
  3. Countif multiple criteria across workbooks
    By Lizziesdj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2013, 06:53 AM
  4. [SOLVED] Countif across workbooks
    By vivekmartin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-13-2013, 01:24 PM
  5. Countif between two workbooks!
    By RadioX in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2012, 01:42 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