Forum Discussion

hurshie's avatar
hurshie
Copper Contributor
Jul 06, 2020

SumIF excluding duplicates and Errors

Hello,

 

I am having trouble writing the formula to only capture unique values, with multiple columns.

 

I know that the answer is- 900

Yes or NoIDValue
Yes50262146300
No50484138100
Yes50262146300
Yes18632031300
no23501649200
Yes50262146300
No#N/A#N/A



I keep getting stuck. If ID is Unique and "YES" then sum Value while excluding #N/A .

3 Replies

  • TheAntony's avatar
    TheAntony
    Iron Contributor

    hurshie , can you clarify? 

    Unique Yes is only 2 rows and add up to 600. Am I thinking about this wrong since I don't see the 900 you get?

    Yes or NoIDValue
    Yes50262146300
    Yes18632031300
    • hurshie's avatar
      hurshie
      Copper Contributor

      TheAntony 

       

      Yes apologies, i was in a rush and set this up incorrectly.

       

      I cant figure out how to sum all the highlighted in red is 800

      As you can see below. I am trying to write a function that states If first column states YES, ID is unique, Sum the value to equal 800. I want it to ignore the duplicate ID's and #N/A's

       

      300+300+200  = 800

       

      Yes or NoIDValue
      Yes50262146300
      No50484138100
      Yes50262146300
      Yes18632031300
      Yes23501649200
      Yes50262146300
      No#N/A#N/A



      Does that help?

Resources