How do I refer to specific child row.
Hi, I need help to do some calculations on daily basis (columns 01 to 31) at each parent level . For e.g In below screenshot If I want to calculate difference between (a child rows) "Total Vulnerability count" - "Total New Vulnerability Count" every day using generic formula so that I can apply at each parent level. what is the best way to do it? Thanks in advance.
Best Answer
-
Hi @PKotha
Try this:
=INDEX(CHILDREN(), MATCH("total vulnerability count", CHILDREN($Application@row), 0)) - INDEX(CHILDREN(), MATCH("total new vulnerability count", CHILDREN($Application@row), 0))
It searches within the children of this current row in the "Application" column to find the matching "value" and bring back the number from that row in the current column (e.g. 01), subtracting one from the other.
I've put in an absolute reference ($) so you can drag this formula across the entire row and it will stay looking at your primary column for the "value".
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @PKotha
Try this:
=INDEX(CHILDREN(), MATCH("total vulnerability count", CHILDREN($Application@row), 0)) - INDEX(CHILDREN(), MATCH("total new vulnerability count", CHILDREN($Application@row), 0))
It searches within the children of this current row in the "Application" column to find the matching "value" and bring back the number from that row in the current column (e.g. 01), subtracting one from the other.
I've put in an absolute reference ($) so you can drag this formula across the entire row and it will stay looking at your primary column for the "value".
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Prefect, it worked. Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!