+ Reply to Thread
Results 1 to 1 of 1

Find Multiple Instances of a String, copy whatever number value is in next Cell and add it

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Find Multiple Instances of a String, copy whatever number value is in next Cell and add it

    Hi,

    I have a worksheet which shows daily expenses for that month. Likewise, I have one sheet for each month with a total of 60 sheets for 5 years. I want to be able to group the expenses under a few key items, say, Gas, Food, Etc. The search string would only be "Gas", "Food" ... I would like to write a Macro that would search for multiple instances of this string in that worksheet, then copy the numeric value in the adjacent cell (to the right) for all of them and add them all. Right now, I found a macro that would just find the "String" and copy it to a "destination String". I could continue on this or I am OK to change over to something new. I am total newbie and this is my first exercise using Macros. Please help.

    The code I found:

    Please Login or Register  to view this content.
    Thanks
    Arv
    Last edited by JBeaucaire; 07-28-2013 at 12:57 AM. Reason: Added CODE tags, as per Forum Rules. Take a moment to read the Forum Rules in the menu bar above. Thanks.

+ 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. [SOLVED] VBA Needed to find number/text within cell string and copy out to new cell
    By Campbell A in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-19-2013, 10:15 AM
  2. [SOLVED] Find text between 2 characters with multiple instances in a single string
    By mforbes6186 in forum Excel General
    Replies: 3
    Last Post: 02-09-2013, 11:56 AM
  3. Replies: 6
    Last Post: 02-06-2013, 07:45 PM
  4. count number of instances of a text string in a cell
    By lawrencef in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-28-2008, 01:55 PM
  5. count number of instances of string in a string
    By lawrencef in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2008, 02:06 AM

Tags for this Thread

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