Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm looking for instructions on how to create a calculation that only
includes cells that meet a specified condition in a subsequent calculation. For example, visualize a sheet with three columns...account name, pricing incentive offered to each account, and the sales result (sale / no sale). Each account would have it's own row. I want to calculate the average pricing incentive offered to only those accounts that resulted in a sale. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Suppose your data occupies A1:C100. Try this array* formula:
=AVERAGE(IF(C1:C100="sale",B1:B100)) *As this is an array formula, then once you have typed it in (or subsequently edit it) you must use CTRL-SHIFT-ENTER (CSE) rather than just ENTER. If you do this correctly then Excel will wrap curly braces { } around the formula when viewed in the formula bar - you must not type these yourself. Hope this helps. Pete On Mar 22, 6:58 pm, ScottFisher2004 wrote: I'm looking for instructions on how to create a calculation that only includes cells that meet a specified condition in a subsequent calculation. For example, visualize a sheet with three columns...account name, pricing incentive offered to each account, and the sales result (sale / no sale). Each account would have it's own row. I want to calculate the average pricing incentive offered to only those accounts that resulted in a sale. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel-only average cells if two cells in same row, meet two condit | Excel Worksheet Functions | |||
In excel counting cells in a range which meet condition "Xand<X" | Excel Worksheet Functions | |||
auto calc on, but have to edit (f2) cells to force re-calc..help! | Excel Worksheet Functions | |||
Adding numbers that meet a condition? | Excel Discussion (Misc queries) | |||
sum of a cell if 2 cells meet a condition | Excel Worksheet Functions |