+ Reply to Thread
Results 1 to 3 of 3

Recognise and count specific words

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Recognise and count specific words

    Hi, who would mind helping with this one.

    I am trying to count how many cars are sold and how many commercial vehicles are sold. At the moment (as you will be able to see from the spreadsheet clip I have uploaded) I have used some simple sums to get the correct totals to calculate.

    What I would ideally like the spreadsheet to do is automatically populate the "Used Car" and "Commercial" totals from the information in column D.

    FYI..... TRANSIT and CONNECT are commercial vehicles and FIESTA, FOCUS and MONDEO are cars.


    Any assistance is greatly appreciated.
    Attached Files Attached Files
    Last edited by Paul; 03-23-2012 at 05:24 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Recognise and count specific words

    You can have aditional column with defined Car, Commercial etc. and then use simple COUNTIF.

    Or this approach where on 2nd sheet are defined your cars:

    Hint: I've changed "used cars" into cars to match criteria on sheet2. But in formula only used will be showed.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Recognise and count specific words

    Thanks, that looks good. Quite complex for me as I am fairly new to Excel.

    I am struggling though to get it to work for cells D 94 to D 96 on Sheet 2. If you could take a look it would be great. The workbook is far from complete, excuse any mistakes due to my in experience!
    Attached Files Attached Files

+ 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