+ Reply to Thread
Results 1 to 7 of 7

Summary Different day expense

  1. #1
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Summary Different day expense

    hi,

    I am trying to summary my differentday food data. i want to add total in SUmmary table. Thanks for your help.

    TOP
    Attached Files Attached Files
    Last edited by top1; 02-05-2010 at 12:28 AM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Summary Different day expense

    I recommend you use a correct data structure as shown in the attached, then this formula

    =SUMIF($M$3:$M$14,"*"&A10&"*",$N$3:$N$14)
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Summary Different day expense

    Quote Originally Posted by Palmetto View Post
    I recommend you use a correct data structure as shown in the attached, then this formula

    =SUMIF($M$3:$M$14,"*"&A10&"*",$N$3:$N$14)

    Dear Palmetto,

    Thanks for successfull help in solving my proble.

    I am just wondring is there any easy way to do this without restructure the data.

    THANKS

  4. #4
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: Summary Different day expense

    per your example in B10 and copy down-->
    =SUMIF($A$3:$A$6,"*"&A10&"*",$B$3:$B$6)+SUMIF($D$3:$D$6,"*"&A10&"*",$E$3:$E$6)+SUMIF($G$3:$G$6,"*"&A10&"*",$H$3:$H$6)
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Summary Different day expense

    I am just wondring is there any easy way to do this without restructure the data.
    Yes. As khamilton shows. However, my suggestion was intended to illustrate the correct way to structure data using a classic database style structure.

    Your approach, as shown by khamilton, requires a longer, more complex formula and will necessitate much more maintenance to adjust for additional ranges of data.

  6. #6
    Registered User
    Join Date
    12-07-2009
    Location
    Heaven
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    69

    Re: Summary Different day expense

    Thanks Khamilton and Palmetto.
    Urs formula helped me to solve my problem. I really appreciate you help.

  7. #7
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Summary Different day expense

    Glad to help.

    Please mark your thread as solved by going to YOUR first post and clicking on Thread Tools, then Go Advanced and choose the [solved] prefix.

    You can provide feedback or show appreciate to those who contributed a helpful response. See my signature for how to go about it.

+ 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