Sum product not working

kocumna

New Member
Joined
May 23, 2018
Messages
6
[h=2]
icon1.png
=sumproduct not working[/h]
Good afternoon,
I have two spreadsheets located in two different workbooks with several columns, one of them being a Claim Number column with values that look like this: ER570W25600, none of the claim numbers are the same and a net savings column (they are not right next to eachother).

On one spreadsheet , I need to match the claim number with the claim number from the other main spreadsheet and once I find the match, copy the net savings from the first spreadsheet and put it into the net savings column from the column on the bigger spreadsheet. The problem is each claim number on the big spreadsheet ends with 00 and are different rows, but the spreadsheet that I am pulling from, the claim numbers could end in 01, 02, and so on.

I tried =sumproduct, but it doesn't seem to be working. Could you please help?

Thanks in advance. :)
Nadine​
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Array formula:


=INDEX(Net_savings_column, MATCH(LEFT(Claim_number_other_cell, LEN(Claim_number_other_cell)-2),LEFT(Claim_number_column,LEN(Claim_number_column)-2),0))

Does this make sense to you?

Net_savings_column - A cell reference to the net savings column
Claim_number_other_cell - A cell reference to the claim number you want to find
Claim_number_column - A cell reference to the claim number column
 
Upvote 0
Array formula:


=INDEX(Net_savings_column, MATCH(LEFT(Claim_number_other_cell, LEN(Claim_number_other_cell)-2),LEFT(Claim_number_column,LEN(Claim_number_column)-2),0))

Does this make sense to you?

Net_savings_column - A cell reference to the net savings column
Claim_number_other_cell - A cell reference to the claim number you want to find
Claim_number_column - A cell reference to the claim number column


Hi Oscar.

Thank you so much for replying. When a reference "A cell to the net savings column", do I just use one cell or can I use a range of cells, because Iam trying to search for more than one claim? Also "(Claim_number_column,LEN(Claim_number_column)-2),0))" Is this telling me to highlight the whole claim number column that I am trying to match the claim number too, twice?

Thanks in advance.

Nadine
 
Upvote 0
Hi Oscar,

I see that you put in LEN to have claim number return, but I need to have the net savings amount returned and put into the net savings column/row that the claim number matches. Hopefully that makes sense.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,215,325
Messages
6,124,252
Members
449,149
Latest member
mwdbActuary

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