+ Reply to Thread
Results 1 to 3 of 3

Trying to Find Values in One Column and Return a Sum of Text Values in Another Column

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Washington DC
    MS-Off Ver
    Excel 2010
    Posts
    1

    Trying to Find Values in One Column and Return a Sum of Text Values in Another Column

    Hi all. I need some help with some functions to count text values. The situation is I need to look in column A for all of the cells that show "#N/A" (from a VLookup I did), and then look to column E and return a count for each of the text there (i.e. IN, OUT, LEAVE, etc...). My end goal is to create a table that is dynamic so that the counts for each text changes when I change the word in column E. I have attached the relevant columns in the spreadsheet.

    Thanks!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Trying to Find Values in One Column and Return a Sum of Text Values in Another Column

    take a look at using countif() or countifS(), i think they are what you need?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Trying to Find Values in One Column and Return a Sum of Text Values in Another Column

    Use COUNTIFS

    Hence,
    =COUNTIFS(A:A,"#N/A",E:E,G2)
    where G2 equals 'IN'

    Adapt for the others
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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