Closed Thread
Results 1 to 4 of 4

How to Count total cells in a column that has vlookup values (Good and Garbage values)

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to Count total cells in a column that has vlookup values (Good and Garbage values)

    Hi,

    I have a database of 20 with names and Dates (Not all Names have dates in front of them). Lets say I have a random list of 10 names out of those 20.

    Now I do a vlookup for those 10 names and get the dates. So lets says I get 5 correct dates and 5 garbage values as those dates are not present in the original list of 20.

    My question is what formula do I use to count the total cells in the list of 10 with 5 good values. I mean I should get the count as 5 (because 5 values are good). The formula should not count the 5 garbage values. Once I update a date in the list of 20, the vlookup should automatically take that date and put it in the list of 10 and the count should show me 6 (with 4 garbage values).

    Can somebody please help me here. When I use countA function it is giving me the result as 10 which is wrong. Hence I need help.

    Thanks.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to Count total cells in a column that has vlookup values (Good and Garbage values)

    How do we know if a result is good or garbage?

    I'm thinking we'll need to see a sample file so we can see how your data is structured. Also, tell/show us what result you expect.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: How to Count total cells in a column that has vlookup values (Good and Garbage values)

    You don't need to double post your quesitons

    http://www.excelforum.com/excel-gene...html?p=3212047

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to Count total cells in a column that has vlookup values (Good and Garbage values)

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

Closed 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