excel - Vlookup checking for multiple values and adding them together -
i have table called "data" has bunch of data dates , ids along 2 return values(we can call a , b) , value number of hits(c)
i wrote script:
=if(isnumber(vlookup(f$1&$a4&"1"&"0",data!$a:$f,6,false)+vlookup(f$1&$a4&"0"&"0",data!$a:$f,6,false)),vlookup(f$1&$a4&"1"&"0",data!$a:$f,6,false)+vlookup(f$1&$a4&"0"&"0",data!$a:$f,6,false),0) my current formula adds , returns approiate value if both a=1 , b=0 , a=0 , b=0 values found. if a=1 , b=0 found or a=0 , b=0is found return 0.
i want check data table , return values(c) have either a=1 , b=0 or a=0 , b=0 specific date , id number. want add values together. how can edit formula this?
Comments
Post a Comment