+ Reply to Thread
Results 1 to 3 of 3

Calculating Sum Values of ListBox with exception

  1. #1
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Calculating Sum Values of ListBox with exception

    Hi, with the following code I can calculate the sum of all items in the listbox. The total sum is in TextBox3 however there are items that I do not want to consider as sale such as comision. Is there a way to modify this code not to sum added items that start as "comision"?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Calculating Sum Values of ListBox with exception

    Does column1 contain "Comision"? ....

    Please Login or Register  to view this content.
    Last edited by kev_; 08-31-2020 at 02:23 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    279

    Re: Calculating Sum Values of ListBox with exception

    Awesome, thank you!

+ 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. Sorting ListBox Values into a Separate ListBox
    By Jaredm577 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2019, 10:30 PM
  2. [SOLVED] Show unique values in listbox and activate related cell if i select value in Listbox
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2018, 06:54 AM
  3. vba excel - adding listbox values from listbox
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-23-2017, 06:30 PM
  4. Show dynamic values at listbox depending value selected another listbox
    By Judith_Chao in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2017, 08:30 AM
  5. [SOLVED] How do I populate a listbox with a list excluding values found in another listbox?
    By Hokiefan00 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2014, 01:47 PM
  6. Based on listbox values, go to a URL in webbrowser containing those listbox values
    By krisspy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-08-2014, 02:05 PM
  7. Top 40 values with duplicates and with exception
    By Fabienne88 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-02-2013, 07:57 AM

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