Michelleaneous
New Member
- Joined
- Feb 16, 2024
- Messages
- 13
- Office Version
- 365
- Platform
- Windows
The aim is to get the sum from another file based on a criteria from the "main" sheet. Importrange function was used to retrieve data from the other file (see formula below) but it will give an error message: "Argument must be a range"
Excel Formula:
=SUMIF(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1iKwpbmnGuNBk7QJwi3m6RyKZXZ3fWexK/edit#gid=1466490795","Sheet1!A2:A"),B43,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1iKwpbmnGuNBk7QJwi3m6RyKZXZ3fWexK/edit#gid=1466490795","Sheet1!E2:E))"))