INDEX / MATCH / MAX / MIN formula required

JenTissen

New Member
Joined
Mar 21, 2014
Messages
10
I think my formula may require MAX INDEX and MATCHsomehow, but I’m stumped.

I need to look at the earliest date and the latest date against memberslisted below (dates in between should be ignored). Ineed to then compare the Total Score against the earliest and latest date andif the Total score against the latest date is greater than the Total scoreagainst the earliest date, return “Improving”. If the Total Score is less for the earliest date, return “Declining”. “No Change” for same Total Score.


  • Data is in member, then in Date order, but if ithelps with formula can go in total score order.
  • There are a varied number of entries for membersbut we only need to look at first and last dates.

  • I understand formula will need to go in everycell in D and am happy for result to display in all calls.
  • Maybe is needs formula’s in D and E to get tothe result – that will be fine too.

Any help is greatly appreciated.
A
B
C
D
E
F
1
Member
Date
Total Score
Formulated Result
2
John G
10/02/2017
46
3
John G
23/05/2017
49
4
John G
24/05/2018
44
5
John G
10/08/2018
55
Improving
6
Kathleen A
5/10/2017
52
7
Kathleen A
2/05/2017
50
8
Kathleen A
20/02/2018
51
9
Kathleen A
16/07/2018
48
Declining
10
Margaret Y
16/11/2017
49
11
Margaret Y
8/02/2018
52
12
Margaret Y
19/07/2018
56
Improving
13
Enice S
7/02/2017
52
14
Enice S
5/06/2017
51
15
Enice S
28/08/2018
51
Declining
16
Valerie S
16/10/2017
46
17
Valerie S
17/08/2018
46
No change
18
Joan B
15/11/2017
52
19
Joan B
6/03/2018
53
Improving
<tbody> </tbody>

 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

If your table is sorted by Member and Date order as you described, this is one way.

I don't have the MAXIF function, so Array formula to be confirmed by CSE (Control, Shift, Enter), instructions below:


Book1
ABCD
1MemberDateTotal ScoreFormulated Result
2John G2/10/201746 
3John G5/23/201749
4John G5/24/201844
5John G8/10/201855Improving
6Kathleen A5/2/201752
7Kathleen A10/5/201750
8Kathleen A2/20/201851
9Kathleen A7/16/201848Declining
10Margaret Y11/16/201749
11Margaret Y2/8/201852
12Margaret Y7/19/201856Improving
13Enice S2/7/201752
14Enice S6/5/201751
15Enice S8/28/201851Declining
16Valerie S10/16/201746
17Valerie S8/17/201846No change
18Joan B11/15/201752
19Joan B3/6/201853Improving
Sheet559
Cell Formulas
RangeFormula
D2{=IF(A2=A3,"",IF(C2=MAX(IF(A$2:A$19=A2,C$2:C$19)),IF(COUNTIFS(A$2:A$19,A2,C$2:C$19,C2)=1,"Improving","No change"),"Declining"))}
Press CTRL+SHIFT+ENTER to enter array formulas.


Formula copied down.
 
Upvote 0
=IF(A2=A3,"",CHOOSE(2+SIGN(C2-VLOOKUP(A2,$A$2:$C$19,3,0)),"Declining","No change", "Improving"))

works too
 
Upvote 0

Forum statistics

Threads
1,215,400
Messages
6,124,702
Members
449,180
Latest member
craigus51286

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top