SlideShare a Scribd company logo
1 of 4
INDEX w/MATCH formula to retrieve data from a pivot table
Uses a formula, instead of copy/paste, to put pivot table results into a flat table.

pivot table
Sum of Amount Acct
Dept                   61260                    62260            63260 Grand Total
            100   235,689.00               848,221.00                     1,083,910.00
            120   125,469.00               991,122.00     1,009,011.00    2,125,602.00
            140                          1,129,196.00       432,876.00    1,562,072.00
            260   772,287.00               987,112.00       876,223.00    2,635,622.00
            280   258,369.00               344,256.00                       602,625.00
            300   875,421.00                                889,552.00    1,764,973.00
            420   775,587.00                                451,176.00    1,226,763.00
            440   258,147.00             1,119,723.00       123,456.00    1,501,326.00
            460   778,899.00               336,699.00       225,588.00    1,341,186.00
            480   159,357.00                                162,657.00      322,014.00
            580   228,888.00                                457,812.00      686,700.00
            600                            228,888.00       904,500.00    1,133,388.00
            620   232,188.00                                165,957.00      398,145.00
            760                            232,188.00       169,257.00      401,445.00
Grand Total     4,700,301.00             6,217,405.00     5,868,065.00 16,785,771.00




flat table
        Dept             Acct             Amount
                80          61260                 -
                80          62260                 -
                80          63260                 -
               100          61260          235,689.00
               100          62260          848,221.00
               100          63260                 -
               120          61260          125,469.00
               120          62260          991,122.00
               120          63260        1,009,011.00
               140          61260                 -
               140          62260        1,129,196.00
               140          63260          432,876.00
               260          61260          772,287.00
               260          62260          987,112.00
               260          63260          876,223.00
               280          61260          258,369.00
               280          62260          344,256.00
               280          63260                 -
               300          61260          875,421.00
               300          62260                 -
300   63260      889,552.00
420   61260      775,587.00
420   62260             -
420   63260      451,176.00
440   61260      258,147.00
440   62260    1,119,723.00
440   63260      123,456.00
450   61260             -
450   62260             -
450   63260             -
460   61260      778,899.00
460   62260      336,699.00
460   63260      225,588.00
480   61260      159,357.00
480   62260             -
480   63260      162,657.00
550   61260             -
550   62260             -
550   63260             -
580   61260      228,888.00
580   62260             -
580   63260      457,812.00
600   61260             -
600   62260      228,888.00
600   63260      904,500.00
620   61260      232,188.00
620   62260             -
620   63260      165,957.00
680   61260             -
680   62260             -
680   63260             -
760   61260             -
760   62260      232,188.00
760   63260      169,257.00
751   61260             -
751   62260             -
751   63260             -
890   61260             -
890   62260             -
890   63260             -
              16,785,771.00
INDEX(array,row_num,column_num)
Returns a value from within a table or range.

=INDEX(A6:E21,2,3)                      848,221.00


MATCH (lookup_value,lookup_array,[match_type])
Returns the relative position of a specified item in a range.

Use MATCH function to provide a value for the ROW_NUM or
COLUMN_NUM argument of the INDEX function.

  match_type = -1,0,1 (default is 1)
  -1: smallest value >= lookup value (descending order)
  0: first value that = lookup value (any order)
  1: largest value <= lookup value (ascending order)

=MATCH(A7,$A$6:$A$21,0)                            2
=MATCH(C6,$A$6:$E$6,0)                             3


Test area: change entries in highlighted area.
Note: the second formula returns 0 instead of #N/A.
              80      61260          #N/A
             100      62260           848,221.00
Dept         Acct           Amount
       100          61260    $    112,233.00
       100          61260    $    123,456.00
       100          62260    $    369,258.00
       100          62260    $    478,963.00
       120          61260    $    125,469.00
       120          62260    $    991,122.00
       120          63260    $    457,812.00
       120          63260    $    551,199.00
       140          62260    $    564,598.00
       140          62260    $    564,598.00
       140          63260    $    321,654.00
       140          63260    $    111,222.00
       260          61260    $    772,287.00
       260          62260    $    987,112.00
       260          63260    $    876,223.00
       280          62260    $    128,769.00
       280          61260    $    258,369.00
       280          62260    $    215,487.00
       300          61260    $    875,421.00
       300          63260    $    321,654.00
       300          63260    $    567,898.00
       420          61260    $    775,587.00
       420          63260    $    115,577.00
       420          63260    $    335,599.00
       440          62260    $    132,069.00
       440          61260    $    258,147.00
       440          62260    $    987,654.00
       440          63260    $    123,456.00
       460          61260    $    778,899.00
       460          62260    $    336,699.00
       460          63260    $    225,588.00
       480          61260    $    159,357.00
       480          63260    $    162,657.00
       580          61260    $    228,888.00
       580          63260    $    457,812.00
       600          62260    $    228,888.00
       600          63260    $    447,711.00
       600          63260    $    456,789.00
       620          63260    $    165,957.00
       620          61260    $    232,188.00
       760          62260    $    232,188.00
       760          63260    $    169,257.00
                             $ 16,785,771.00

More Related Content

What's hot

Technical report - July 26, 2010
Technical report - July 26, 2010Technical report - July 26, 2010
Technical report - July 26, 2010Angel Broking
 
Technical Report - September 9, 2010
Technical Report - September 9, 2010Technical Report - September 9, 2010
Technical Report - September 9, 2010Angel Broking
 
Technical Report - September 28, 2010
Technical Report - September 28, 2010Technical Report - September 28, 2010
Technical Report - September 28, 2010Angel Broking
 
Technical Report - September 6, 2010
Technical Report - September 6, 2010Technical Report - September 6, 2010
Technical Report - September 6, 2010Angel Broking
 
Technical Report , August 23, 2010
Technical Report , August 23, 2010Technical Report , August 23, 2010
Technical Report , August 23, 2010Angel Broking
 
Standard Deduction Table
Standard Deduction TableStandard Deduction Table
Standard Deduction Tabletaxman taxman
 
Standard Deduction Table
Standard Deduction TableStandard Deduction Table
Standard Deduction Tabletaxman taxman
 
AA-I & Co. | Simple labor-category Price Curve Model
AA-I & Co. | Simple labor-category Price Curve ModelAA-I & Co. | Simple labor-category Price Curve Model
AA-I & Co. | Simple labor-category Price Curve ModelAljucar, Anvil-Incus & Co.
 
Tech Report 23.04.2010
Tech Report 23.04.2010Tech Report 23.04.2010
Tech Report 23.04.2010Angel Broking
 
Nilai Kelas Iii Sd Merak
Nilai Kelas Iii Sd MerakNilai Kelas Iii Sd Merak
Nilai Kelas Iii Sd Merakguestd1077c
 
Technical Report - September 8, 2010
Technical Report - September 8, 2010Technical Report - September 8, 2010
Technical Report - September 8, 2010Angel Broking
 
Renta pn con credito afc v97-2003
Renta pn con credito afc v97-2003Renta pn con credito afc v97-2003
Renta pn con credito afc v97-2003Jovany Jaramillo
 
Technical report - August 30, 2010
Technical report - August 30, 2010Technical report - August 30, 2010
Technical report - August 30, 2010Angel Broking
 
Tech report 20.10.2010
Tech report 20.10.2010Tech report 20.10.2010
Tech report 20.10.2010Angel Broking
 

What's hot (17)

Bsb sky-city-texas-usa
Bsb sky-city-texas-usaBsb sky-city-texas-usa
Bsb sky-city-texas-usa
 
Technical report - July 26, 2010
Technical report - July 26, 2010Technical report - July 26, 2010
Technical report - July 26, 2010
 
Technical Report - September 9, 2010
Technical Report - September 9, 2010Technical Report - September 9, 2010
Technical Report - September 9, 2010
 
Technical Report - September 28, 2010
Technical Report - September 28, 2010Technical Report - September 28, 2010
Technical Report - September 28, 2010
 
Technical Report - September 6, 2010
Technical Report - September 6, 2010Technical Report - September 6, 2010
Technical Report - September 6, 2010
 
Technical Report , August 23, 2010
Technical Report , August 23, 2010Technical Report , August 23, 2010
Technical Report , August 23, 2010
 
Standard Deduction Table
Standard Deduction TableStandard Deduction Table
Standard Deduction Table
 
Standard Deduction Table
Standard Deduction TableStandard Deduction Table
Standard Deduction Table
 
AA-I & Co. | Simple labor-category Price Curve Model
AA-I & Co. | Simple labor-category Price Curve ModelAA-I & Co. | Simple labor-category Price Curve Model
AA-I & Co. | Simple labor-category Price Curve Model
 
Aga table
Aga tableAga table
Aga table
 
Tech Report 23.04.2010
Tech Report 23.04.2010Tech Report 23.04.2010
Tech Report 23.04.2010
 
Nilai Kelas Iii Sd Merak
Nilai Kelas Iii Sd MerakNilai Kelas Iii Sd Merak
Nilai Kelas Iii Sd Merak
 
Technical Report - September 8, 2010
Technical Report - September 8, 2010Technical Report - September 8, 2010
Technical Report - September 8, 2010
 
Renta pn con credito afc v97-2003
Renta pn con credito afc v97-2003Renta pn con credito afc v97-2003
Renta pn con credito afc v97-2003
 
Meta 28 03 2011
Meta 28 03 2011Meta 28 03 2011
Meta 28 03 2011
 
Technical report - August 30, 2010
Technical report - August 30, 2010Technical report - August 30, 2010
Technical report - August 30, 2010
 
Tech report 20.10.2010
Tech report 20.10.2010Tech report 20.10.2010
Tech report 20.10.2010
 

Viewers also liked

Module 5 topic 1
Module 5 topic 1Module 5 topic 1
Module 5 topic 1Annie cox
 
Livehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaLivehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaActiveHelper
 
Module 3, topic 2 notes
Module 3, topic 2 notesModule 3, topic 2 notes
Module 3, topic 2 notesAnnie cox
 
How to go weekly
How to go weeklyHow to go weekly
How to go weeklytevinallen
 
Θερμοδυναμική
ΘερμοδυναμικήΘερμοδυναμική
ΘερμοδυναμικήEyurt
 
Question ISTQB foundation 2
Question ISTQB  foundation 2Question ISTQB  foundation 2
Question ISTQB foundation 2Jenny Nguyen
 
Meridlo chodidel prezentace
Meridlo chodidel   prezentaceMeridlo chodidel   prezentace
Meridlo chodidel prezentaceguest8ac75d
 
Who wants to_be_a_millionaire_template
Who wants to_be_a_millionaire_templateWho wants to_be_a_millionaire_template
Who wants to_be_a_millionaire_templatejunsew
 
κλίση ρημάτων στα αρχαία
κλίση ρημάτων στα αρχαίακλίση ρημάτων στα αρχαία
κλίση ρημάτων στα αρχαίαEyurt
 
Syllabus foundation
Syllabus foundationSyllabus foundation
Syllabus foundationJenny Nguyen
 
计算机系论文答辩
计算机系论文答辩计算机系论文答辩
计算机系论文答辩lynn330
 

Viewers also liked (20)

Capture
CaptureCapture
Capture
 
Stoygraf2
Stoygraf2Stoygraf2
Stoygraf2
 
77
7777
77
 
Module 5 topic 1
Module 5 topic 1Module 5 topic 1
Module 5 topic 1
 
Livehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaLivehelp Server User Guide for Joomla
Livehelp Server User Guide for Joomla
 
Module 3, topic 2 notes
Module 3, topic 2 notesModule 3, topic 2 notes
Module 3, topic 2 notes
 
How to go weekly
How to go weeklyHow to go weekly
How to go weekly
 
Θερμοδυναμική
ΘερμοδυναμικήΘερμοδυναμική
Θερμοδυναμική
 
G I J E N
G I J E NG I J E N
G I J E N
 
Question ISTQB foundation 2
Question ISTQB  foundation 2Question ISTQB  foundation 2
Question ISTQB foundation 2
 
Meridlo chodidel prezentace
Meridlo chodidel   prezentaceMeridlo chodidel   prezentace
Meridlo chodidel prezentace
 
MUMBAI Dabbawala
MUMBAI DabbawalaMUMBAI Dabbawala
MUMBAI Dabbawala
 
Who wants to_be_a_millionaire_template
Who wants to_be_a_millionaire_templateWho wants to_be_a_millionaire_template
Who wants to_be_a_millionaire_template
 
Chapter 3.2
Chapter 3.2Chapter 3.2
Chapter 3.2
 
κλίση ρημάτων στα αρχαία
κλίση ρημάτων στα αρχαίακλίση ρημάτων στα αρχαία
κλίση ρημάτων στα αρχαία
 
Animal nutrition
Animal nutritionAnimal nutrition
Animal nutrition
 
Syllabus foundation
Syllabus foundationSyllabus foundation
Syllabus foundation
 
Chapter 3 gen 2
Chapter 3 gen 2Chapter 3 gen 2
Chapter 3 gen 2
 
计算机系论文答辩
计算机系论文答辩计算机系论文答辩
计算机系论文答辩
 
Doubleside
DoublesideDoubleside
Doubleside
 

Similar to Retrieve pivot table data with INDEX/MATCH

taxtable .tax.virginia.gov
taxtable .tax.virginia.govtaxtable .tax.virginia.gov
taxtable .tax.virginia.govtaxman taxman
 
Bc. 6 digitos publica ii
Bc. 6 digitos publica iiBc. 6 digitos publica ii
Bc. 6 digitos publica iivisiondelexito
 
Trabajo en clase 2
Trabajo en clase 2Trabajo en clase 2
Trabajo en clase 2karenlemus
 
Abril 12 de_2010
Abril 12 de_2010Abril 12 de_2010
Abril 12 de_2010rickeguz
 
Tech report 26.05.2010
Tech report 26.05.2010Tech report 26.05.2010
Tech report 26.05.2010Angel Broking
 
Tech report 26.05.2010
Tech report 26.05.2010Tech report 26.05.2010
Tech report 26.05.2010Angel Broking
 
Tech report 27.05.2010
Tech report 27.05.2010Tech report 27.05.2010
Tech report 27.05.2010Angel Broking
 
BSB SKY CITY NIGERIA DEVELOPMENT CLUB
BSB SKY CITY NIGERIA DEVELOPMENT CLUBBSB SKY CITY NIGERIA DEVELOPMENT CLUB
BSB SKY CITY NIGERIA DEVELOPMENT CLUBOsa Okundaye Odmd
 
Laboratorio valoración de cartera resolución enviar
Laboratorio valoración de cartera resolución enviarLaboratorio valoración de cartera resolución enviar
Laboratorio valoración de cartera resolución enviarEdlin Rodriguez
 
T1FX stable30 investment $30,000
T1FX stable30 investment  $30,000T1FX stable30 investment  $30,000
T1FX stable30 investment $30,000WENDY FOO
 
T1FX stable30 investment $30,000
T1FX stable30 investment  $30,000T1FX stable30 investment  $30,000
T1FX stable30 investment $30,000Wendy Foo
 
Simulacion credito
Simulacion creditoSimulacion credito
Simulacion creditozimrri
 
Stm eng
Stm engStm eng
Stm engrichwe
 
Saleskit Standard Morgan
Saleskit Standard MorganSaleskit Standard Morgan
Saleskit Standard Morganpunnawat1818
 
Technical Report - June 23, 2010
Technical Report - June 23, 2010Technical Report - June 23, 2010
Technical Report - June 23, 2010Angel Broking
 

Similar to Retrieve pivot table data with INDEX/MATCH (20)

Iems rate-june-01-2006
Iems rate-june-01-2006Iems rate-june-01-2006
Iems rate-june-01-2006
 
taxtable .tax.virginia.gov
taxtable .tax.virginia.govtaxtable .tax.virginia.gov
taxtable .tax.virginia.gov
 
Bc. 6 digitos publica ii
Bc. 6 digitos publica iiBc. 6 digitos publica ii
Bc. 6 digitos publica ii
 
Practica 2
Practica 2Practica 2
Practica 2
 
Trabajo en clase 2
Trabajo en clase 2Trabajo en clase 2
Trabajo en clase 2
 
Abril 12 de_2010
Abril 12 de_2010Abril 12 de_2010
Abril 12 de_2010
 
Tt costing
Tt costingTt costing
Tt costing
 
Tech report 26.05.2010
Tech report 26.05.2010Tech report 26.05.2010
Tech report 26.05.2010
 
Tech report 26.05.2010
Tech report 26.05.2010Tech report 26.05.2010
Tech report 26.05.2010
 
Tech report 27.05.2010
Tech report 27.05.2010Tech report 27.05.2010
Tech report 27.05.2010
 
BSB SKY CITY NIGERIA DEVELOPMENT CLUB
BSB SKY CITY NIGERIA DEVELOPMENT CLUBBSB SKY CITY NIGERIA DEVELOPMENT CLUB
BSB SKY CITY NIGERIA DEVELOPMENT CLUB
 
Laboratorio valoración de cartera resolución enviar
Laboratorio valoración de cartera resolución enviarLaboratorio valoración de cartera resolución enviar
Laboratorio valoración de cartera resolución enviar
 
T1FX stable30 investment $30,000
T1FX stable30 investment  $30,000T1FX stable30 investment  $30,000
T1FX stable30 investment $30,000
 
T1FX stable30 investment $30,000
T1FX stable30 investment  $30,000T1FX stable30 investment  $30,000
T1FX stable30 investment $30,000
 
Teacher Concessions
Teacher ConcessionsTeacher Concessions
Teacher Concessions
 
Simulacion credito
Simulacion creditoSimulacion credito
Simulacion credito
 
Stm eng
Stm engStm eng
Stm eng
 
Saleskit Standard Morgan
Saleskit Standard MorganSaleskit Standard Morgan
Saleskit Standard Morgan
 
Eden Grove Hotel Projections
Eden Grove Hotel ProjectionsEden Grove Hotel Projections
Eden Grove Hotel Projections
 
Technical Report - June 23, 2010
Technical Report - June 23, 2010Technical Report - June 23, 2010
Technical Report - June 23, 2010
 

Retrieve pivot table data with INDEX/MATCH

  • 1. INDEX w/MATCH formula to retrieve data from a pivot table Uses a formula, instead of copy/paste, to put pivot table results into a flat table. pivot table Sum of Amount Acct Dept 61260 62260 63260 Grand Total 100 235,689.00 848,221.00 1,083,910.00 120 125,469.00 991,122.00 1,009,011.00 2,125,602.00 140 1,129,196.00 432,876.00 1,562,072.00 260 772,287.00 987,112.00 876,223.00 2,635,622.00 280 258,369.00 344,256.00 602,625.00 300 875,421.00 889,552.00 1,764,973.00 420 775,587.00 451,176.00 1,226,763.00 440 258,147.00 1,119,723.00 123,456.00 1,501,326.00 460 778,899.00 336,699.00 225,588.00 1,341,186.00 480 159,357.00 162,657.00 322,014.00 580 228,888.00 457,812.00 686,700.00 600 228,888.00 904,500.00 1,133,388.00 620 232,188.00 165,957.00 398,145.00 760 232,188.00 169,257.00 401,445.00 Grand Total 4,700,301.00 6,217,405.00 5,868,065.00 16,785,771.00 flat table Dept Acct Amount 80 61260 - 80 62260 - 80 63260 - 100 61260 235,689.00 100 62260 848,221.00 100 63260 - 120 61260 125,469.00 120 62260 991,122.00 120 63260 1,009,011.00 140 61260 - 140 62260 1,129,196.00 140 63260 432,876.00 260 61260 772,287.00 260 62260 987,112.00 260 63260 876,223.00 280 61260 258,369.00 280 62260 344,256.00 280 63260 - 300 61260 875,421.00 300 62260 -
  • 2. 300 63260 889,552.00 420 61260 775,587.00 420 62260 - 420 63260 451,176.00 440 61260 258,147.00 440 62260 1,119,723.00 440 63260 123,456.00 450 61260 - 450 62260 - 450 63260 - 460 61260 778,899.00 460 62260 336,699.00 460 63260 225,588.00 480 61260 159,357.00 480 62260 - 480 63260 162,657.00 550 61260 - 550 62260 - 550 63260 - 580 61260 228,888.00 580 62260 - 580 63260 457,812.00 600 61260 - 600 62260 228,888.00 600 63260 904,500.00 620 61260 232,188.00 620 62260 - 620 63260 165,957.00 680 61260 - 680 62260 - 680 63260 - 760 61260 - 760 62260 232,188.00 760 63260 169,257.00 751 61260 - 751 62260 - 751 63260 - 890 61260 - 890 62260 - 890 63260 - 16,785,771.00
  • 3. INDEX(array,row_num,column_num) Returns a value from within a table or range. =INDEX(A6:E21,2,3) 848,221.00 MATCH (lookup_value,lookup_array,[match_type]) Returns the relative position of a specified item in a range. Use MATCH function to provide a value for the ROW_NUM or COLUMN_NUM argument of the INDEX function. match_type = -1,0,1 (default is 1) -1: smallest value >= lookup value (descending order) 0: first value that = lookup value (any order) 1: largest value <= lookup value (ascending order) =MATCH(A7,$A$6:$A$21,0) 2 =MATCH(C6,$A$6:$E$6,0) 3 Test area: change entries in highlighted area. Note: the second formula returns 0 instead of #N/A. 80 61260 #N/A 100 62260 848,221.00
  • 4. Dept Acct Amount 100 61260 $ 112,233.00 100 61260 $ 123,456.00 100 62260 $ 369,258.00 100 62260 $ 478,963.00 120 61260 $ 125,469.00 120 62260 $ 991,122.00 120 63260 $ 457,812.00 120 63260 $ 551,199.00 140 62260 $ 564,598.00 140 62260 $ 564,598.00 140 63260 $ 321,654.00 140 63260 $ 111,222.00 260 61260 $ 772,287.00 260 62260 $ 987,112.00 260 63260 $ 876,223.00 280 62260 $ 128,769.00 280 61260 $ 258,369.00 280 62260 $ 215,487.00 300 61260 $ 875,421.00 300 63260 $ 321,654.00 300 63260 $ 567,898.00 420 61260 $ 775,587.00 420 63260 $ 115,577.00 420 63260 $ 335,599.00 440 62260 $ 132,069.00 440 61260 $ 258,147.00 440 62260 $ 987,654.00 440 63260 $ 123,456.00 460 61260 $ 778,899.00 460 62260 $ 336,699.00 460 63260 $ 225,588.00 480 61260 $ 159,357.00 480 63260 $ 162,657.00 580 61260 $ 228,888.00 580 63260 $ 457,812.00 600 62260 $ 228,888.00 600 63260 $ 447,711.00 600 63260 $ 456,789.00 620 63260 $ 165,957.00 620 61260 $ 232,188.00 760 62260 $ 232,188.00 760 63260 $ 169,257.00 $ 16,785,771.00