INDEX MATCH with multiple columns

jewsbur0

New Member
Joined
Oct 19, 2016
Messages
4
Hi,

I'm stuck with a Match INdex formula.
pasted_image_at_2016_10_18_04_56_pm.png


In the example above, how can I get the fruit that matches with the date to appear in column G? Is Match Index the right formula or is there something I could be using? Cheers!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Just realised the image hasn't posted. The formula I'm trying to get will go in B7 next to 01-Jan.

What I'm basically trying to do is get the fruit that was sold on every date. Each date is unique, there are no date duplicates. (The data I'm actually using isn't fruits and dates, but easier this way!)

ProductSold onSold on2Sold on3Sold on4Sold on5
Apples01-Jan01-May07-Jun
Pears04-Jan02-Feb
Bananas05-Apr10-Dec11-Nov09-Sep07-Jul
DateWhat
01-Jan#N/A
04-Jan#N/A
05-Apr#N/A
01-May#N/A
02-Feb#N/A
10-Dec#N/A
07-Jun#N/A
11-Nov#N/A
09-Sep#N/A
07-Jul#N/A

<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
 
Upvote 0
Suppose your data starting from a1 to f4

Product
Sold onSold on2Sold on3Sold on4Sold on5
Apples01-Jan01-May07-Jun
Pears04-Jan02-Feb
Bananas05-Apr10-Dec11-Nov09-Sep07-Jul
DateWhat
07-JunApples
04-JanPears
05-AprBananas
01-MayApples
02-FebPears
10-DecBananas
07-JunApples
11-NovBananas
09-SepBananas
07-JulBananas

<tbody>
</tbody>





IN B7


Code:
=index($a$2:$a$4,sumproduct(--(a13=$b$2:$f$4)*row($b$2:$f$4))-1)
 
Last edited:
Upvote 0
https://1drv.ms/x/s!AntW1ZrWMeX2gQNq01G4gmqqiJfO

ok i am very new to excel - and it does bamboozle me a lot!!!
what i am trying to do is to get the savings total to show up on the dash board just like income, expenses show up, after several hours of research i managed to get the "chart data page" to show up.
i then added the savings line (right at the bottom of "chart data" page) but i can not get it to show the right amounts on the dashboard page. I believe it is to do with the formula i have used for savings on the "chart data" page (=INDEX(Budget!C13:O13,,period)
could someone help me get the right formula so my dashboard up dates properly (Dashboard page has a scroll button at the bottom for each month - amounts should update as you scroll through the months)
let me know if this make sense or you need more info :)
thank you very much
 
Upvote 0
@ Billsmith90 - you are not allowed to hijack another person's thread. You need to start your own.
 
Upvote 0

Forum statistics

Threads
1,218,220
Messages
6,141,231
Members
450,344
Latest member
renslaw

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