+ Reply to Thread
Results 1 to 6 of 6

How to get counts specific to data based on other entries in rows.

  1. #1
    Registered User
    Join Date
    06-22-2014
    Location
    Peoria, AZ.
    MS-Off Ver
    2016
    Posts
    27

    How to get counts specific to data based on other entries in rows.

    I am attaching a spreadsheet. Columns C through G all have formulas. G is giving the correct result - It is showing the number of times that the Account number shows up on the sheet. C,D & E are not returning the needed results. These 3 columns should be giving me the counts of the specific pest reported for that account number.

    I have starred at these formulas for several hours and played with them - cant get it to return the count of the specific pests... You will see what i am looking for - where am i going wrong - something is a miss.

    Thanks all!
    Attached Files Attached Files
    Last edited by John M.; 12-17-2015 at 02:38 AM.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to get counts specific to data based on other entries in rows.

    Hi,

    You are getting '0' as output in columns C to E because there are extra spaces at the end & the lookup text doesn't match. See the image below:
    Attached Images Attached Images

  3. #3
    Registered User
    Join Date
    06-22-2014
    Location
    Peoria, AZ.
    MS-Off Ver
    2016
    Posts
    27

    Re: How to get counts specific to data based on other entries in rows.

    Great find... how do i easily remove all extra spaces? My actual report is near 10,000 rows of data.

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to get counts specific to data based on other entries in rows.

    Add a helper column and use the following formula, it should work.

    =TRIM(B2)

    See the attached file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-22-2014
    Location
    Peoria, AZ.
    MS-Off Ver
    2016
    Posts
    27

    Re: How to get counts specific to data based on other entries in rows.

    cbatrody - your awesome!! Thank you!

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to get counts specific to data based on other entries in rows.

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

    Also, you can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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. How to get counts specific to data based on other entries in rows.
    By John M. in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 12-17-2015, 02:34 PM
  2. Getting unique rows, counts of said rows and other data manipulation
    By ferdjones in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-16-2015, 01:54 PM
  3. Count rows then insert formula based on row counts
    By midoop in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2013, 11:17 AM
  4. Enumeration of rows based on given counts
    By nilsonj in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-29-2013, 06:40 AM
  5. Formula/function that counts amount of rows between specific number.
    By angelitovs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2012, 09:29 PM
  6. [SOLVED] Sorting rows of data based off a single column for a variable number of entries.
    By soxcrates in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 12:31 PM
  7. [SOLVED] counts rows in data
    By Bryan Brassell in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-02-2005, 06:00 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