+ Reply to Thread
Results 1 to 4 of 4

Sum the listbox column

  1. #1
    Registered User
    Join Date
    04-27-2023
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    30

    Unhappy Sum the listbox column

    Good afternoon,

    I was needing some help with the attached spreadsheet.

    As pictured below:
    - Circled in purple is the filter for the data that appears in the listbox;
    - Circled in red is the column that has to be summed;
    - Circled in blue is where the sum value has to appear.

    The total value must appear even without filter and after the filter is placed, the values that appear relative to the filter must be added.

    Attachment 828825

    Formula: copy to clipboard
    Please Login or Register  to view this content.




    TEST1.xlsm

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Sum the listbox column

    give the attached a trial - hopefully date formats will be O.K.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    04-27-2023
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    30

    Re: Sum the listbox column

    Hello, thank you very much for your help

    I opened the file and when I execute the code I get the message


    Could not set ColumnWidths property. Type Not matching.

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Sum the listbox column

    It is probably the separators in the list widths property in the initialize event - your locale setting probably uses semi-colons as the separator character.
    Simply replace all the commas between the each list width number with a semi-colon.

+ 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. Replies: 1
    Last Post: 11-04-2021, 07:24 AM
  2. SOMAR CELULAS DE PLANILHAS DIFERENTES
    By GABRIEL in forum Excel General
    Replies: 0
    Last Post: 01-07-2005, 04:06 PM

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