![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 1
|
Does anyone know why and exactly how CSE formulas and basic equivalents treat 0s differently?
For example, I am trying to average long data strings. If I do a {=AVERAGE(IF(Test!B4:B1001=Test!F4,Test!D4:D1001))} it averages differently than the simple average due to 0s in the lineup. Does anyone know how to remedy that? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
I'm not sure I follow, can you provide a small example of what you're getting/need ?
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=SUMIF(Test!B4:B1001,Test!F4,Test!D4:D1001)/MAX(1,COUNTIF(Test!B4:B1001,Test!F4)) |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|