+ Reply to Thread
Results 1 to 12 of 12

Counting all rows that have a specific answer from drop down box

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Counting all rows that have a specific answer from drop down box

    I have created an Excel 2013 spreadsheet to keep track of income from various sources of advertising etc. Each invoice is recorded with its various different details. At the end of each row there is a drop down box to select the form of advertising which the job arose from.

    I am trying to create a formula to count the total income and total entries from each different source but I am really struggling. I was wondering if someone could help me please.

    I have included an image to show my spreadsheet. I would like the bottom table to automatically draw the information from the top one.

    Thanks very much for any help or advice offered.

    Excel_zpsnxituulc.png

    EDIT - I have attached a sample database, hopefully my question makes sense. Apologies for the lack of knowledge on my part.
    Attached Files Attached Files
    Last edited by Puk87; 05-05-2016 at 11:57 AM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting all rows that have a specific answer from drop down box

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

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

    Re: Counting all rows that have a specific answer from drop down box

    Many members are unable to see images in the *.png format due to forum compatibility issues with some browsers.

    If you need to post an image post it in the *.jpg format.

    Even better than posting images... post a SMALL sample file. That way we can test solutions directly in the file with the relevant data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Counting all rows that have a specific answer from drop down box

    Thank you very much to you both, i will upload a sample now.

  5. #5
    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,938

    Re: Counting all rows that have a specific answer from drop down box

    Also know that the contents of a DD are exactly the same as if you had typed them in. No special formula or treatment is needed when working with them
    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

  6. #6
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Counting all rows that have a specific answer from drop down box

    I have now added in a sample database.

    Apologies I do not know what a DD is. Im not very computer literate im afraid

    Edit, Oh i understand, a DD meaning drop down. I opted for a drop down as I figured the formula would relate to the DD option, therefore if for some reason there was a typo in that box it would be missed off the bottom table.

  7. #7
    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,938

    Re: Counting all rows that have a specific answer from drop down box

    yes, DD = Drop Down

    A DD is essentially used to restrict entry to a specified list and to help avoid typos and save on typing

  8. #8
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting all rows that have a specific answer from drop down box

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


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


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


    Formula for L49:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mehmetcik; 05-05-2016 at 12:55 PM.

  9. #9
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Counting all rows that have a specific answer from drop down box

    Thank you so much, thats worked a treat :D

  10. #10
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Counting all rows that have a specific answer from drop down box

    Sorry mehmetcik, that last formula (L49) doesnt seem to work

  11. #11
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting all rows that have a specific answer from drop down box

    Try this:-

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

  12. #12
    Registered User
    Join Date
    05-05-2016
    Location
    UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Counting all rows that have a specific answer from drop down box

    Perfect thank you so much!

+ 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. Replies: 4
    Last Post: 08-26-2014, 02:44 PM
  2. [SOLVED] Lock specific rows with a drop down box
    By ecraw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-07-2014, 01:08 PM
  3. Counting duplicates except rows with specific data
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2013, 10:10 AM
  4. Replies: 12
    Last Post: 05-28-2013, 08:48 AM
  5. Replies: 4
    Last Post: 01-18-2012, 07:43 AM
  6. Counting rows with specific criteria
    By sulrich in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2005, 02:13 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