+ Reply to Thread
Results 1 to 5 of 5

Sum Column B if Column A is within multiple specificed ranges

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Cherry Hill, NJ
    MS-Off Ver
    Excel 2002
    Posts
    3

    Sum Column B if Column A is within multiple specificed ranges

    I have 28 ranges of values in column E (lower limit) and column F (upper limit). I need to sum the value in column B if the value in column A is within the range (column E to column F).

    The goal is to be able to easily change the upper and lower limits in columns E and F.

    Attached is a PDF of file. The list in colums A and B go down much futher. Thanks in adance for your help.

    Chris
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Sum Column B if Column A is within multiple specificed ranges

    Its better if you attach a sample excel file instead of a PDF. This will save us a lot of time in recreating your file and working on it.

    Also, can you please provide an expected output tab so we understand how you need the output?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    Cherry Hill, NJ
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Sum Column B if Column A is within multiple specificed ranges

    Excel file attached. Output column for formula is in Column G. A few example solutions the equation should give are in Column H.

    Goal is to be able to adjust "Lower" and "Upper" limit and have Column G automatically update. Thanks for the help.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Sum Column B if Column A is within multiple specificed ranges

    Try in G4,

    Please Login or Register  to view this content.
    Then copy down.l
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Registered User
    Join Date
    04-18-2012
    Location
    Cherry Hill, NJ
    MS-Off Ver
    Excel 2002
    Posts
    3

    Re: Sum Column B if Column A is within multiple specificed ranges

    Quote Originally Posted by Haseeb A View Post
    Try in G4,

    Please Login or Register  to view this content.
    Then copy down.l
    Worked perfectly! Thank you for your help.

    Chris

+ 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