Results 1 to 5 of 5

Sum if in Vba

Threaded View

buckhunt122 Sum if in Vba 07-06-2011, 12:01 PM
buckhunt122 Re: Sum if in Vba 07-06-2011, 01:02 PM
Marcol Re: Sum if in Vba 07-06-2011, 02:07 PM
buckhunt122 Re: Sum if in Vba 07-06-2011, 04:02 PM
Marcol Re: Sum if in Vba 07-07-2011, 07:10 AM
  1. #1
    Registered User
    Join Date
    06-24-2011
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    36

    Sum if in Vba

    Hey another question, from the peskiest forum member

    I understand how the sumif command works but I am trying to write that in a macro without using the .formula method (Because the target ranges may vary in size)

    I attached a very simple and straitforward spreadsheet. On sheet 1 you will see a range of list boxes, those list boxes are populated by a known list of applications. The user selects an application from the list box, then puts the estimate next to it, and moves down the list. Each application may be used 1, 5, or 10, or maybe not at all. On the summary tab I want to copy over the names of the used applications, (but only 1 name if the application was used multiple times) and then the sum of the estimates for that application. Like is said it sounds like a basic sumif, but I dont really know how to do it, since Im not sure what the range sizes will be, ahead of time.

    Thanks, Owen
    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