Match array of cells

Caly

Board Regular
Joined
Jul 19, 2015
Messages
159
Office Version
  1. 365
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hi! I have an array of columns with information related to each header and then an array of cells with part numbers that correspond to the headers. I am trying to do a formula where it will look at the full array of headers and bring in the information associated to the cell on that row. Can this be done via INDEX MATCH? Or a VLOOKUP?

In the attachment there are many column headers that based on the row of data from the first down shows the amount for the row by the header name.

in a separate cell the name will appear and in the next cell to that I want to have a formula where it will look atcolumn headers together and based on the row of information for the SKU that is selected, it will show the amount for the fruit type.
Thank you!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
6FA4953D-7464-4934-8101-B858D25ECF8F.png
Hi thank you. Please see attached.

All the headers are coded and the last column is where I am looking to create a formula so it may be updated easily in the raw data portion.
 
Upvote 0
If "Product" is in A2
Then in M3, put the formula

=INDEX($B$:$K3, 1, MATCH(L3,$B2:$K2,0))
or
=SUMIF($B2:$K2, M3, B3:K3)
 
Upvote 0
practice.xlsx
ABCDEFGHIJKLM
2Productcustomer Acustomer Bcustomer Ccustomer Dcustomer Ecustomer Fcustomer Gcustomer Hcustomer Icustomer JCUSTOMER SELECTED BY LINEQTY CUSTOMER FOR SELECTED
31A5152535455565758595customer A5
42A713626539452365278191010391168customer A7
53A8223650647892106120134customer H106
64A9162330374451586572customer C23
75A7531151818493644customer H49
86A553101149197245293341389437customer E197
97A64890132174216258300342384customer A6
108A458112166220274328382436490customer F274
119A4584123162201240279318357396customer F240
121B154881114147180213246279312customer A15
132B49484746454443424140customer A49
143B225894130166202238274310346customer C94
Sheet4
Cell Formulas
RangeFormula
M3:M14M3=INDEX(B3:K3,MATCH(L3,$B$2:$K$2,))
 
Upvote 0
Thank you. I will try this.
Question - since L is the column indicating which customer is selected, using L plus the row number and not locking it should return the associated response on each row correct?
 
Upvote 0
Thank you. I will try this.
Question - since L is the column indicating which customer is selected, using L plus the row number and not locking it should return the associated response on each row correct?
yes.....
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,777
Members
449,049
Latest member
greyangel23

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