Referencing another sheet, add totals in a column if meeting a certain criteria in another column
Hi,
I don't know which formula to use, please help.
I've got a sheet called "Position Requisition" with "TA Number To Offer" and "Location" column. In another sheet called "Dashboard Data" I want reference back to "Position Requisition" sheet to add the numbers/totals in the "TA Number To Offer" column but it must match the location entered in the "Location" column. In other words if I have 3 rows for Houston, I want to only add the Houston numbers.
Answers
-
I would try a =Sum(Index(Collect({TA Number To Offer},{Location},[Location]@row),1) you will have to create your references so you won't be able to just copy and paste the formula. The TA Number To Offer and the Location should reference your Position Requisition sheet and the location@row should reference your Dashboard Data Sheet.
-
Hi, thank you. I've tried the formula, but it's not adding all the relevant cells together. i.e. I have 4 lines, 2 lines Houston and 2 lines Melbourne, I have to add the 2 lines with Houston together and the 2 lines with Melbourne together. This formal only bring one of the values across, it doesn't add/sum them.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!