What is this bit trying to do ?
MATCH($J$2&M1&P2,'SKU REPORT'!$D$4:$AG$4&'SKU REPORT'!D2:AG2&'SKU REPORT'!D3:AG3,0)
Don't worry too much about the real world application of your situation, that might not be too relevant, just focus on what data you have and explaining what exactly you are trying to do with it.
Hi thanks so much for replying - i need to write a formula which says : if in tab 2 you can match cells in 3 different rows then sum that column if it also matches 2 columns - does that make sense? The match bit specifically is trying to say If you can match cells j2 and m1 and p2 in the three ranges on my second tab then do the sumif
OK. The three ranges on your second tab are continuous, so you can POSSIBLY refer to them as a single range - D2:AG4.
I say "POSSIBLY" because you have used absolute cell references ($ symbols) for one range and relative cell references for the other two, which makes me think perhaps you want to treat them separately.
But I'm guessing the mix of absolute and relative references may have been a mistake on your part - if so, I would just use the single range reference.
I would then ask - where in this range might you find j2&m1&p2 ?
Is it only in column D ?
Or is it anywhere in the target range ?
OK well I think that's going to be a problem then, because I THINK MATCH can only work with a one dimensional range, such as
D2:AG2
OR
D2:D4
but not
D2:AG4
Can you post a small sample of your data (make it up if you don't want to show real data), and describe as clearly as you can, what you want to do with it exactly.
Again, don't worry too much about explaining the real world application of your situation, that might not be too relevant, just focus on what data you have and explaining what exactly you are trying to do with it.
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.