Index , Vlookup Average Formula

Sparda142

Board Regular
Joined
Dec 19, 2018
Messages
52
Hello,

I am trouble creating a formula to go into Cells B2:I2, Im trying to have Excel say Find the Text "Scheduled Date" match the date below with a date in Row 1 and provide the information in Column M for Test 1 , Only Information from the Text "Scheduled Date to Subtotal" Belongs to Test 1. I have tried using a few IFS formula with combination of Vlookup but have failed.
Please help me create a formula that will do the job Excel Gods and have mercy on me! :pray:



[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD][/TD]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column G[/TD]
[TD]Column H[/TD]
[TD]Column I [/TD]
[TD]Column J[/TD]
[TD]Column K[/TD]
[TD]Column
L[/TD]
[TD]Column M[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Test G[/TD]
[TD]3/24[/TD]
[TD]3/25[/TD]
[TD]3/25[/TD]
[TD]3/26[/TD]
[TD]3/27[/TD]
[TD]3/28[/TD]
[TD]3/29[/TD]
[TD]3/30[/TD]
[TD]Total Average [/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Test 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Test 1[/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Test 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Schedule Date[/TD]
[TD]N/A[/TD]
[TD]Total Ad[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Test 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/T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][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3/25[/TD]
[TD]N/A[/TD]
[TD]67.25%[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Subtotal:[/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Test 3[/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3/29[/TD]
[TD]N/A[/TD]
[TD]41.44%[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3/30
[/TD]
[TD]N/A[/TD]
[TD]99.99%[/TD]
[/TR]
</tbody>[/TABLE]
 
Oh in that example you're skipping names, so:


Excel 2010
ABCDEFGHIJK
124-Mar25-Mar26-Mar27-Mar28-Mar29-Mar30-Marempty ColumnNAME & DatesPercent
2Jacob100%#N/A#N/A25%#N/A#N/A#N/AJacob
3Scott80%#N/A#N/A75%#N/A#N/A80%24-Mar100%
4Tim#N/A#N/A#N/A#N/A#N/A99%#N/A27-Mar25%
5Matt#N/A#N/A#N/A#N/A63%#N/A#N/AJill
6Howard#REF!#REF!#REF!#REF!#REF!#REF!#REF!25-Mar30%
726-Mar100%
827-Mar99%
9Scott
1024-Mar80%
1127-Mar75%
1230-Mar80%
13Tim
1429-Mar99%
15Matt
1628-Mar63%
17Howard
Sheet7 (2)
Cell Formulas
RangeFormula
B2=VLOOKUP(B$1,OFFSET(INDEX($J$2:$J$17,MATCH($A2,$J$2:$J$17,0)),,,MATCH("*",INDEX($J$2:$J$17,1+MATCH($A2,$J$2:$J$17,0)):$J$17,0),2),2,0)
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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