SUM, INDEX, MATCH, etc.

Unlucky

Board Regular
Joined
Dec 3, 2014
Messages
58
Office Version
  1. 2016
Platform
  1. Windows
I'm trying to pull data from a table into another table, based on date. I can't figure out why the formula doesn't work. I've tried SUM, SUMIF, SUMIFS, SUMPRODUCT, INDEX, INDEX & MATCH, LOOKUP, and VLOOKUP. I either get #value, #na or a zero. I tried for 4 hours and can't get it! The second table is only the current 12 month period pulling from the raw data over a 36 month period. I've tried it with and without an array and its the same resullt.

Source table:

Cell Formulas
RangeFormula
AS5AS5=$F$6
AT5AT5=F$7
AU5AU5=F$8
AV5AV5=F$9
AW5AW5=F$10
AX5:AX40AX5=SUM($AT5:$AW5)
AY5:AY40AY5=IFERROR($AX5/$AS5,0)
AS6AS6=$G$6
AT6AT6=$G$7
AU6AU6=$G$8
AV6AV6=$G$9
AW6AW6=$G$10
AS7AS7=$H$6
AT7AT7=$H$7
AU7AU7=$H$8
AV7AV7=$H$9
AW7AW7=$H$910
AS8AS8=$I$6
AT8AT8=$I$7
AU8AU8=$I$8
AV8AV8=$I$9
AW8AW8=$I$10
AS9AS9=$J$6
AT9AT9=$J$7
AU9AU9=$J$8
AV9AV9=$J$9
AW9AW9=$J$10
AS10AS10=$K$6
AT10AT10=$K$7
AU10AU10=$K$8
AV10AV10=$K$9
AW10AW10=$K$10
AS11AS11=$L$6
AT11AT11=$L$7
AU11AU11=$L$8
AV11AV11=$L$9
AW11AW11=$L$10
AS12AS12=$M$6
AT12AT12=$M$7
AU12AU12=$M$8
AV12AV12=$M$9
AW12AW12=$M$10
AS13AS13=$N$6
AT13AT13=$N$7
AU13AU13=$N$8
AV13AV13=$N$9
AW13AW13=$N$10
AS14AS14=$O$6
AT14AT14=$O$7
AU14AU14=$O$8
AV14AV14=$O$9
AW14AW14=$O$10
AS15AS15=$P$6
AT15AT15=$P$7
AU15AU15=$P$8
AV15AV15=$P$9
AW15AW15=$P$10
AS16AS16=$Q$6
AT16AT16=$Q$7
AU16AU16=$Q$8
AV16AV16=$Q$9
AW16AW16=$Q$10
AS17AS17=$R$6
AT17AT17=$R$7
AU17AU17=$R$8
AV17AV17=$R$9
AW17AW17=$R$10
AS18AS18=$S$6
AT18AT18=$S$7
AU18AU18=$S$8
AV18AV18=$S$9
AW18AW18=$S$10
AS19AS19=$T$6
AT19AT19=$T$7
AU19AU19=$T$8
AV19AV19=$T$9
AW19AW19=$T$10
AS20AS20=$U$6
AT20AT20=$U$7
AU20AU20=$U$8
AV20AV20=$U$9
AW20AW20=$U$10
AS21AS21=$V$6
AT21AT21=$V$7
AU21AU21=$V$8
AV21AV21=$V$9
AW21AW21=$V$10
AS22AS22=$W$6
AT22AT22=$W$7
AU22AU22=$W$8
AV22AV22=$W$9
AW22AW22=$W$10
AS23AS23=$X$6
AT23AT23=$X$7
AU23AU23=$X$8
AV23AV23=$X$9
AW23AW23=$X$10
AS24AS24=$Y$6
AT24AT24=$Y$7
AU24AU24=$Y$8
AV24AV24=$Y$9
AW24AW24=$Y$10
AS25AS25=$Z$6
AT25AT25=$Z$7
AU25AU25=$Z$8
AV25AV25=$Z$9
AW25AW25=$Z$10
AS26AS26=$AA$6
AT26AT26=$AA$7
AU26AU26=$AA$8
AV26AV26=$AA$9
AW26AW26=$AA$10
AS27AS27=$AB$6
AT27AT27=$AB$7
AU27AU27=$AB$8
AV27AV27=$AB$9
AW27AW27=$AB$10
AS28AS28=$AC$6
AT28AT28=$AC$7
AU28AU28=$AC$8
AV28AV28=$AC$9
AW28AW28=$AC$10
AS29AS29=$AD$6
AT29AT29=$AD$7
AU29AU29=$AD$8
AV29AV29=$AD$9
AW29AW29=$AD$10
AS30AS30=$AE$6
AT30AT30=$AE$7
AU30AU30=$AE$8
AV30AV30=$AE$9
AW30AW30=$AE$10
AS31AS31=$AF$6
AT31AT31=$AF$7
AU31AU31=$AF$8
AV31AV31=$AF$9
AW31AW31=$AF$10
AS32AS32=$AG$6
AT32AT32=$AG$7
AU32AU32=$AG$8
AV32AV32=$AG$9
AW32AW32=$AG$10
AS33AS33=$AH$6
AT33AT33=$AH$7
AU33AU33=$AH$8
AV33AV33=$AH$9
AW33AW33=$AH$10
AS34AS34=$AI$6
AT34AT34=$AI$7
AU34AU34=$AI$8
AV34AV34=$AI$9
AW34AW34=$AI$10
AS35AS35=$AJ$6
AT35AT35=$AJ$7
AU35AU35=$AJ$8
AV35AV35=$AJ$9
AW35AW35=$AJ$10
AS36AS36=$AK$6
AT36AT36=$AK$7
AU36AU36=$AK$8
AV36AV36=$AK$9
AW36AW36=$AK$10
AS37AS37=$AL$6
AT37AT37=$AL$7
AU37AU37=$AL$8
AV37AV37=$AL$9
AW37AW37=$AL$10
AS38AS38=$AM$6
AT38AT38=$AM$7
AU38AU38=$AM$8
AV38AV38=$AM$9
AW38AW38=$AM$10
AS39AS39=$AN$6
AT39AT39=$AN$7
AU39AU39=$AN$8
AV39AV39=$AN$9
AW39AW39=$AN$10
AS40AS40=$AO$6
AT40AT40=$AO$7
AU40AU40=$AO$8
AV40AV40=$AO$9
AW40AW40=$AO$10
AQ5:AQ40AQ5=$H$2


Reporting Table (used to make charts):

DCA_BAE_(06085)_PROGRAM_BRIEF_2023-02-15.xlsx
BCDEFGHIJKLMNOPQ
17Program Quality Status TotalsFeb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22Oct-22Nov-22Dec-22Jan-23
18Inspected:166811055555555555
19Top:
20Bottom:
21Inside:
22Outside:
23Total Defects:
24DPU:
25FPY:
ACV
Cell Formulas
RangeFormula
F17F17=$BB$5
G17G17=$BB$6
H17H17=$BB$7
I17I17=$BB$8
J17J17=$BB$9
K17K17=$BB$10
L17L17=$BB$11
M17M17=$BB$12
N17N17=$BB$13
O17O17=$BB$14
P17P17=$BB$15
Q17Q17=$BB$16
F18F18=SUM(F$17,$AR$5:$AR$40,$AS$5:$AS$40)
G18:Q18G18=LOOKUP($AR$5:$AR$40,G$17,$AS$5:$AS$40)
B18:B22B18=B6
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
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