Sumproduct formula Error

Malhotra Rahul

Board Regular
Joined
Nov 10, 2017
Messages
92
Hi, Please find here below the link of sample workbook. Where i am trying to fetch the data with the help of Sumproduct formula but it is giving the correct output.

I have mentioned the Expected results in Slip tab.

Any help would highly be appreciated. Thank you in advance.

Regards

https://drive.google.com/file/d/1NTZZy8VZ2LG5CGqmfrSAphW0nBu9qMXB/view?usp=sharing

view
 
Last edited:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Why are you using sumproduct?

try (non array formula):

Code:
Employee name - =INDEX(Data!D:D,MATCH(Slip!I10,Data!B:B,0))
Basic Salary - =INDEX(Data!K:K,MATCH(Slip!I10,Data!B:B,0))
 
Last edited:
Upvote 0
Thank you stumac, for your support. Is it possible to get the output by using sumproduct array formula which i am trying to use. So i will come to know where i was mistaken.
 
Upvote 0
Not for the employee name AFIAK it must return a number.

You could use a really inefficient sumproduct to return the salary - but that's wont show you where you went wrong... where you went wrong was using sumproduct.
 
Upvote 0
Experts, can you please help me by using my formula that where I am wrong in the used formula.

Is it possible to get the expected results by using the sumproduct array formula.
 
Last edited:
Upvote 0
it does not appear you are summing anything?

If you are wanting to retrieve information for an employee by looking up their ID in a table, the index,match method Stumac showed you would be the best way.


Thanks,

Jon
 
Upvote 0
I feel JPARKHURST, you are absolutely right. Stumac has the perfect solution. Thank you so much Stumac for your perfect solution.
 
Upvote 0

Forum statistics

Threads
1,215,274
Messages
6,123,989
Members
449,137
Latest member
abdahsankhan

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