+ Reply to Thread
Results 1 to 3 of 3

Thread: Using Countif and vlookup at same time?

  1. #1
    Registered User
    Join Date
    08-24-2010
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    1

    Using Countif and vlookup at same time?

    Hi I am new to this forum and would really appreciate it if some one could help me. I am trying to lookup a shop name in a worksheet and derive how many days of the week it made a sell from looking up another workbook. Please note that shops names are not in order so I thought a formula with a countif and vlookup could work, but I cant get it seem to work.
    Please see attachment for what I am trying to achieve.
    Many thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    3.0
    Posts
    2,472

    Re: Using Countif and vlookup at same time?

    Hi and welcome to the forum.

    In your example workbook, enter

    =SUMPRODUCT(($C$27:$C$33=C14)*($D$27:$J$33>0))

    in cell D14, and copy down.
    Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.

  3. #3
    Valued Forum Contributor
    Join Date
    04-23-2009
    Location
    IOWA
    MS-Off Ver
    2010 Professional
    Posts
    270

    Re: Using Countif and vlookup at same time?

    Welcome to the forum, this is the Access Section, the Excel Section is above thanks.

    Thanks whoever moved this out of the Access Section
    Last edited by split_atom18; 08-24-2010 at 04:13 PM. Reason: Edited because post was moved.
    "I am not a rocket scientist, I am a nuclear engineer." - Split_atom18
    If my advice has been helpful to you, then please help me by clicking on the "Star" and adding to my reputation, Thanks!

+ 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.2.0