Combine COUNT IF and INDEX MATCH in one cell
Is it possible to combine two queries in one cell like:
=COUNTIF({Contract#}, [Contract #]@row), OR(INDEX({FEMQuantUsed}, MATCH([Contract #]16, {FEMContract#}, 0))
I get unparseable with the above.
Thanks in advance!
Answers
-
I hope you're well and safe!
Can you detail how you'd like it to work?
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi @Andrée Starå. Thanks for the response. I am using this formula on a master contract sheet that tracks deliverables across several different contract categories, organized on different sheets.
The first part of the statement: =COUNTIFS({ECStatus}, "Confirmed", {ECContract#}, [Contract #]@row) Looks at one sheet and counts if the contract # matches the master sheet and the corresponding row is marked as "Confirmed".
The second part of the statement: (INDEX({FEMQuantUsed}, MATCH([Contract #]16, {FEMContract#}, 0)) Looks for the matching contract # on the other sheet (FEM), if the contract number is there and matches it brings over the value in the Quantity Used column.
Some deliverables are a one and done (ie the first part where it's just a countifs) while other deliverable tracking needs to pull over a rolled up value of total quantity used under that contract number.
Not only will I need to combine these two statements but I'll have several that I'm hoping to combine as a large OR query.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 466 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!