Got something to say or just want fewer pesky ads? Join us... 😊

Excel Question



twiggles

Active member
Feb 14, 2014
115
Hoping someone will be able to help!

In column A and D I have duplicate customer names (Column D has more than A). In Column B I have 2015 Sales Volume and in E I have 2016 Sales Volume.

In column G I want to have a sales variance.

Looking for a formula that will match the customer name then minus the value of Column B against E.

Hope I explained that ok!

Any help would be greatly appreciated.

Cheers
 






twiggles

Active member
Feb 14, 2014
115
Thanks for this. Does it only work if the same customer name is in the same row? As I have extra customers in column D they are not in matching order all the way down
 


akipling

Active member
Jan 12, 2010
163
Morecambe
Yes unfortunately where there is no matching customer it will return zero.

Alternatively you could use....

=e1-vlookup(d1,a:b,2,false)

This will return #N/A where there is no previous years info. However if a customer appears more than once in the previous year it will only include the first occurrence in the calculation
 


twiggles

Active member
Feb 14, 2014
115
Yes unfortunately where there is no matching customer it will return zero.

Alternatively you could use....

=e1-vlookup(d1,a:b,2,false)

This will return #N/A where there is no previous years info. However if a customer appears more than once in the previous year it will only include the first occurrence in the calculation

It worked perfectly.

Thank you very much!
 








Albion and Premier League latest from Sky Sports


Top
Link Here