+ Reply to Thread
Results 1 to 3 of 3

Countifs from another closed excel sheet without using VBA

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Countifs from another closed excel sheet without using VBA

    I want to use Countifs function that fetches data from another workbook. But the problem is that I need to open the workbook from which the Countifs fetches the data. Is there any work around that I can use Countifs function for another workbook without opening the workbook. I am using the formula below.

    =COUNTIFS([Adhoc.xlsx]Adhoc!$C:$C,$C$2,[Adhoc.xlsx]Adhoc!$B:$B,TODAY(),[Adhoc.xlsx]Adhoc!$D:$D,B21)*AS19

    Regards
    Nadim

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Countifs from another closed excel sheet without using VBA

    Hello,

    I believe that if you substitute countif with sumproduct it will work.

    Please Login or Register  to view this content.
    The above formula is untested
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    08-25-2015
    Location
    Kolkata, India
    MS-Off Ver
    2013
    Posts
    59

    Re: Countifs from another closed excel sheet without using VBA

    Thanks a ton dear. It working like anything

+ 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. Referencing a closed Sheet in Excel 2013
    By jceg316 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2015, 11:26 AM
  2. Use Countifs on a closed workbook
    By DannyJ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2015, 01:46 AM
  3. [SOLVED] Excel countifs function result depends upon sheet name selection
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2013, 02:23 AM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. Macro to copy sheet from closed work book and overwrite if sheet already exists
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-23-2009, 06:36 PM
  6. Copy One Sheet From One Closed Workbook To Another Closed WB
    By teshiburu1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2009, 11:49 AM
  7. Rename the first Sheet Name of 130 closed excel files
    By ZarrinPour in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2009, 03:43 AM

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