T
TKrepitch
I wasn't able to find a solution in this group, but it may be because
I'm not quite sure how to search for it.
Here's the issue:
In cells E9:E58, I have input cells for the month. In cells F9:F58, I
have input cells for a dollar amount. The key here is that any of
these numbers can repeat (e.g., E12 could be October 07 and so could
E39).
Cells H8:IM8 list the months chronologically and do not repeat.
What I want to do is sum the dollar values and put them in cells
H59:IM59, based on the month that is in the range H8:IM8.
For example, in cell H8, I have April 04. I want to write a formula in
cell H59 that tells Excel to look at what is in H8, then find each
occurrence of it in E9:E58 and give me the sum of each adjacent cell in
F9:F58.
Normally I would use a lookup function if there was only one possible
occurrence of the month, but I don't know what to do since there can be
multiple occurrences. I could probably use a pivot table, but I'd
rather use a formula. I'm thinking something like sumif, but I don't
know if I can use that. I'd appreciate any advice. Thanks!
I'm not quite sure how to search for it.
Here's the issue:
In cells E9:E58, I have input cells for the month. In cells F9:F58, I
have input cells for a dollar amount. The key here is that any of
these numbers can repeat (e.g., E12 could be October 07 and so could
E39).
Cells H8:IM8 list the months chronologically and do not repeat.
What I want to do is sum the dollar values and put them in cells
H59:IM59, based on the month that is in the range H8:IM8.
For example, in cell H8, I have April 04. I want to write a formula in
cell H59 that tells Excel to look at what is in H8, then find each
occurrence of it in E9:E58 and give me the sum of each adjacent cell in
F9:F58.
Normally I would use a lookup function if there was only one possible
occurrence of the month, but I don't know what to do since there can be
multiple occurrences. I could probably use a pivot table, but I'd
rather use a formula. I'm thinking something like sumif, but I don't
know if I can use that. I'd appreciate any advice. Thanks!