+ Reply to Thread
Results 1 to 11 of 11

Transfer sums in one column based on date to another cell.

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Transfer sums in one column based on date to another cell.

    Attached is an example of what I am trying to do.

    I am looking to transfer the sums for a calendar month in one column to cells in another location for each month.

    I put some notes in the sample attached, I appreicate any help getting this to work.

    thanks,
    Nick
    Attached Files Attached Files
    Last edited by avidcat; 12-24-2009 at 08:52 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,614

    Re: Transferring sums in one column based on date to another cell.

    Here.. Adjust formula for second part (July - December)...

    See how I make dates from E2-E7Exception%20Sample%20(2)(1).xlsx

  3. #3
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transferring sums in one column based on date to another cell.

    Thanks, got it. Works perfect.

    thanks,
    Nick

  4. #4
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    I am having a small problem, when I expanded the range to include future dates I am getting a #value error.

    See the attached.

    thanks,
    Nick
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Transfer sums in one column based on date to another cell.

    Normal,

    SUMPRODUCT wants the same ranges Try =SUMPRODUCT(--(MONTH($A$17:$A$500)=MONTH(E4)),$B$17:$B$500)

  6. #6
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    Thanks, I have that working on my sample sheet that I posted, but when I tried to use it on my working project it doesn't work.

    The reason is that on my other excel sheet I have hidden reference cells to gather the information in column A.

    See attached.

    thanks,
    Nick
    Attached Files Attached Files

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,614

    Re: Transfer sums in one column based on date to another cell.

    Well, you could change formula =IF(ROWS($A$7:$A7)>$D$25;0;INDEX('Accounting Exceptions'!$3:$3;MATCH(ROWS($A$7:$A7);'Accounting Exceptions'!$71:$71;0))) instead of "".

    And then by conditional formating make white font if value is 0

  8. #8
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    Cool idea, thanks.

  9. #9
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    Is it possbile when using the formula:
    =SUMPRODUCT(--(MONTH($A$10:$A$500)=MONTH(D4)),$B$10:$B$500)

    If the Month from D4 is not found anywhere on A10 to A500 that instead of displaying 0 it displayed a blank cell?

    Attached is an updated sample.

    thanks for any help,
    Nick
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    Nevermind, that will not work either. Because if there is a month were they obtain no exceptions they need to also get a -1.

    I was trying to figure out the best way to do this, I think there is too many variables.

  11. #11
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer sums in one column based on date to another cell.

    These are my variables:
    --------
    The exception policy will be on a rolling 6 month cycle. The exception will be removed from the employees file at the end of a calendar six (6) month period.

    The Exception policy will be as follows:
    Every five (5) exceptions in one calendar month=One point
    One (1) or less exceptions in one month=One point removed

    -------

    I was close to designing this excel form to handle this, but I don't know how to get the results I need.

    I appreciate all the help that everyone gave.

+ 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