+ Reply to Thread
Results 1 to 6 of 6

Help needed to convert Table to Sumif by period

  1. #1
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Help needed to convert Table to Sumif by period

    Hi, my table is simple, only 3 column, Staff name, pay and period. I wan to show Total Payroll and also total by month. The period to be dynamically transpose to header.
    However, i am stuck in transposing the header and also adding the text "Total".
    I think it will be easier if the By month header, i separately do the formula? Or can it be nested inside 1 formula to generate everything?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,115

    Re: Help needed to convert Table to Sumif by period

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Re: Help needed to convert Table to Sumif by period

    Hi Fluff, thanks! The formula is easily understood. I always forgot "Torow". Anyway, i thought the formula would required formula such as Lambda which i scare most. Luckily can be achieve without using Lambda.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,115

    Re: Help needed to convert Table to Sumif by period

    Glad to help & thanks for the feedback.

  5. #5
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Re: Help needed to convert Table to Sumif by period

    Hi, Fluff, lets say i want to sort the Total from biggest to smallest. How should i amend? I tried to sort, but then, the header and the last row become sorted as well.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,115

    Re: Help needed to convert Table to Sumif by period

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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)

Similar Threads

  1. Help Needed with Tax Increase by Period
    By GP2 in forum Excel General
    Replies: 3
    Last Post: 10-27-2021, 08:46 PM
  2. Formula needed to return a set number if time is before a certain period
    By DLsteve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-19-2020, 09:12 AM
  3. Replies: 2
    Last Post: 10-11-2015, 11:13 AM
  4. Replies: 4
    Last Post: 09-04-2015, 08:18 AM
  5. Replies: 4
    Last Post: 08-22-2014, 04:40 AM
  6. Sumif formula for a rolling 45 day period
    By meilieng in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-05-2012, 08:39 PM
  7. Replies: 4
    Last Post: 01-12-2012, 07:05 PM

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