+ Reply to Thread
Results 1 to 8 of 8

Mutiply rows if date columns equal to a full year

  1. #1
    Registered User
    Join Date
    02-05-2015
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    14

    Thumbs up Mutiply rows if date columns equal to a full year

    I am trying to multiply (E) * (F), in (G) > If Dates in (B) Thru (C) = To a Full year , If not, do not multiply (E) * (F)
    Attached Files Attached Files
    Last edited by Whard42; 10-17-2018 at 01:39 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,493

    Re: Mutiply rows if date columns equal to a full year

    We are not able to work with screenshots. Please attach a sample workbook instead. Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Mutiply rows if date columns equal to a full year

    Since there are no full years in B:C this returns all blanks in the upload.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,493

    Re: Mutiply rows if date columns equal to a full year

    Are the numbers in G the expected outcome? If so, then do you mean a full month rather than a full year? And why are you wanting to multiply E and F? Should you not be adding them? Confused!

  5. #5
    Registered User
    Join Date
    02-05-2015
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    14

    Re: Mutiply rows if date columns equal to a full year

    Yes, G is the expected outcome.

    What I would like to do if possible is to have a formula that would see January 1, 2010 to December 31, 2010 as a full year.
    IF date in B4:C23 = Full Year, add : ) column E and F. If not blank.

    Right now, I can do it by entering “Year” in D, but I must tell it the date and that’s what I trying to avoid.

    Thank you for your quick reply

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,493

    Re: Mutiply rows if date columns equal to a full year

    How about this, then?

    =IF(COUNTIFS($C$4:$C$23,">="&DATE(YEAR(C4),1,1),$C$4:$C$23,"<="&DATE(YEAR(C4),12,31))=12,E4+F4,0)

    What was confusing at first was that you seem to have rows and columns muddled in your title, and you were saying multiply instead of add in your opening post. Columns have letters across the top, rows have numbers down the side.

  7. #7
    Registered User
    Join Date
    02-05-2015
    Location
    Massachusetts
    MS-Off Ver
    2013
    Posts
    14

    Re: Mutiply rows if date columns equal to a full year

    Thank you.

    Very greatly appreciated. I been messing with this for 3 days now.

    Sorry for the confusion.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,493

    Re: Mutiply rows if date columns equal to a full year

    You're welcome!

    It is pretty important to get rows and columns the right way around.

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

+ 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. [SOLVED] Combine Equal rows (columns C & G) and Sum (columns E & F)
    By rxk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2017, 10:16 PM
  2. Lookup only Month and Year in full date
    By cschulz349 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2017, 12:38 PM
  3. [SOLVED] vba for not entering value in column if date in rows equal to toadys date
    By siddiq1212 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2013, 08:32 AM
  4. Duplicate date 3 times for a full year in one column
    By puchimo in forum Excel General
    Replies: 5
    Last Post: 11-14-2012, 08:46 PM
  5. Replies: 0
    Last Post: 10-23-2012, 11:44 AM
  6. Replies: 2
    Last Post: 01-14-2009, 04:01 AM
  7. Sum multiple columns if year and month equal
    By gav0101 in forum Excel General
    Replies: 3
    Last Post: 04-09-2007, 12:50 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