MixedUpExcel
Board Regular
- Joined
- Apr 7, 2015
- Messages
- 222
- Office Version
- 365
- Platform
- Windows
Hi All,
I'm familiar with SumIf and CountIf but not AverageIf, so wondering if this is going to work for what I need?
I have 2 columns.
Column 1 - Order No.s (these may appear more than once if orders get split but the original order number remains)
Column 2 - Sales Value
I want to be able to find out what the Average Order Value is based on what the order would be if the Order's hadn't been split.
Basically, [TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Order No.[/TD]
[TD]Sales Value[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]13579[/TD]
[TD]45[/TD]
[/TR]
</tbody>[/TABLE]
There are 3 Order No.s 12345 - 35; 5678 - 15; 13579 - 45
The average would be 35 + 15 + 45 = 95 / 3 = 31.667
How could I get to that with a formula - the list is over 1000 Order No.s with multiple duplicates.
Thanks for any help.
Simon
I'm familiar with SumIf and CountIf but not AverageIf, so wondering if this is going to work for what I need?
I have 2 columns.
Column 1 - Order No.s (these may appear more than once if orders get split but the original order number remains)
Column 2 - Sales Value
I want to be able to find out what the Average Order Value is based on what the order would be if the Order's hadn't been split.
Basically, [TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Order No.[/TD]
[TD]Sales Value[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]13579[/TD]
[TD]45[/TD]
[/TR]
</tbody>[/TABLE]
There are 3 Order No.s 12345 - 35; 5678 - 15; 13579 - 45
The average would be 35 + 15 + 45 = 95 / 3 = 31.667
How could I get to that with a formula - the list is over 1000 Order No.s with multiple duplicates.
Thanks for any help.
Simon