+ Reply to Thread
Results 1 to 5 of 5

Show Specific Category by day and how many times

  1. #1
    Registered User
    Join Date
    03-16-2010
    Location
    portugal
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Show Specific Category by day and how many times

    Hi,

    After a few hours seeing some posts i cant really find a way to solve my problem.

    What i need help from is the following (see exemple file in attach):

    I need to know how many types of food (specific ) there is by day.

    For exemple: On day 15 i have 17 times Tomato. (the real file have hundereds of lines)

    The final goal is to make a weekly chart to know how many times per day appear "Tomato"
    Attached Files Attached Files
    Last edited by apollopt; 03-23-2010 at 02:19 PM.

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Show Specific Category by day and how many times

    hIapollopt
    Take a look at this sample
    i ended up with this formula

    =SUM((($F6=INT($A$2:$A$46))*(G$5=$D$2:$D$46))*1)
    confirmed w/ Ctrl+shift+Enter
    Attached Files Attached Files
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    03-16-2010
    Location
    portugal
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Show Specific Category by day and how many times

    Quote Originally Posted by contaminated View Post
    hIapollopt
    Take a look at this sample
    i ended up with this formula

    =SUM((($F6=INT($A$2:$A$46))*(G$5=$D$2:$D$46))*1)
    confirmed w/ Ctrl+shift+Enter
    Hi Again,
    And thx for the help. But theres something i cant understand..
    I treied to add 3 more Lines with a different name and make the formula and its not working...
    Can you please check the formula and see what im doing wrong?
    Attached Files Attached Files

  4. #4
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Show Specific Category by day and how many times

    Because Couves entry in column D has gap, whereas Couves entry in J% has no gap at the end.
    In short "Coves " <> "Coves"

    You can solve this issue if you eliminate gap after all words or add just TRIM function to do this. Eg you can use thius formulae also...

    =SUM((($F6=INT($A$2:$A$49))*(G$5=TRIM($D$2:$D$49)))*1)

    Confirmed w/ ctrl+shift + enter and copied down then accross
    HTH

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Exclamation Re: Show Specific Category by day and how many times

    Why invent the wheel again?

    XL provides Pivot Tables to suit your needs ( see attached)

    The only thing you will have to cope with is the increasing list.
    To do this use Dynamic Ranges for which there is an explanation here
    Attached Files Attached Files

+ 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