I have an excel sheet with about 250 columns worth of data (A:IQ). Column A contains a unique value/header (9025 rows), and then each column (B:IQ) contains data associated with/for that value. This data is a combination of a year with a dollar amount for that year in the immediate column to the right. A single value from column A may have the same year in multiple columns, with different corresponding dollar amounts (a single column does not contain the same year all the way down).
I would like to perform a calculation that adds up the dollar value associated each year in the column to the left of the dollar value, so that for each row, I have a single dollar amount for each year. Since I am reading across the row, I know I can’t use a sumif function. At this point, I am at a loss of how to get this calculation. Sample data and the ideal results are below. Any thoughts/guidance are sincerely appreciated.
Example:
Source File
Title (A) Year (B) Amount (C) Year (D) Amount Year(F) Amount(G)
NAME 1 2011 100 2011 125 2013 50
NAME 2 2011 50 2012 50 2012 100
NAME 3 2012 100 2013 25 2013 100
Desired Result:
Title(A) 2011(B) 2012(C) 2013(D) 2014(E) 2015(F)
NAME 1 225 0 0 0 0
NAME 2 50 150 0 0 0
NAME 3 0 100 125 0 0
I would like to perform a calculation that adds up the dollar value associated each year in the column to the left of the dollar value, so that for each row, I have a single dollar amount for each year. Since I am reading across the row, I know I can’t use a sumif function. At this point, I am at a loss of how to get this calculation. Sample data and the ideal results are below. Any thoughts/guidance are sincerely appreciated.
Example:
Source File
Title (A) Year (B) Amount (C) Year (D) Amount Year(F) Amount(G)
NAME 1 2011 100 2011 125 2013 50
NAME 2 2011 50 2012 50 2012 100
NAME 3 2012 100 2013 25 2013 100
Desired Result:
Title(A) 2011(B) 2012(C) 2013(D) 2014(E) 2015(F)
NAME 1 225 0 0 0 0
NAME 2 50 150 0 0 0
NAME 3 0 100 125 0 0