Selecting certain data using IF statements in pivot table

mlaurab

New Member
Joined
Jun 11, 2019
Messages
1
Hello, I am currently using a pivot table to organize my data. I want take the average of certain numbers in a column only IF the column next to it corresponds to FALSE. Is this possible? For example:

A1(NUMBERS) A2(USE)

2 FALSE

3 TRUE

5 FALSE




So I only would want to take the average between 2 and 5. Thank you so much!
 

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
Hello. If the numbers are in column A, and the TRUE/FALSE values are in column B, you can use a formula such as:

Code:
= AVERAGEIF( B:B, FALSE(), A:A )
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,211
Members
448,554
Latest member
Gleisner2

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