Data Mismatched, formula calculation help

yessir

Board Regular
Joined
Jun 7, 2019
Messages
91
I need help with running the formula I currently have but only when the locations are the same on the two tables.
Table 1
LocationC1C2C3C4C5C6C7C8C9
AAA
1%​
0%​
0%​
0%​
0%​
0%​
0%​
98%​
0%​
BBB
23%​
0%​
0%​
17%​
0%​
52%​
0%​
8%​
0%​
CCC
100%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
DDD
0%​
100%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
EEE
20%​
3%​
2%​
10%​
1%​
1%​
0%​
10%​
53%​
FFF
0%​
0%​
0%​
99%​
0%​
0%​
0%​
1%​
0%​
GGG
0%​
0%​
0%​
100%​
0%​
0%​
0%​
0%​
0%​

Table 2
LocationC1C2C3C4C5C6C7C8C9
AAA
0%​
0%​
0%​
0%​
0%​
0%​
0%​
100%​
0%​
BBB
54%​
0%​
0%​
15%​
0%​
24%​
0%​
6%​
0%​
CCC
100%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
EEE
16%​
3%​
1%​
5%​
1%​
1%​
0%​
5%​
68%​
FFF
0%​
0%​
0%​
100%​
0%​
0%​
0%​
0%​
0%​
GGG
0%​
0%​
0%​
100%​
0%​
0%​
0%​
0%​
0%​

This is the formula I am using ( below ) to calculate the difference between the two but I am having trouble creating a formula that will pull the data from both tables when the Location is the same and they are not in the same order. As we can see table one has DDD but table two does not.

LocationC1C2C3C4C5C6C7C8C9
AAA=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100=+(N2-B2)*100
BBB
CCC
DDD
EEE
FFF
GGG
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi Yessir,

We need to see which is B2 and what N2 contains.
Please also explain why =+(N2-B2)*100 would give different results in columns C1 through C9.
Showing some expected results would also help.
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,656
Members
449,045
Latest member
Marcus05

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