Yanıt Need help with formula

  • 04 Mayıs 2012 Cuma 13:12
     
     

       A               B

    1933           2
    1950           1
    1960           1
    1962           2
    1962           1
    1962           2
    1970           3
    1980           1

    I need a formula that will give me the total of column B if column A = 1962, and then a formula that gives me the total of column B if Column A does not = 1962

    THANKS!!!!

Tüm Yanıtlar

  • 04 Mayıs 2012 Cuma 13:29
     
     Yanıt

    The first one:

    =SUMIF(A1:A1000,1962,B1:B1000)

    The second one:

    =SUMIF(A1:A1000,"<>1962",B1:B1000)

    Adjust the ranges as needed.


    Regards, Hans Vogelaar

    • Yanıt Olarak İşaretleyen MrGuinnss 04 Mayıs 2012 Cuma 13:35
    •  
  • 04 Mayıs 2012 Cuma 13:35
     
     
    Beautiful! Thank you!!