+ Reply to Thread
Results 1 to 11 of 11

Formula to combine Tax Rates depending on dealer codes

  1. #1
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Formula to combine Tax Rates depending on dealer codes

    Please refer file attached.

    I needed formula in my sheet name "VF05_UTILITY" in column BA - Tax Rates("SGST+CSST+IGST"+0+0) depending on tax rates(column A, B & C) and Dealer Code (sheet: "Dealer Details") to calculate whether the dealer code come in SGST / CGST or IGST.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,155

    Re: Formula to combine Tax Rates depending on dealer codes

    i'm not sure i unbderstand the requirement given by your example
    looks like you just add up the rows as you have a "SGST+CSST+IGST"+0+0 amount for each row
    however
    row 12 and 13
    has the same dealer code and different "SGST+CSST+IGST"

    a little confused about what you need

    if you change the yes and no to a 0 and 1
    you could then use a lookup and multiply by the result


    =(INDEX('DEALER DETAILS'!$R$5:$R$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!A3 )+(INDEX('DEALER DETAILS'!$S$5:$S$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!B3 )+(INDEX('DEALER DETAILS'!$T$5:$T$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!C3 )
    Last edited by etaf; 12-31-2018 at 07:11 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formula to combine Tax Rates depending on dealer codes

    In BA3 copied down:

    =SUMPRODUCT(($A3:$C3)*('DEALER DETAILS'!$A$5:$A$17=$H3)*('DEALER DETAILS'!$N$5:$P$17="YES"))
    Last edited by AliGW; 12-31-2018 at 07:06 AM.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97 for Mac MS 365
    Posts
    8,701

    Re: Formula to combine Tax Rates depending on dealer codes

    are you saying you need this...
    =A3+B3+C3+BE3+BF3+BG3
    or if the other IGST then this...
    =A3+B3+bd3+BE3+BF3+BG3
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to combine Tax Rates depending on dealer codes

    This is not clear at all.

    Are you looking for a numerical calculation in BA or a string that contains the relevant tax rates. In any case your BB:BD columns seem to reflect or at least use the dealer tax rates.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Formula to combine Tax Rates depending on dealer codes

    Quote Originally Posted by AliGW View Post
    In BA3 copied down:

    =SUMPRODUCT(($A3:$C3)*('DEALER DETAILS'!$A$5:$A$17=$H3)*('DEALER DETAILS'!$N$5:$P$17="YES"))
    I'm really sorry that I've unalbe to express exactly what I need in my original post.

    I didnt need SUM of tax rates but to combine as text in the format as ( SGST TAX RATE"+"CGST TAX RATE"+"IGST TAX RATE"+0+0" ) just like the already available values in range BA3 to BA13 in my attached file.
    Last edited by abhinavbinkar; 12-31-2018 at 07:30 AM.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formula to combine Tax Rates depending on dealer codes

    Then please explain exactly what you DO want. As you can see, nobody is yet certain.

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to combine Tax Rates depending on dealer codes

    When you say combine do you mean concatenate the A3:C3 cell values as strings or you are adding them.

    It's confusing since your current 'formula!' doesn't start with an "="

  9. #9
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,155

    Re: Formula to combine Tax Rates depending on dealer codes

    assuming you want the result exactly as shown in the cell , BUT I suspect theres more needed, like Columns BE etc as you said +0+0

    slight modification to the formula I posted
    =(INDEX('DEALER DETAILS'!$R$5:$R$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!A3 )&"+"&(INDEX('DEALER DETAILS'!$S$5:$S$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!B3 )&"+"&(INDEX('DEALER DETAILS'!$T$5:$T$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!C3 )&"+0+0"

    so instead of &"+0+0"
    you can add the cells Be3 & Bg3

    =(INDEX('DEALER DETAILS'!$R$5:$R$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!A3 )&"+"&(INDEX('DEALER DETAILS'!$S$5:$S$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!B3 )&"+"&(INDEX('DEALER DETAILS'!$T$5:$T$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!C3 )&"+"&VF05_UTILITY!BE3&"+"&VF05_UTILITY!BG3
    Attached Files Attached Files
    Last edited by etaf; 12-31-2018 at 07:48 AM.

  10. #10
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Formula to combine Tax Rates depending on dealer codes

    Quote Originally Posted by etaf View Post
    assuming you want the result exactly as shown in the cell , BUT I suspect theres more needed, like Columns BE etc as you said +0+0

    slight modification to the formula I posted
    =(INDEX('DEALER DETAILS'!$R$5:$R$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!A3 )&"+"&(INDEX('DEALER DETAILS'!$S$5:$S$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!B3 )&"+"&(INDEX('DEALER DETAILS'!$T$5:$T$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!C3 )&"+0+0"

    so instead of &"+0+0"
    you can add the cells Be3 & Bg3

    =(INDEX('DEALER DETAILS'!$R$5:$R$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!A3 )&"+"&(INDEX('DEALER DETAILS'!$S$5:$S$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!B3 )&"+"&(INDEX('DEALER DETAILS'!$T$5:$T$17,MATCH(VF05_UTILITY!H3,'DEALER DETAILS'!$A$5:$A$17,0)) * VF05_UTILITY!C3 )&"+"&VF05_UTILITY!BE3&"+"&VF05_UTILITY!BG3
    Exactly what I was looking for. Thanks you so much Sir. SOLVED.

  11. #11
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,155

    Re: Formula to combine Tax Rates depending on dealer codes

    you are welcome

+ 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: 3
    Last Post: 12-08-2020, 12:22 PM
  2. [SOLVED] Formula to calculate Tax values on net value depending on dealer codes
    By abhinavbinkar in forum Excel General
    Replies: 2
    Last Post: 12-30-2018, 03:09 AM
  3. [SOLVED] Formula to calculate pay depending on job code rates
    By youlinini in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2018, 10:27 AM
  4. [SOLVED] Formula to combine two columns and change third column depending if it's a match
    By james1539 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-07-2016, 07:52 AM
  5. [SOLVED] combine two VBA codes into one
    By PsychicFish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2016, 05:37 AM
  6. [SOLVED] Need formula to calculate total of different rates depending on count
    By laura2114 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2012, 05:32 PM
  7. Variable Pay Rates Depending on what Time of Day
    By booya in forum Excel General
    Replies: 0
    Last Post: 07-25-2010, 12:55 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