Returning a value problem.

dtman85

New Member
Joined
Dec 23, 2014
Messages
44
I copied a big data file from two websites and pasted into two worksheets, over 10,000 rows of data.
Worksheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Year[/TD]
[TD]Salary[/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD]2016[/TD]
[TD]1,500[/TD]
[/TR]
[TR]
[TD]Eric Smith[/TD]
[TD]2015[/TD]
[TD]2,500[/TD]
[/TR]
</tbody>[/TABLE]

Worksheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Year[/TD]
[TD]Name[/TD]
[TD]Salary[/TD]
[TD]win[/TD]
[/TR]
[TR]
[TD]2016[/TD]
[TD]John Smith[/TD]
[TD][/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]2015[/TD]
[TD]Eric Smith[/TD]
[TD][/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]

In worksheet 2, under the salary column, I used the sumifs formula to return the value of salary from worksheet one to two but I get a value of "0"for each cell. When I retyped the pasted names "John Smith" to "John Smith" on worksheet 2, I get the correct return value. Both cells from worksheet 1 & 2 are in the general format.

How can I solve this because is not ideal to retype all the pasted names?

Thanks in Advance.
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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