Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: why CSE formulas and basic equivalents treat 0s differently?

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Bogota, Colombia
    Posts
    11,959
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I'm not sure I follow, can you provide a small example of what you're getting/need ?
    Regards,

    Juan Pablo González
    http://www.juanpg.com

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    84,038
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    7 Thread(s)

    Default

    On 2002-05-12 23:31, grey fox wrote:
    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?
    Also, you can rewrite that array formula in terms of SUMIF:

    =SUMIF(Test!B4:B1001,Test!F4,Test!D4:D1001)/MAX(1,COUNTIF(Test!B4:B1001,Test!F4))


Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •