Closed Thread
Results 1 to 2 of 2

Sumproduct in vba using textboxes

  1. #1
    Registered User
    Join Date
    08-11-2021
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    24

    Sumproduct in vba using textboxes

    Hi,

    i have the following formula,

    =SUMPRODUCT(($A$2:$A$16=M2)*($B$2:$B$16=M3)*($C$2:$C$16=M4)*($E$1:$K$1=M5),$E$2:$K$16)

    Capture1.JPG

    how can i use the textboxes instead of M2, M3, M4, and M6?

    and display the answer in another textbox.

    Thank you.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,257

    Re: Sumproduct in vba using textboxes

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...-criteria.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Rearrange EXISTING textboxes FIRST and then new textboxes should come bottom of EXISTING
    By NametobeRenamed in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-14-2019, 05:26 AM
  2. Want Average on userform textboxes to ignore blank textboxes
    By cvanderweide92177 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2018, 12:47 PM
  3. [SOLVED] Select all text in textboxes when i click textboxes in simple way
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2017, 03:27 AM
  4. Replies: 5
    Last Post: 12-07-2016, 07:41 AM
  5. Replies: 0
    Last Post: 02-04-2015, 03:46 PM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. Tab between Textboxes
    By carlito_1985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2005, 04:20 AM

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