+ Reply to Thread
Results 1 to 4 of 4

Sum columns where date appears on column heading

  1. #1
    Forum Contributor
    Join Date
    03-11-2021
    Location
    india
    MS-Off Ver
    365
    Posts
    154

    Sum columns where date appears on column heading

    Hi,

    I have a parts spreadsheet which shows parts and required quantity.
    Each time there is a shipment, a new column is appended with the heading "Shipped ##.##.####" where ##.##.#### is the date of the shipment.

    I need to be able to sum shipments for each of these parts, but only where the month of the date in the heading is April (4).
    Is there any way to do this please?

    I've attached an example file.
    Attached Files Attached Files

  2. #2
    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,740

    Re: Sum columns where date appears on column heading

    Get rid of "Shipped by" - instead, have another row above the dates that says that and have just dates in the header row, then this is easy with SUMIFS:

    =SUMIFS($D3:$I3,$D$2:$I$2,">="&DATE(2021,4,1),$D$2:$I$2,"<="&EOMONTH(DATE(2021,4,1),0))
    Attached Files Attached Files
    Last edited by AliGW; 04-15-2021 at 06:22 AM.
    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.

  3. #3
    Forum Contributor
    Join Date
    03-11-2021
    Location
    india
    MS-Off Ver
    365
    Posts
    154

    Re: Sum columns where date appears on column heading

    Great. Thank you.

  4. #4
    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,740

    Re: Sum columns where date appears on column heading

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Return column number where specific heading appears
    By chrisellis250 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2019, 11:42 AM
  2. Replies: 1
    Last Post: 02-08-2019, 10:35 AM
  3. Summing first value in multiple columns based on column heading
    By alex_kx3 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-02-2018, 02:00 PM
  4. Copy Columns to another sheet based on column heading
    By jhall488 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2014, 03:46 PM
  5. Find most recent date in Column Headings in a Range, insert new column and heading
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 08:28 AM
  6. Extracting Row Information if Value appears in Columns to List under Column Heading
    By cristame in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2013, 11:26 AM
  7. [SOLVED] Delete columns based upon a column heading?
    By Bandicoot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2013, 10:02 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