Forum Discussion

NZViPeR's avatar
NZViPeR
Copper Contributor
Oct 28, 2022
Solved

Please Help!!

Hi I am new to excel but I'm learning all the time using google and youtube. My problem is I'm trying to bring data in from another sheet so I'm using =DONO.csv!G3 then if its blank Display N/a if it...
  • HansVogelaar's avatar
    HansVogelaar
    Oct 29, 2022

    NZViPeR 

    Assuming that you don't want to include CALL in the average:

    =AVERAGE(IFERROR(--SUBSTITUTE(SUBSTITUTE(R2:W2,"CALL",""),">",""),""))

    This will result in #DIV/0! for a row with all CALL. If you want to suppress that error:

    =IFERROR(AVERAGE(IFERROR(--SUBSTITUTE(SUBSTITUTE(R2:W2,"CALL",""),">",""),"")),"")

    If you want to count CALL as 0:

    =AVERAGE(IFERROR(--SUBSTITUTE(SUBSTITUTE(R2:W2,"CALL",0),">",""),""))