+ Reply to Thread
Results 1 to 4 of 4

vlookup with count?

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Canada
    MS-Off Ver
    MS365 Version 2401
    Posts
    130

    vlookup with count?

    Hi All,

    Trying to come up with a formula that looks up the location and counts the total for that location. As you can see, a vlookup doesn't count the total for the location. I am thinking that it is a countif or sum if statement but don't know how to do it.

    Can someone help please? I have attached a sample file.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: vlookup with count?

    In C2, copied across and down:

    =SUMIF(Detail!$A:$A,Summary!$A2,Detail!C:C)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Canada
    MS-Off Ver
    MS365 Version 2401
    Posts
    130

    Re: vlookup with count?

    This is great!!

    Thank you for your quick response Glenn!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: vlookup with count?

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Vlookup/count if
    By MJLG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-29-2018, 02:11 PM
  2. vlookup and also get the count as well
    By krayziez in forum Excel General
    Replies: 3
    Last Post: 09-02-2016, 09:19 PM
  3. Vlookup & count
    By Zaid in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-23-2015, 07:59 AM
  4. Vlookup / count
    By RO24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-08-2014, 04:09 PM
  5. Need Help... Vlookup and count
    By spykozen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-03-2014, 07:04 PM
  6. Count VLOOKUP #N/A
    By rdirvngjr in forum Excel General
    Replies: 5
    Last Post: 03-15-2011, 07:47 PM
  7. Help with count if and vlookup together.. maybe
    By Lpayne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2008, 01:38 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