Help!!! - skipping data in excel cells

irishguy

New Member
Joined
Jun 9, 2011
Messages
2
Hi,
i'm currently working on a thesis and just realized my calcs are all off. i'm using the filter option to filter my data. there is about 1,000 securities with prices for each cell and an option to filter by country. when i get the average of each country using the AVERAGE function, it sum totals everything, even though i've just filtered for that country. can anyone help? i highlighted the cells and that was fine as it just took the filtered cells so i assumed the formula would just calc the filtered cells.

any help would greatly be appreciated :)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
irishguy,

Welcome to the MrExcel forum.

In Excel HelP, lookup SUBTOTAL.


Replace your AVERAGE function with something like this:
=SUBTOTAL(101, and_the_range_like_A2:A100)

The 101 means ignore hidden values.

When you filter the data the average will change.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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