Richard1982
New Member
- Joined
- Jul 6, 2022
- Messages
- 11
- Office Version
- 365
- Platform
- Windows
Hello,
Apologies is this is a silly question... but can the criteria in a SUMIF() be a range of values? For example I have:
I have a list of product codes in column A and values in column B - I'm looking for product code 7000. All the 7000's are added up and so I know the total, that bit is good.
But now I want a total of everything between 7000 and 7413. Is there someway to make that? Something like this (although obviously this doesn't work):
At the moment I have the 7413 lines and just sum them up but I'm sure there must be a way to just have a one line formular that add it all up! Any help would be greatfully received!
Richard
Apologies is this is a silly question... but can the criteria in a SUMIF() be a range of values? For example I have:
Excel Formula:
=SUMIF(A1:A100,7000,B1:B100)
But now I want a total of everything between 7000 and 7413. Is there someway to make that? Something like this (although obviously this doesn't work):
Excel Formula:
=SUMIF(A1:A100,7000:7413,B1:B100)
At the moment I have the 7413 lines and just sum them up but I'm sure there must be a way to just have a one line formular that add it all up! Any help would be greatfully received!
Richard