+ Reply to Thread
Results 1 to 5 of 5

SUMIF argument w/ single text criteria BUT with added tax for specific cells

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    SUMIF argument w/ single text criteria BUT with added tax for specific cells

    Hi there!

    First time user with limited excel formula and syntax knowledge working with Excel 2007.

    I have a budget workbook with several sheets from which I would like to pull numbers to summarize on one sheet.

    I need help writing a formula to:

    (a) add a range of numbers (e6:e41) with text criteria (d5:d41) then add 5% tax to that total

    AND

    (b) add numbers (e49:e84) with text criteria (d49:84) without tax.

    Using the Microsoft knowledge base this is as far as I got since I received syntax errors when I tried to add to the formula the second argument string.

    =SUMIF('Bath Fixtures'!$D$6:$D$41,"*kitchen*",'Bath Fixtures'!$e$6:$e$41)*1.05

    I appreciate any help!

    -Gianni
    Last edited by lallo.jr; 05-04-2010 at 02:34 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUMIF argument w/ single text criteria BUT with added tax for specific cells

    I checked your formula and it seems fine. What seems to be the problem?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    Re: SUMIF argument w/ single text criteria BUT with added tax for specific cells

    Hi, thanks for the quick reply!

    The formula only calculates the (a) portion of my problem (sumif w/ added tax), but not the (b) portion. if I try to add to the formula with a comma I get a syntax error back.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUMIF argument w/ single text criteria BUT with added tax for specific cells

    Not sure if you are searching for the same thing but either way, this would be the formula

    =SUMIF('Bath Fixtures'!$D$6:$D$41,"*kitchen*",'Bath Fixtures'!$e$6:$e$41)*1.05+SUMIF('Bath Fixtures'!$D$49:$D$84,"*kitchen*",'Bath Fixtures'!$e$49:$e$84)

  5. #5
    Registered User
    Join Date
    05-04-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007, 2010
    Posts
    26

    Re: SUMIF argument w/ single text criteria BUT with added tax for specific cells

    that's perfect.

    I didn't realize I didn't need a separator so I was trying with commas or extra parentheses, hence the errors.

    well done!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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