AnotherExcelGuy
New Member
- Joined
- Jul 8, 2019
- Messages
- 13
Hello,
I need a formula to count values from one column(Vendor) by the category of another. From there need to sum the value if the count is greater/equal to 2.
EG.)
Category......... Vendor......... Count(formula)........ Value.......... Sum(formula)
Blue ................. ABC................. 2.............................$2............... $7
Blue.................. ABC................. -............................. $5................ -
Blue.................. DEF................ 1.............................. $2................ -
Red................... HJK................ 1............................. $1................. -
Red.................. LMN................ 1.............................. $2................ -
Green............... DEF................ 3............................ $1 ............... $8
Green............... DEF................. -............................. $3................. -
Green............... DEF................. -............................ $4.................. -
Green............... HJK ................ 1 ........................... $2.................. -
In the example above, ABC shows up 2 times in the Blue category, so I want to sum it's Value.
DEF appears 3 times in the Green category, so I want to sum it's value. All other vendors only appear once per category, so I don't need to sum their values.
Hope this makes sense.
Thanks.
I need a formula to count values from one column(Vendor) by the category of another. From there need to sum the value if the count is greater/equal to 2.
EG.)
Category......... Vendor......... Count(formula)........ Value.......... Sum(formula)
Blue ................. ABC................. 2.............................$2............... $7
Blue.................. ABC................. -............................. $5................ -
Blue.................. DEF................ 1.............................. $2................ -
Red................... HJK................ 1............................. $1................. -
Red.................. LMN................ 1.............................. $2................ -
Green............... DEF................ 3............................ $1 ............... $8
Green............... DEF................. -............................. $3................. -
Green............... DEF................. -............................ $4.................. -
Green............... HJK ................ 1 ........................... $2.................. -
In the example above, ABC shows up 2 times in the Blue category, so I want to sum it's Value.
DEF appears 3 times in the Green category, so I want to sum it's value. All other vendors only appear once per category, so I don't need to sum their values.
Hope this makes sense.
Thanks.
Last edited: