Formula to sum a column from a 2nd sheet with 1:many match across 2 sheets
Hello, I am stumped with a cross-sheet formula. I tried the AI tool but only received links to articles on cross-sheet linking, so I'm reaching out to the community for a life line. This is what I am trying to calculate:
Sum [Est. Cost] from sheet: {Construction Estimates Details} only if the values in [Task Name] column matches in both sheets: sheet 1: {Suites 100 & 110 Expansion Plan}, sheet 2: {Construction Estimates Details}. One:Many, I can't figure out.
Here is an image of what I am trying to do:
Thank you for your help, in advance.
-Lisa
Best Answer
-
Hi @Lisa Matthews!
Did you check the spelling in your task columns? I noticed "Architectural" has a couple different spelling options in your second sheet. Once that is fixed it should sum all values using the same spelling.
Let's connect!
www.linkedin.com/in/ashleylknight
Answers
-
Hi Lisa!
Could you try =SUMIF({Task Name Sheet 2}, @cell = [Task Name]@row, {Construction Estimates Details})
With a new reference that is over the "Task Name" column in the Construction Estimates Details sheet.
Let's connect!
www.linkedin.com/in/ashleylknight
-
Hi @AKnight , thank you. I tried this formula and get an #UNPARSEABLE result.
-
Sorry I think you have to remove the @cell = part because it is a cross sheet reference. Can you try the formula below instead?
=SUMIF({Task Name Sheet 2}, [Task Name]@row, {Construction Estimates Details})
Let's connect!
www.linkedin.com/in/ashleylknight
-
@AKnight I used the updated formula. "#INVALID REF" appears in the cell
-
The @cell can still be used in cross sheet references. In fact, I always suggest it as a best practice for a couple of different reasons.
The #INVALID REF error comes from a {Cross Sheet Reference} that has not yet been set up. Ensure you have followed the appropriate steps for creating both of your cross sheet references.
.
-
Thank you. I updated the formula to:
=SUMIF({Construction Estimates Details Range 1}, [Task Name]@row, {Construction Estimates Details Range 2})
No error message, however, it is only returning the first matched amount, not calculating the sum. Not sure what I am doing wrong with the formula. Thank you for your help.
-
Hi @Lisa Matthews!
Did you check the spelling in your task columns? I noticed "Architectural" has a couple different spelling options in your second sheet. Once that is fixed it should sum all values using the same spelling.
Let's connect!
www.linkedin.com/in/ashleylknight
-
Hi @AKnight ! I updated spelling and set the formula for the whole column and it is calculating correctly for each row! Working perfectly! Thank you soooo much for your help!!! I appreciate you!
Happy Friday!
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!