I need help with match and index!!!!!!

masterx7

New Member
Joined
Nov 2, 2016
Messages
16
Hi,
trying to use index and match but I'm getting only the first match.
if I want Active customers + Hair + Q1, I should get 10 + 5 + 5 = 20 and I'm only getting 10 - which is the first result.
appreciate the help.


1706279855186.png
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
index match will give the first result
if you want a SUM then maybe a SUMIFS()

SUMIFS(G3:U3, G1:U1,"Q1",G2:U2,"hair")

Book13
QRSTUVWXY
1Q1Q2Q3Q1Q2Q3Q1
2Hairhair
3100200300
Sheet1
Cell Formulas
RangeFormula
Y3Y3=SUMIFS(Q3:W3, Q1:W1,"Q1",Q2:W2,"hair")
 
Upvote 0
index match will give the first result
if you want a SUM then maybe a SUMIFS()

SUMIFS(G3:U3, G1:U1,"Q1",G2:U2,"hair")

Book13
QRSTUVWXY
1Q1Q2Q3Q1Q2Q3Q1
2Hairhair
3100200300
Sheet1
Cell Formulas
RangeFormula
Y3Y3=SUMIFS(Q3:W3, Q1:W1,"Q1",Q2:W2,"hair")
sum if wont work this time.
posting the source table and the formula table. it's in different language so ignore it.
if you want I can send you the file.
1706281021259.png


1706281043728.png
 
Upvote 0
it looks like you are using merged cells - so not the same as your orginal example image
not sure how best to therefor SUM with merged images

what version of excel are you using ?? - would you provide that in your profile

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
it looks like you are using merged cells - so not the same as your orginal example image
not sure how best to therefor SUM with merged images

what version of excel are you using ?? - would you provide that in your profile

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
thank you very much for the help.
formula should be on the yellow cell.
I've marked the 3 criteria's matched by their color so you'll know what to compare in the two sheets.
thanks.

 
Upvote 0
sorry , i'm not sure how to do what you after - with the example and with merged cells
hopefully other members will be able to help
BUT
to assist others you do need to answer
what version of excel are you using ?? - would you provide that in your profile
as later versions of excel have a lot more functions
 
Upvote 0
sorry , i'm not sure how to do what you after - with the example and with merged cells
hopefully other members will be able to help
BUT
to assist others you do need to answer

as later versions of excel have a lot more functions
office 365. forget the merged cells. put the value on a regular cell.
 
Upvote 0
its not the result thats the issue - its the data that has merged cells and so sumifs() i posted does not work, and, as i say, not sure how to resolve that
as mentioned would you add the version 365 to your profile - so its always on your name and people know what functions can be applied
 
Upvote 0

Forum statistics

Threads
1,215,156
Messages
6,123,339
Members
449,098
Latest member
thnirmitha

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