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
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!