% Increase/Decrease between two cells in two columns

bweisman12

New Member
Joined
Jul 30, 2019
Messages
11
Hello,
Please see the table below:

[TABLE="width: 700"]
<tbody>[TR]
[TD]Store Name[/TD]
[TD]Sales 2018[/TD]
[TD]Rank[/TD]
[TD]Store Name[/TD]
[TD]Sales 2019[/TD]
[TD]Rank[/TD]
[/TR]
[TR]
[TD]Store A[/TD]
[TD]700[/TD]
[TD]1[/TD]
[TD]Store B[/TD]
[TD]400[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Store B[/TD]
[TD]500[/TD]
[TD]2[/TD]
[TD]Store A[/TD]
[TD]350[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I am looking to do two things:

1. I need to find the difference in sales for Store A and Store B from 2018 to 2019 (So A would be -350 and B would be -100)

2. I need to find the % difference in sales for Store A and Store B from 2018 to 2019

Thank you for the help.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
1. =e2-b2
2. =sign(e2-b2)*e2/b2*100

Thanks for the reply. However, please note that Store B is E2, not store A. The stores are sorted by rank and will not always line up. I need a function that will find the correct store to compare between 2018 and 2019.
 
Upvote 0
Oh yep, seen it now.

in G2 (relating to A2)
1. =INDEX(E$2:E$3,MATCH(A2,D$2:D$3,0),0)-B2
in H2
2. =sign(INDEX(E$2:E$3,MATCH(A2,D$2:D$3,0),0)-B2-B2)*INDEX(E$2:E$3,MATCH(A2,D$2:D$3,0),0)-B2/B2*100
 
Upvote 0

Forum statistics

Threads
1,223,708
Messages
6,174,006
Members
452,542
Latest member
Bricklin

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