+ Reply to Thread
Results 1 to 4 of 4

Trying to lookup a name and then display total number

  1. #1
    Registered User
    Join Date
    02-04-2022
    Location
    Philadelphia, United States
    MS-Off Ver
    2111
    Posts
    1

    Trying to lookup a name and then display total number

    I have attached a sample file. I have two sheets. Sheet1 with a long list of filtered names. The sheet2 has all the names (the names appear multiple times). The second column in this sheet is either a 1 or 0. So If I have appname1 I want to see the total number from sheet2. If appname1 has twenty 0s and thirty 1s. The output in sheet1 column C should be 30. I'm getting either a zero or aa ridiculous large number. I would do this manually but i have to do it for several hundred rows.
    I tried the following =SUM(Sheet9!C:C,VLOOKUP(A3, Sheet9!A:C,3,FALSE)) and =SUM(VLOOKUP(A3, Sheet9!A:C,3,FALSE))
    they did not work
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,428

    Re: Trying to lookup a name and then display total number

    worksheet name : Sheet1

    Cell C2 formula , drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    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,463

    Re: Trying to lookup a name and then display total number

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


  4. #4
    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,463

    Re: Trying to lookup a name and then display total number

    Thanks for the rep.

+ 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. Display total order number and total order value per postcode
    By jonojohno20004 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-29-2019, 07:05 PM
  2. Horizontal and vertical lookup then display number
    By katri80 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 10-20-2017, 10:44 AM
  3. Display Total number of visits for each postcode
    By fetster in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2013, 12:43 PM
  4. Replies: 3
    Last Post: 06-12-2013, 10:53 PM
  5. Search & display a specific format in a number of columns using lookup
    By sarahhllmn in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-15-2011, 06:48 AM
  6. display total above certain number and display
    By MGD in forum Excel General
    Replies: 3
    Last Post: 03-04-2006, 01:03 PM
  7. [SOLVED] how do i display the total number of days in the current month in.
    By timerigger in forum Excel General
    Replies: 6
    Last Post: 03-20-2005, 02:06 PM

Tags for this Thread

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