How can I total numbers across two sheets?
Hi everyone,
I need some guidance on setting up a formula.
I've got two separate sheets with consistent fields including name and position/title.
I want to total numbers from one sheet using the name and position fields as parameters.
In the past, I've used an average formula (pasted below) with success. I'm looking to duplicate this, but am looking to add and not average numbers.
I tried a similar formula with "sum" instead of "avg", but it didn't yield the results I was looking for.
Any guidance would be appreciated.
Thank you!
=IFERROR(AVG(COLLECT({Tech Manager RTG}, {Position}, POSITION@row, {Name}, NAME@row)), "")
Answers
-
You would just add the sums together. So SUMIFS(Parameters from Native Sheet) + SUMIFS(Using references from 2nd sheet)
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
Hello!
Can you share a bit about why the formula with "sum" instead of "avg" did not yield what you were looking for? Is it that you'd like to total data found in two different sheets?
To SUM data that meets multiple criteria, I would use the SUMIFS function. (But, you've achieved the same result with your SUM(COLLECT, and could certainly stick with that if you prefer!) To pull data from two different sheets, you could combine two formulas together, e.g.,
=SUMIFS({Sheet1-Tech Manager RTG}, {Sheet1-Position}, Position@row, {Sheet1-Name}, NAME@row)+SUMIFS({Sheet2-Tech Manager RTG}, {Sheet2-Position}, Position@row, {Sheet2-Name}, Name@row)
Does this help?
-
Hi! I was able to figure this out. The issue was that my source cell was producing text instead of a number, so my formula was spitting back 0's, even though there were values to count.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!