+ Reply to Thread
Results 1 to 8 of 8

count each expences type of sheet 1 and sum to summary sheet 2

Hybrid View

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    riyadh
    MS-Off Ver
    Microsoft 365
    Posts
    26

    count each expences type of sheet 1 and sum to summary sheet 2

    as per attached sheet, i want to sumup each expences type to each site ID in a summary sheet 2.
    please help
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,002

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    You will need to use the =Sumifs formula. Here is a tutorial on how to use it.

    http://office.microsoft.com/en-us/ex...010047504.aspx
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    riyadh
    MS-Off Ver
    Microsoft 365
    Posts
    26

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    Quote Originally Posted by alansidman View Post
    You will need to use the =Sumifs formula. Here is a tutorial on how to use it.

    http://office.microsoft.com/en-us/ex...010047504.aspx

    hi
    thnakx for the response but my problem could not solve this way.
    because i have two criteria
    example
    "SIDE ID" is repeating in the row, which might be unlimited
    "Expenses types" are repeating and according to site ID

    so i have two criteria look up the site ID from column B. i am really confused. please can you apply directly in the excel sheet.

  4. #4
    Registered User
    Join Date
    11-28-2012
    Location
    riyadh
    MS-Off Ver
    Microsoft 365
    Posts
    26

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    thanks it works
    appreciating your support

  5. #5
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    Hi javaidmr!
    Welcome to the forum!

    Use the following formula in C5 in sheet 2, and copy it across and down.
    =SUMPRODUCT(--('sheet 1'!$C$8:$C$32=$B5),--('sheet 1'!$H$8:$H$32=C$4),'sheet 1'!$I$8:$I$32)

    Don't forget to click on the little star to the left of this post if you feel I helped
    Taming the Excel dragon... www.TheExcelphile.com

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    hi Javaidmr,

    Welcome to the forum.

    Try using below formula:-

    Formula: copy to clipboard
    =SUMIFS('sheet 1'!$I$8:$I$17,'sheet 1'!$C$8:$C$17,'sheet 2'!$B5,'sheet 1'!$H$8:$H$17,'sheet 2'!C$4)


    See attached:- sites expences and income report.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    Cheers

    Suggest you to mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: count each expences type of sheet 1 and sum to summary sheet 2

    Cheers

    Suggest you to mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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