+ Reply to Thread
Results 1 to 11 of 11

Cannot get the total count information from another file

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Cannot get the total count information from another file

    Dear Sir,

    I tried to use the =COUNTIF("external file ...", "xxx") to get the information of total number of cells equal to xxx in another file. But the result is error.

    If I open the external file, then it worked. Can I ask how to use a formula to overcome this problem so that the external file is not needed to open.

    Thanks a lot

  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: Cannot get the total count information from another file

    Try

    =sumproduct(("external file ...", "xxx")+0)
    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
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Cannot get the total count information from another file

    Quote Originally Posted by Fotis1991 View Post
    Try

    =sumproduct(("external file ...", "xxx")+0)
    Hi, Fotis1991. Sorry I tried your formula a few times, but always resulted in a error. Can you please have a second look? I am sure it will be fine to work.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Cannot get the total count information from another file

    it oughta be

    =sumproduct(("external file ..."="xxx")+0)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  5. #5
    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: Cannot get the total count information from another file

    My bad... Thanks Joseph.

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Cannot get the total count information from another file

    no problem :-)

  7. #7
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Cannot get the total count information from another file

    Thanks for the great magic, Fotis1991 and Joseph.

  8. #8
    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: Cannot get the total count information from another file

    .........................

  9. #9
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Cannot get the total count information from another file

    Sorry to have to come back. I found this approach works fine in Excel 2007, but it did not work in Excel 2003

    Can I ask how to get the total count information from another file in Excel 2003?

  10. #10
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Cannot get the total count information from another file

    it oughta work-but you can't use whole column references in 2003

  11. #11
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Cannot get the total count information from another file

    Haha, Joseph. Yes. It worked now with the row numbers specified I appreciate it.

+ 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