Results 1 to 18 of 18

Simple Macro - Sum of values that are related to a sprecific word chosen by you.

Threaded View

Adam Brave Simple Macro - Sum of values... 03-01-2012, 08:39 AM
Andrew-R Re: Simple Macro 03-01-2012, 08:45 AM
Adam Brave Re: Simple Macro 03-01-2012, 10:15 AM
royUK Re: Simple Macro 03-01-2012, 09:02 AM
Andrew-R Re: Simple Macro - Sum of... 03-01-2012, 10:23 AM
Adam Brave Re: Simple Macro - Sum of... 03-01-2012, 10:32 AM
Andrew-R Re: Simple Macro - Sum of... 03-01-2012, 10:34 AM
Adam Brave Re: Simple Macro - Sum of... 03-01-2012, 10:45 AM
Andrew-R Re: Simple Macro - Sum of... 03-01-2012, 12:38 PM
Adam Brave Re: Simple Macro - Sum of... 03-01-2012, 01:22 PM
Andrew-R Re: Simple Macro - Sum of... 03-01-2012, 01:29 PM
Adam Brave Re: Simple Macro - Sum of... 03-01-2012, 01:54 PM
Andrew-R Re: Simple Macro - Sum of... 03-01-2012, 04:11 PM
Adam Brave Re: Simple Macro - Sum of... 03-02-2012, 05:55 AM
Adam Brave Re: Simple Macro - Sum of... 03-02-2012, 07:11 AM
Andrew-R Re: Simple Macro - Sum of... 03-02-2012, 07:48 AM
Adam Brave Re: Simple Macro - Sum of... 03-02-2012, 12:08 PM
Andrew-R Re: Simple Macro - Sum of... 03-02-2012, 03:31 PM
  1. #1
    Registered User
    Join Date
    03-01-2012
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    60

    Simple Macro - Sum of values that are related to a sprecific word chosen by you.

    Hi,

    I want to do a simple macro but I'm having some troubles and I think you may help me.

    I have a table with just two columns (the first column has numbers and the second words) and some rows. So I want to create a macro that consists on a loop with a condiction inside. This macro would sum all the values of the first column that meet a specific word on the second column like the example bellow where the result would be 2+5= "7". The specific word that I want to test should be specified and written by me at the beginning of the macro in a popup box that in the example bellow would be "food".

    Can anyone help me?


    2 food
    1 football
    5 food
    4 cinema

    Best regards,
    Last edited by Adam Brave; 03-01-2012 at 10:10 AM.

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