Sum children if a condition is met in another column
Hi,
Im trying to count the children of column [Estimado Importe Total] but I just want to count the values if the condition in column [Estatus Factura] says "Pagada", if not I just want to skip that row and count the rest of the conditions that are met.
Here is my example:
Hope someone can help me.
Thankyou!
Best Answer
-
Try this...
=SUMIFS(CHILDREN(), CHILDREN([Estatus Factura]@row), "Pagada")
Answers
-
Try this...
=SUMIFS(CHILDREN(), CHILDREN([Estatus Factura]@row), "Pagada")
-
Hi Paul!
Thanks! that worked pretty good.
Thank you again :)
-
Happy to help! 👍️
Please don't forget to mark the most appropriate response(s) as "helpful". This will help others searching for a similar solution possibly find one here.
-
Hi @Paul Newcome,
How can I adapt this formula if I want to include the sums of "Pagada" and "Pendiente de pago". I tried to use this formula by adding an OR but it didn't work.
=SUMIFS(OR(CHILDREN(); CHILDREN([Estatus factura]@row); "Pagada"; Pendiente pago))
Thank you!
-
It would look more like this...
=SUMIFS(CHILDREN(); CHILDREN([Estatus Factura]@row); OR(@cell = "Pagada"; @cell = "Pendiente pago"))
-
Thanks a lot Paul it worked very well!
-
Happy to help. 👍️
-
How do I count children of Status Report Validations when more than one condition exists?
I want to count the total open Validations (children) when Done is not checked and Status only = "Identified Mismatch" or "Email Sent to PM" or "In Review"
-
@Nella Capra Try something like this...
=COUNTIFS(CHILDREN(Done@row, @cell <> 1, CHILDREN(Status@row), OR(@cell = "Identified Mismatch", @cell = "Email Sent to PM", @cell = "In Review"))
-
@Paul Newcome - Thanks but it's not working. I always get this error:
-
My apologies. I missed a parenthesis...
=COUNTIFS(CHILDREN(Done@row), @cell <> 1, CHILDREN(Status@row), OR(@cell = "Identified Mismatch", @cell = "Email Sent to PM", @cell = "In Review"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!