+ Reply to Thread
Results 1 to 20 of 20

sumifs choose,match fucntion

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Talking sumifs choose,match fucntion

    =SUMIFS(CHOOSE(MATCH(F$17,$I$1:$L$1,0),$I$2:$I$13,$J$2:$J$13,$K$2:$K$13,$L$2:$L$13),$C$2:$C$13,$E18,$E$2:$E$13,$B18,$F$2:$F$13,$A18,$G$2:$G$13,$C18,$H$2:$H$13,$D18)

    i want vba code for this excel
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    any one help me

    i have attached excel file also

    please see and write help any one

    am trying but showing error

    Please Login or Register  to view this content.
    Last edited by FDibbins; 04-07-2016 at 02:03 PM.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: sumifs choose,match fucntion

    Welcome to the forum

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    gurusiva,

    I would "name" the various columns in your Database as ranges, then "define" the names in the Macro,

    You can then have a one line code that finds every cell in each range that matches the criteria, and puts the appropriate total where you want.

    There is a very clear step-by-step guide on this at http://www.exceltip.com/tips/sumif-f...oft-excel.html where the Macro structure finds the total from three criteria (salesperson, region and product) as follows:

    Please Login or Register  to view this content.
    Hope this helps

    Ochimus

  5. #5
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    hi Ochimus

    very thanks for the quick response

    but i want sumifs(choose(match(,,,),,,,,,,,,),,,,,,)function please refer the attachment and help on the same

  6. #6
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    gurusivakumaran,

    I don't understand your comment?

    Your original post says categorically "i want vba code for this"

    I gave you the VBA code.

    It allows you to get the total based on three variables, with a link to a practical example that you can adapt,

    What else were you expecting?

    Ochimus

  7. #7
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    hi

    please see my attachment

    formula applied for yellow column

    i want vba for that formula

  8. #8
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    refer the data for your reference pls help

    data is there in data sheet in that attached book11.xlsx

    i want summary in that first sheet
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    urgent anybody help

  10. #10
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    OK, try the attached.

    Data sheet has "Dummy" database covering four weeks.

    Summary sheet has "DropLists" in C4 to select the "RGM_HQ1", and in C6 to select the Buyer Number (using the fixed list prevents typing errors).

    When you click the Button, the Code below checks each row in the Data worksheet, and copies onto the Summary sheet every row matching the criteria you specify.

    Please Login or Register  to view this content.
    Ochimus
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    Dear Ochimus,

    excellent very thanks really great very very thanks for helping quick response

  12. #12
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    Dear ochimus,

    one more doubt , if the week is duplicate means it automatically sum how to do any idea ???

    please help to me

  13. #13
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    Dear ochimus,

    duplicate value given in your code i want unique and sum the value


    anyone help
    Last edited by gurusivakumaran; 04-15-2016 at 08:32 AM.

  14. #14
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    gurusivakumaran,

    Been "afd" for week for family reasons, Will have a look at this tomorrow for you, and see if I can give you the code that will show one number for all the Database rows meeting your different criteria.

    Ochimus

  15. #15
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    Ochimus,

    i have attached my working file , please help the same
    Last edited by gurusivakumaran; 04-18-2016 at 11:28 AM.

  16. #16
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    gurusivakumaran,

    Having looked at your attachment, why are there two tables in the Data sheet (Cols A - I and K - S)?

    In the Data sheet, the following Buyers have two Cities. Are these just "typos", so there should be only one city?

    9243 GANESH AGENCIES Yercard and Yercaud
    22401 SRI JAYALAKSHMI OIL STORE Atur and Attur
    22405 RITHAN TRADERS Valapady and Vazhapadi
    22406 DINESH AGENCIES Namakkal and Nammakkal

    Ochimus
    Last edited by Ochimus; 04-18-2016 at 06:35 PM.

  17. #17
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    Duplicate posting - please ignore

  18. #18
    Registered User
    Join Date
    01-06-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: sumifs choose,match fucntion

    no , this is not duplicate its spelling mistake , ill correct my data

    please help

  19. #19
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: sumifs choose,match fucntion

    gurusivakumaran I think Ochimus meant that they had made a duplicate post, not you

  20. #20
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: sumifs choose,match fucntion

    gurusivakumara,

    FDibbins is correct - It was my message asking about the two tables that was "duplicated" by mistake.

    Ochimus

+ 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. sumifs choose,match fucntion
    By gurusivakumaran in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 04-07-2016, 10:45 AM
  2. [SOLVED] dynamically choose columns for sumifs
    By onroute in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2015, 04:02 AM
  3. Look up fucntion or index or match
    By heiderayos in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2014, 12:24 PM
  4. [SOLVED] Choose and Match a number with a segment.
    By t123x in forum Excel General
    Replies: 6
    Last Post: 06-27-2012, 02:38 PM
  5. Match Date, Choose Next Value
    By john_mc in forum Excel General
    Replies: 2
    Last Post: 11-07-2007, 10:32 PM
  6. VLOOKUP, INDEX, MATCH... What to choose
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 05:05 PM
  7. [SOLVED] VLOOKUP, INDEX, MATCH... What to choose
    By Piloulondon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 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