Hi All,
New to the forums so apologies if this has been asked before - hopefully I can ask in a coherent way also!
I have a sales sheet with months in the headers and accounts in the rows with the amount spent in the month in the middle.
I want to find the first spend over £6000 for each account and ideally return the month that this spend happened to populate row G as per the below example:
A B C D E F G
1 Customer Jan 15 Feb 15 March 15 April 15 May 15 Sales target hit
2 Company A £1254 £6001 £7589 £7854 £6524 Feb 15
3 Company B £3254 £2452 £4251 £4587 £6854 May 15
4 Company C £5654 £5874 £5432 £6432 £6584 April 15
5 Company D £3254 £3524 £2547 £4584 £5215 N/A
I have tried to do Match and Index to no avail. Initially i started by trying to return the first result above £6000 and then in the next cell doing a look up to the header however it keeps finding the last cell instead.
This is the formula I've tried:
=INDEX(BG96:CD96,MATCH(TRUE,INDEX(BG96:CD96>6000,0)))
the array is the specific row im looking at however it seems to return a random number in the row and not the first. I then used another index match to return the header as couldn't work out how to find the first greater than £6000 number and return the header in one formula.
Any help would be greatly appreciated,
Many Thanks,
Laura
Bookmarks