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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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