Results 1 to 5 of 5

Counting errors from an exported file

Threaded View

  1. #1
    Registered User
    Join Date
    01-07-2011
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    4

    Counting errors from an exported file

    Hi,

    I have a problem that I have tried to solve during the last couple of days (im new into VBA programming)

    I have a list that is exported from a database. In this list i have different service request from customers. In the first column dates for the requests is entered and in the fifth column the requests is specified.

    I would like to write a VBA script that automatically finds the rows that corresponds to the service request (the rows between the corresponding dates) and search for some key words in the description (fifth column). If some keywords are found (for example "Värme", and "radiator") the request should be counted. If on the other hand some other keywords are found (for example "spis") then the request should be ignored.

    In the "template sheet" the result should be 2, since one of the requests contain the keyword "spis" and thus should not be counted.

    It would also be neat if the found requests could be presented in a chart by date (some kind of histogram) but that is not the top priority at this point.

    Thanks in advance!
    Attached Files Attached Files

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