+ Reply to Thread
Results 1 to 31 of 31

BIG Sum Poblems!!

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    BIG Sum Poblems!!

    Hi Guys,

    I had some great help yesterday on a problem and hoping for some further help here.

    I am a fledgling excel user but trying to make, what to me at least, seems like a complicated spread sheet.
    The purpose of the spread sheet is to generate a quotation for a range of furniture and then disseminate this down through separate worksheets for breakdowns to production – i.e. upholstery, metal work, woodwork ect ect.

    I have set up my first sheet which is the quotation with drop downs for qty, item code (that has a vlookup for filing in generic data such as size, drawing no. ect), drop downs for finishes and a drop down for fabric that in the next cell gives the correct fabric meterage for the right item code (this is what I got help on yesterday).

    My big problems!!:

    1) On the quotation sheet something isn’t quite working with my vlookups when selecting from the item code drop down. If you’re filling each row in turn as you go down then fine but if you miss a row or go back and change an item code to a new item code the vlookup no longer works. Any ideas?

    2) Once that problem is fixed what I really want to do is on the ‘JOB – OVERVIEW BREAKDOWN’ sheet I would like to fill the ‘ORDER QTY’ column with the right qty from the Quotation sheet. I.e. show how many CH-10 chairs there are (there may be more than one line item for a CH-10 chair for example depending on qty and fabric spec). I have tried with sumproduct and sumif but no luck yet.

    3) Similarly on the ‘JOB – UPHOLSTERY’ sheet I would like to fill in the total qty for all CH-10 chairs - for example (this will be using the same technique to solve problem 2 I imagine) but then I would also like to fill in the correct number of CH-10 chairs by fabric in the fabric breakdown. Again all referencing from the quotation sheet.

    Hopefully I will be able to use the principle of the above solutions to continue to filter figures through the other production breakdown sheets. Such as…

    4) Show on the ‘JOB – FABRIC’ sheet the total, for example, meterage of Fabric 1 for all items using Fabric 1.
    Final big problem:

    5) This may not be worth attempting but I’ll put it down here anyway… Say I have a quote with just 2 no. Ch-10 chairs and 1 no. SO-10 sofa. The production qtys are filtered through now across the various production breakdown sheets but this leaves me with many surplus to requirement entries for items not on this order. Is there a way of generating fresh sheets or removing the empty lines so only the CH-10 and SO-10 relevant entries are shown on each sheet. Sounds like a bigy to me so could just delete everything that is not needed (hopefully this won’t screw up formulas) but if something more automated can be done I’d be keen to learn!

    Hope that all makes sense. Sorry to come to the forum with all these problems. I may be biting off more than I can chew but at least it’s a good way to learn!

    Many thanks and any help will be amazing.

    Regards

    (P.S. basic file attached)


    Sum Problems.xlsx

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,738

    Re: BIG Sum Poblems!!

    i will edit this post as I go through any points and add

    point 1) you need to fix the range using $ - as you copy down you are changing the lookup range
    VLOOKUP(E12,'Basic Lists'!A2:F21,2,FALSE)
    should be
    ,VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)

    point 2)
    =SUMIF('MASTER QUOTATION'!E12:E35,B9,'MASTER QUOTATION'!D12:D31)
    should work
    Last edited by etaf; 03-30-2013 at 04:04 PM.

  3. #3
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    The answer to question 1):

    You vlookup formula is OK in F12 for the description but you need to change the lookup table range to an ABSOLUTE reference:

    =IF(ISNA(VLOOKUP(E12,'Basic Lists'!A2:F21,2,FALSE)),"",VLOOKUP(E12,'Basic Lists'!A2:F21,2,FALSE)) should be
    =IF(ISNA(VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)),"",VLOOKUP(E12,'Basic Lists'!$A$2:F$21,2,FALSE))

    Then drag this down, the dollar signs make sure that the reference stays the same (if you drag down to the next row A2 becomes A3 but $A$2 stays as it is, $A$2).
    This will stope the vlookup showing blanks when you choose an item. Style, Size and Drawing lookup formulas need the $ applying in the same way.
    Say thanks, click *

  4. #4
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    Number 3)
    use SUMIFS in with this format:

    =SUMIFS('MASTER QUOTATION'!D:D,'MASTER QUOTATION'!E:E,$C$16,'MASTER QUOTATION'!L:L,G17)

    $C$16 is the item code on the same sheet and G17 is the fabric. (example formula is for H17)

  5. #5
    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: BIG Sum Poblems!!

    Hi and welcome to the (addictive) world of excel.

    That is quite a mouthful you are asking there, so lets take it 1 step at a time (its good to get all the questions out there though, in case some are related)

    Q1. The reason your formulas are not working, is because you did not absolute the vlookup() range - it adjusted itself every time you copied it down.. Also, you are using 2010, so you can use iferror(). I modified your vlookup to an index/match, you can just copy this as is, down and across to where you need it

    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")
    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

  6. #6
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    Number 4)

    JOB-FABIC sheet cell E16:

    =SUMIF('MASTER QUOTATION'!L:L,'JOB - FABRIC'!A16,'MASTER QUOTATION'!N:N)

    Drag down. I assume you are summing Column N in the Master sheet for certain fabrics. If not change N:N to the correct column.

  7. #7
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks guys,

    I'm going through your solutions as you write them. Give me a mo. Will come back shortly with my progress / questions!

    Thank you very much.

    Keep them coming!

  8. #8
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    FDibbins: Thanks for your response.

    Question: What is the advantage to using iferror() with index/match as oposed to my vlookups?

    Thanks.


    (Putting the $ signs in now to my vlookups as a starter - thanks Harribone / etaf)

  9. #9
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    Number 5 can be done but it will take some time modifying your sheet to do this (unless another member has a quick way of seting this up).

    On each JOB sheet you have listed every item possible and then some details relating to that item. As long as each item is set up to the same layout and the item specifics are stored on another sheet it can be modified to show only items selected.

    Example - JOB overview Breakdown.

    You need 1 Upholstery row for an item and 7 Metal rows for an item (at max.). The way I can set this up for you will mean each item if shown will have 1 Uphols/7 Metal rows per item even if not all needed. If this is OK with you I can work through your file to get all information in the right place then set up 'templates' for each JOB which will populate with active selections.

    Let me know if this is acceptable ad I will crack on with it, chances are someone out there smarter than me (i.e. everyone else!) will come up with a solution in 2 secs in the meantime lol

  10. #10
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    IFERROR as mentioned can be used with anything (vlookups and match), this will make your formulas much cleaner.

    so for example F12 in Master Sheet is currently:
    =IF(ISNA(VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)),"",VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE))
    with IFERROR:
    =IFERRORVLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)),"")
    They both do the same but as you can see method 2 is clearer to read.

  11. #11
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Point 2 fix works great. Thanks etaf.

  12. #12
    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: BIG Sum Poblems!!

    Also, I prefer to use index/match, it is far more flexible than just vlookup, also, it can "look behind" itself (ie, it can reference columns to the left of teh search column), something vlookup cant do.

    And I know you can add match() to a vlookup to replace the "column number", but index/match/match is just a habit for me now I guess

  13. #13
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks. Works a treat.

    Quote Originally Posted by Harribone View Post
    Number 3)
    use SUMIFS in with this format:

    =SUMIFS('MASTER QUOTATION'!D:D,'MASTER QUOTATION'!E:E,$C$16,'MASTER QUOTATION'!L:L,G17)

    $C$16 is the item code on the same sheet and G17 is the fabric. (example formula is for H17)

  14. #14
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: BIG Sum Poblems!!

    Try this, I don't really understand your #5 ? good luck!
    Attached Files Attached Files
    Tom S.
    ↙ If you find my reply helpful click on the * down there on the left. Yeah that's it, right there, down on the left
    If your question is resolved, mark it SOLVED using the thread tools.

  15. #15
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Got it. Thanks.

    Quote Originally Posted by Harribone View Post
    IFERROR as mentioned can be used with anything (vlookups and match), this will make your formulas much cleaner.

    so for example F12 in Master Sheet is currently:
    =IF(ISNA(VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)),"",VLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE))
    with IFERROR:
    =IFERRORVLOOKUP(E12,'Basic Lists'!$A$2:$F$21,2,FALSE)),"")
    They both do the same but as you can see method 2 is clearer to read.

  16. #16
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thank FDibbins.

    Am I right in saying that to use this =FERROR formula when I copy it to, say, the 'style' cell I just change the F11 TO G11 and so on for 'drawing no.' ect?

    Thanks.

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the (addictive) world of excel.

    That is quite a mouthful you are asking there, so lets take it 1 step at a time (its good to get all the questions out there though, in case some are related)

    Q1. The reason your formulas are not working, is because you did not absolute the vlookup() range - it adjusted itself every time you copied it down.. Also, you are using 2010, so you can use iferror(). I modified your vlookup to an index/match, you can just copy this as is, down and across to where you need it

    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

  17. #17
    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: BIG Sum Poblems!!

    Its not the iferror() part that is doing the extracting, its this part...
    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

    And the way I have structured the formula using $, you cont need to change a thing copying it down and/or across - it auto adjusts.

    $ is used to absolute a cell reference, locking it so that when copied, it doesnt change.. it comes in 3 different "flavors...

    $A$1 absolutes the entire cell reference, it will not chance when copied down or across
    $A1 absolutes only the column, "A" will not change when copied across, but "1" WILL change when copied down
    A$1 absolutes only the row, "1" will not change when copied down, but "A" will change when copied across

    All the iferr90 does is take care of times when an error message would be returned (nothing to find {empty row}, cant find an item etc)

  18. #18
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    To further help explain the IFERROR:

    =IFERROR(formula,"")

    where formula is your formula. If your formula results in an error the IFERROR will jump to the "" and display this.

    "" will show a blank cell
    0 will show the number zero (can use any number if wanted)
    "Not Found" will show Not Found, again you can use any text relevant to the situation
    or you can use another formula (but if this formula result in an error the error will be displayed, you have to wrap a new iferror arounf this formula).

  19. #19
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks very much.


    Quote Originally Posted by Tank997 View Post
    Try this, I don't really understand your #5 ? good luck!

  20. #20
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks FDibbins,

    I'm just about following the sequence of the formula (understant how the IFERROR bit is working). I understand where each part of the main formula is referencing but dont fully understand the 'story' it is telling. Is it important that headings are the same for this to work? Also, question: what does a comma (,) mean in a formula?

    Sorry if this is pretty basic stuff. I'm learning fast through!

    Thanks.



    Quote Originally Posted by FDibbins View Post
    Its not the iferror() part that is doing the extracting, its this part...
    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

    And the way I have structured the formula using $, you cont need to change a thing copying it down and/or across - it auto adjusts.

    $ is used to absolute a cell reference, locking it so that when copied, it doesnt change.. it comes in 3 different "flavors...

    $A$1 absolutes the entire cell reference, it will not chance when copied down or across
    $A1 absolutes only the column, "A" will not change when copied across, but "1" WILL change when copied down
    A$1 absolutes only the row, "1" will not change when copied down, but "A" will change when copied across

    All the iferr90 does is take care of times when an error message would be returned (nothing to find {empty row}, cant find an item etc)

  21. #21
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks. Understood.


    Quote Originally Posted by Harribone View Post
    To further help explain the IFERROR:

    =IFERROR(formula,"")

    where formula is your formula. If your formula results in an error the IFERROR will jump to the "" and display this.

    "" will show a blank cell
    0 will show the number zero (can use any number if wanted)
    "Not Found" will show Not Found, again you can use any text relevant to the situation
    or you can use another formula (but if this formula result in an error the error will be displayed, you have to wrap a new iferror arounf this formula).

  22. #22
    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: BIG Sum Poblems!!

    in the formula...
    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

    often, to understand how a complex formula works, its best to start from inside and work outwards. so...

    MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0)
    Match will return a row or column number of what it is searching for
    find the contents of 'MASTER QUOTATION'!$E12 in the ROW range 'Basic Lists'!$A$1:$A$21 the ",0" is for an exact match -this will returm how many rows down - from A1 -the match is

    MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)
    find the contents of 'MASTER QUOTATION'!$F11 in the COLUMN range 'Basic Lists'!$A$1:$F$1 the ",0" is for an exact match -this will returm how many columns across - from A1 -the match is

    So, with those 2, we now have a cross-reference of row number and column number to the value we are looking for. All that remains if to hook them together...this is where index() comes in.

    =index(range, row, column)

    then, to finish it all off, we use iferror() for error trapping and handling

    Hope that helps?

  23. #23
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks FDibbins!

    That does actually make sense!

    And you profer to use the Index/match combo rather than Vlookup as the one formula will adapt as copied accros (depending on how the $ are located) where as vlookup has to be tailored to each cell?

    Thanks again for the explanation.




    Quote Originally Posted by FDibbins View Post
    in the formula...
    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

    often, to understand how a complex formula works, its best to start from inside and work outwards. so...

    MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0)
    Match will return a row or column number of what it is searching for
    find the contents of 'MASTER QUOTATION'!$E12 in the ROW range 'Basic Lists'!$A$1:$A$21 the ",0" is for an exact match -this will returm how many rows down - from A1 -the match is

    MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)
    find the contents of 'MASTER QUOTATION'!$F11 in the COLUMN range 'Basic Lists'!$A$1:$F$1 the ",0" is for an exact match -this will returm how many columns across - from A1 -the match is

    So, with those 2, we now have a cross-reference of row number and column number to the value we are looking for. All that remains if to hook them together...this is where index() comes in.

    =index(range, row, column)

    then, to finish it all off, we use iferror() for error trapping and handling

    Hope that helps?

  24. #24
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks FDibbins!

    That does actually make sense!

    And you profer to use the Index/match combo rather than Vlookup as the one formula will adapt as copied accros (depending on how the $ are located) where as vlookup has to be tailored to each cell?

    Thanks again for the explanation.




    Quote Originally Posted by FDibbins View Post
    in the formula...
    =IFERROR(INDEX('Basic Lists'!$A$1:$F$21,MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0),MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)),"")

    often, to understand how a complex formula works, its best to start from inside and work outwards. so...

    MATCH('MASTER QUOTATION'!$E12,'Basic Lists'!$A$1:$A$21,0)
    Match will return a row or column number of what it is searching for
    find the contents of 'MASTER QUOTATION'!$E12 in the ROW range 'Basic Lists'!$A$1:$A$21 the ",0" is for an exact match -this will returm how many rows down - from A1 -the match is

    MATCH('MASTER QUOTATION'!F$11,'Basic Lists'!$A$1:$F$1,0)
    find the contents of 'MASTER QUOTATION'!$F11 in the COLUMN range 'Basic Lists'!$A$1:$F$1 the ",0" is for an exact match -this will returm how many columns across - from A1 -the match is

    So, with those 2, we now have a cross-reference of row number and column number to the value we are looking for. All that remains if to hook them together...this is where index() comes in.

    =index(range, row, column)

    then, to finish it all off, we use iferror() for error trapping and handling

    Hope that helps?

  25. #25
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: BIG Sum Poblems!!

    It's not the tailoring to each cell which FDibb is on about. To explain lets apply the two methods to the below situation:

    Sheet1
    COL A - Quantity
    COL B - Item Code
    COL C - Description
    COL D - Item Colour (notice that this is spelt correctly with a 'u' lol)

    Now say on sheet2 you want to enter in an item code (in A1) and return the desciption.
    Vlookup: =VLOOKUP(A1,Sheet1!B:C,2,0)
    Index/Match =INDEX(Sheet1!C:C,MATCH(A1,Sheet1!B:B,0))
    These both work as well as each other.

    Now say you want to enter the item as before in A1 but return the Quantity.
    Vlookup: ------------
    Index/Match: =INDEX(Sheet1!C:C,MATCH(A1,Sheet1!B:B,0))
    You can't do this with a vlookup because the lookup value (item code) must be the first column. Then you can return a value as long as it is in a column AFTER the lookup column.
    Index/Match is much more flexible because it doesn't care about first column etc. You tell it where to look and it obeys.

    Hope this helps.

  26. #26
    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: BIG Sum Poblems!!

    Harribone's last comment is very valid - vlookup() cannot look "behind" itself, that is, it cannot be used to look for anything to the left of what you are trying to find.

    Added to that, I prefer the match() function, because you dont need to count how many columns over, you need to use - as long as the heading is identical to what you use for the search criteria, match() will find it no matter where it is

    For me, I guess it comes down to...if i need to do a quick/simple find of something in a small-ish table (say in the 1st-3rd column), I will use vlookup. If i have a large table, and will be trying to find a bunch if different columns scattered through-out a big table, then index/match is my tool of choice

  27. #27
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Hi Guys,

    Just a quick question:

    I am trying to add up the total number of multiple criteria but is driving me mad as can't get the SUMIF or SUMIFS to work!

    To be more precise I'm trying to show on my 'JOB - TURNING' sheet the total number of legs for chairs, ottomans and sofas (i.e. codes starting CH, OT, or SO).

    Can someone put me out of my missery? Sure I'm just missing somehting really simple.

    Thanks very again.

  28. #28
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,738

    Re: BIG Sum Poblems!!

    what have you used so far - can you give an example

    =SUMIF('MASTER QUOTATION'!E:E,"CH*",'MASTER QUOTATION'!D:D)

  29. #29
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Think I have susssed it!

    =SUM(SUMIFS('MASTER QUOTATION'!D12:D45,'MASTER QUOTATION'!E12:E45,{"CH - 10","CH - 10 B","CH - 11","OT - 09","OT - 09 B","OT - 10","OT - 11","OT - 12","SO - 10","SO - 10 B"}))

    Thanks.

  30. #30
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,738

    Re: BIG Sum Poblems!!

    excellent , remember you can use wild cards *

    if you wanted just CH OT and SO
    =SUM(SUMIFS('MASTER QUOTATION'!D12:D45,'MASTER QUOTATION'!E12:E45,{"CH*","OT*","SO *"}))

    that gives 105 - where as you get 81 from your formula - so I guess you dont want all CH, OT SO

  31. #31
    Registered User
    Join Date
    03-29-2013
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: BIG Sum Poblems!!

    Thanks for that tip on the '*'. Good to know.

    (Yes the OT-08 has different legs!)

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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