If Average???

Daniellel

Board Regular
Joined
Jun 21, 2011
Messages
242
Is there a way of doing an average sum * =AVERAGE(A1:A900) *
with a criteria??? * =AVERAGEIF(B1:B900,"London",A1:A900) *

Is there a way of doing this? even if it is a round the houses way...:)
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
for array formula use CSE that is Ctrl Shift Enter and you should get {} at the begining and end of formula when done.
 
Upvote 0
applying "yogeshmaney" formula:

Excel Workbook
ABCDEF
1Some numberCityResult
210London55
3100London
430Yokyo
540Vien
620Paris
7
Sheet4


which works perfectly
 
Upvote 0
I am not sure if there is a problem with my Excel because when i press Ctrl+Alt+Enter NOTHING HAPPENS???

Do I need to enable something in my options or settings for this function to work?

I am on Excel 2003 - does this effect it?:confused::confused::confused:
 
Upvote 0
I am not sure if there is a problem with my Excel because when i press Ctrl+Alt+Enter NOTHING HAPPENS???

Do I need to enable something in my options or settings for this function to work?

I am on Excel 2003 - does this effect it?:confused::confused::confused:
The correct key combination is CTRL, SHIFT, ENTER.

Array formulas are entered differently than a regular formula. After you type in a regular formula you hit the ENTER key. With an array formula you *must* use a combination of keys. Those keys are the CTRL key, the SHIFT key and the ENTER key. That is, hold down both the CTRL key and the SHIFT key then hit the ENTER key.

When done properly Excel will enclose the formula in squiggly brackets { }. You can't just type these brackets in, you *must* use the key combo to produce them. Also, anytime you edit an array formula it *must* be re-entered as an array using the key combo.
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,550
Members
452,927
Latest member
rows and columns

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