+ Reply to Thread
Results 1 to 11 of 11

Sum of items by price range and catagory per catalog

  1. #1
    Registered User
    Join Date
    10-11-2016
    Location
    Cincinnati, Ohio
    MS-Off Ver
    2010
    Posts
    6

    Sum of items by price range and catagory per catalog

    I need to show number of items in each price range by category and by catalog appearance. I've tried a number of SUMIFs with no success. I've attached a sample. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Sum of items by price range and catagory per catalog

    Something like this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    10-11-2016
    Location
    Cincinnati, Ohio
    MS-Off Ver
    2010
    Posts
    6

    Re: Sum of items by price range and catagory per catalog

    When I use that formula in my actual sheet, I get the "Excel ran out of resources while calculating one or more formulas..." message.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Sum of items by price range and catagory per catalog

    When applied to your sheet, what (exactly) was the formula used?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Sum of items by price range and catagory per catalog

    I can imagine Excel would say that if you would put in entire columns instead of limited ranges. If that is the case, there are two options.
    One is to convert your datatable to an Excel Table. It expands the range automatically so the formulas can stay the same as you add data.

    Two is to create dynamic named ranges. They also expand the range automatically.

    Which way to go depends on your setup. Do you expect the number of books to increase?
    Last edited by Jacc; 02-25-2017 at 05:16 AM.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sum of items by price range and catagory per catalog

    I need to show number of items in each price range by category and by catalog appearance.
    I see no place in the 'Summary' sheet to account for this and am unclear what you mean.

    Without that to consider I tried this SUMIFS formula. It returns what I believe to be correct results.

    =SUMIFS(INDEX(Data!$D:$O,,MATCH($A$3,Data!$D$1:$O$1,0)),INDEX(Data!$D:$O,,MATCH($A$3,Data!$D$1:$O$1,0)),">="&B$5,INDEX(Data!$D:$O,,MATCH($A$3,Data!$D$1:$O$1,0)),"<"&C$5,Data!$C:$C,$A8)

    Like Jacc I put a large value of 1E+306 in cell J5, but I get different results.
    Last edited by FlameRetired; 02-25-2017 at 09:18 PM.
    Dave

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sum of items by price range and catagory per catalog

    Interpreted another way.

    =SUMPRODUCT(($A8=Data!$C$3:$C$6)*(Data!$P$3:$P$6 > = Summary!B$5)*(Data!$P$3:$P$6 < Summary!C$5)*Data!$P$3:$P$6*INDEX(Data!$D$3:$O$6,,MATCH(Summary!$A$3,Data!$D$1:$O$1,0)))


    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    3
    Book 1
    4
    5
    $0
    $50
    $100
    $150
    $200
    $250
    $300
    $350
    1.00E+306
    6
    7
    $0 - $49
    $50 - $99
    $100 - $149
    $150 - $199
    $200 - $249
    $250 - $299
    $300 - $349
    $350 +
    8
    MSH
    0
    0
    0
    0
    0
    0
    0
    0
    9
    MOW
    0
    0
    0
    0
    0
    0
    0
    350
    10
    WDR
    0
    0
    100
    0
    0
    0
    0
    0
    11
    WHT
    0
    0
    0
    75
    0
    0
    0
    0

  8. #8
    Registered User
    Join Date
    10-11-2016
    Location
    Cincinnati, Ohio
    MS-Off Ver
    2010
    Posts
    6

    Re: Sum of items by price range and catagory per catalog

    Thank you all for your help. I found a way to make it work.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sum of items by price range and catagory per catalog

    Spamanda,

    So would you post the solution you used?

    It might be helpful to other forum members seeking solution to a similar problem.

  10. #10
    Registered User
    Join Date
    11-30-2017
    Location
    ISTANBUL
    MS-Off Ver
    EXCEL 2016
    Posts
    4

    Re: Sum of items by price range and catagory per catalog

    can I ask here for help like cataloging all files from folders into excel using VBA/macro buttons?

    https://www.excelforum.com/excel-programming-vba-macros/1210652-how-to-catalog-pdf-png-files-into-excel-with-filers-using-vba-buttons.html#post4794372

  11. #11
    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
    80,756

    Re: Sum of items by price range and catagory per catalog

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    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.

+ 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. Trying to add price of items to inventory sheet
    By Janusz McNeill in forum Excel General
    Replies: 7
    Last Post: 02-10-2017, 10:26 PM
  2. [SOLVED] How do I calculate the cost price of these items?
    By Tigerkitten in forum Excel General
    Replies: 3
    Last Post: 02-02-2016, 10:09 AM
  3. INDEXed Items in price list
    By NVRensburg in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 10-08-2014, 10:17 AM
  4. Help with looking up items in Price table
    By dayeez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2014, 02:50 PM
  5. Struggling with Items/Price
    By KCKuhns92 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2013, 12:15 AM
  6. Replies: 1
    Last Post: 07-24-2013, 12:13 PM
  7. Replies: 17
    Last Post: 01-23-2007, 03:53 AM

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