+ Reply to Thread
Results 1 to 5 of 5

Create a list that sums values of selected names in a dynamic range

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Create a list that sums values of selected names in a dynamic range

    Hi,

    I have a range that I want to be dynamic since I will be inserting and deleting rows in the dataset. Out of this dataset, I would like a formula based solution to create a list of only upper-cased names and sum the values of the numbers associated with the name. In my example below, I am using "-" as column separators.


    AA - 10 - BB - 5
    Aa - 5 - CC - 15
    E1 - 7 - AA - 10
    gg - 10 - DD - 5
    DD - 5 - E1 - 3


    Results:

    AA - 20
    BB - 5
    CC - 15
    DD - 10
    E1 - 10


    Thanks,

    PAExcel

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Create a list that sums values of selected names in a dynamic range

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Create a list that sums values of selected names in a dynamic range

    Assuming that your data is placed in the range A2:D6, try,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Create a list that sums values of selected names in a dynamic range

    @JBeaucaire

    My company will not allow me to add/receive files from forums. I posted a sample of the data and the desired outcome in original post (see above). You can create your own sheet in excel to troubleshoot, then post the correct commands here for me to try. That is the best I can do. Keep in mind that I am looking for a formula based answer, not VBA. It's your choice if you would like to help. thanks
    Last edited by PAexcel; 06-18-2014 at 10:39 AM.

  5. #5
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Create a list that sums values of selected names in a dynamic range

    Quote Originally Posted by Saarang84 View Post
    Assuming that your data is placed in the range A2:D6, try,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    When I use this formula, I'm getting one cell that reads a zero. Please see the desired output listed as "results" above. I need a formula that will create a list of only the CAP or CAP and number entries in columns A & C showing duplicates only once and placing the sum of the numbered data found in columns B & D next to the associated identifier from column A & C. 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] Create a dynamic search list from user typed values
    By askinner in forum Excel General
    Replies: 10
    Last Post: 11-19-2012, 11:30 PM
  2. Replies: 1
    Last Post: 07-13-2012, 12:11 PM
  3. Create a list from values selected in a userform
    By vjboaz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 03:16 PM
  4. List of names and sums for labels
    By epilin in forum Excel General
    Replies: 2
    Last Post: 08-08-2005, 10:56 PM
  5. Create drop list on form from range names?
    By Ed in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2005, 12:06 PM

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