krispatterson
Board Regular
- Joined
- Apr 28, 2017
- Messages
- 51
Hi guys
Struggling with what I think should be fairly easy to resolve... Advices please!
Data:
<tbody>
</tbody>
The formula I want in F1:
> looks for all dates in Column A from E1 + 12m (so, 01/11/16 to 01/11/17)
> looks for a specific name in Column B (ie, John)
> adds up the figures based on that criteria.
What I tried was:
=SUMPRODUCT(--(YEAR($A$3:$A$20000)=YEAR($E$1)*($B$3:$B$20000="*john*")*$C$3:$C$20000))
But that's returning a '0' result in all circumstances - I've obviously got it wrong!
Any advice welcomed please
Thanks
Struggling with what I think should be fairly easy to resolve... Advices please!
Data:
A | B | C | D | E | F | |
1 | DATES | NAMES | £ FIGURES | 01/11/16 | ||
2 |
<tbody>
</tbody>
The formula I want in F1:
> looks for all dates in Column A from E1 + 12m (so, 01/11/16 to 01/11/17)
> looks for a specific name in Column B (ie, John)
> adds up the figures based on that criteria.
What I tried was:
=SUMPRODUCT(--(YEAR($A$3:$A$20000)=YEAR($E$1)*($B$3:$B$20000="*john*")*$C$3:$C$20000))
But that's returning a '0' result in all circumstances - I've obviously got it wrong!
Any advice welcomed please
Thanks