Average of 3 months score from a given month

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi,
I want to get the 3 months average score from the promotion month.
I need a formula that will show the expected result in column G.

B2 is the promotion Month so from that month I want to get the average score which should be Q2:S2.
For promotion month B4, average score from N4:P4. Hope somebody can help me :)
Incumbent Dashboard 2023.xlsx
ABCDGHIJKLMNOPQRS
1Promotion DatePromotion Month3 months from Promotion3 months from Promotion23 months scoreJan22'Feb22'Mar22'Apr22'May22'Jun22'Jul22'Aug22'Sep22'Oct22'Nov22'Dec22'
29/12/2022Sep22'12/11/2022Dec22'0.81.10.61.10.60.61.10.60.61.10.6
3----0.31.0
46/12/2022Jun22'9/10/2022Sep22'5.36.05.05.05.06.05.06.05.05.05.06.05.0
58/22/2022Aug22'11/20/2022Nov22'6.05.93.46.06.06.05.86.56.06.06.06.06.0
68/6/2021Aug21'11/4/2021Nov21'5.86.56.06.06.06.06.0
Sheet1
Cell Formulas
RangeFormula
B2:B6B2=TEXT([@[Promotion Date]],"mmmyy'")
C2:C6C2=IFERROR(A2+90,"-")
D2:D6D2=TEXT(C2,"mmmyy'")
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi,
For cell G2, you can test
Excel Formula:
=AVERAGE(OFFSET(A2,0,MATCH(B2,$1:$1,0)):OFFSET(A2,0,MATCH(B2,$1:$1,0)+2))
 
Upvote 1
Hi,
For cell G2, you can test
Excel Formula:
=AVERAGE(OFFSET(A2,0,MATCH(B2,$1:$1,0)):OFFSET(A2,0,MATCH(B2,$1:$1,0)+2))
Ahm hey @James006 , thanks for answering. I tried the formula and for some reason I'm getting a #DIV/0!. Do you mind checking it? maybe I'm doing something wrong?

This is my actual file so the columns are a little different. So we are looking at the answer for column AB which is the 3 month average score from promotion date.
Incumbent Dashboard 2023.xlsx
PRSTABACADAEAFAGAHAIAJAKALAMANAOAP
2Promotion DatePromotion Month90 days3rd Month3 Month ScoreBeforeTRScore22AfterTRScore22Jan22'Feb22'Mar22'Apr22'May22'Jun22'Jul22'Aug22'Sep22'Oct22'Nov22'Dec22'
146/12/2022Jun22'9/10/2022Sep22'#DIV/0! 3.643.6
291/31/2022Jan22'5/1/2022May22'#DIV/0!1.83 5.02.00.41.22.52.41.61.10.2
364/25/2022Apr22'7/24/2022Jul22'#DIV/0! 6.518.36.66.77.13.8
Active TL List
Cell Formulas
RangeFormula
AB14,AB36,AB29AB14=AVERAGE(OFFSET(P14,0,MATCH(R14,$2:$2,0)):OFFSET(P14,0,MATCH(R14,$2:$2,0)+2))
AC14,AC36,AC29AC14=IFERROR(AVERAGE(IF(ISNUMBER(MATCH($X14,AE$2:AP$2,0)),AE14:INDEX(AE14:AP14,MATCH($X14,AE$2:AP$2,0)),IF(MID($X14&99999,4,2)-MID(AE$2,4,2)>=0,AE14:AP14,""))),"")
AD14,AD36,AD29AD14=IFERROR(AVERAGE(IF(ISNUMBER(MATCH($X14,AE$2:AP$2,0)),INDEX(AE14:AP14,MATCH($X14,AE$2:AP$2,0)+1):AP14,IF(MID($X14&99999,4,2)-MID(AE$2,4,2)>=0,"",AE14:AP14))),"")
 
Upvote 0
Hi again,
For cell AB14, you can test:
Excel Formula:
=AVERAGE(OFFSET(A14,0,MATCH(R14,$2:$2,0)):OFFSET(A14,0,MATCH(R14,$2:$2,0)+2))
 
Upvote 1
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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