Counting totals with checkbox rows
Hi there,
I am trying to set up a formula where it will add up all of the "buying price" column where "sold" is checked.
I want to see the total value of all sold units, based on the check box approach.
See attached image.
Can any body advise how to achieve this? I've been messing around now for a long time, and I cannot fathom it!
Thanks,
Lee.
Answers
-
Try something like this.
=SUMIF(Sold:Sold; 1; [Buying Price]:[Buying Price])
The same version but with the below changes for convenience.
=SUMIF(Sold:Sold, 1, [Buying Price]:[Buying Price])
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi @Andrée Starå ,
Thanks for your response. I forgot to mention that I am trying to run this formula in another sheet, like a master sheet I am using as a "dashboard". I have tried your formula referencing a different sheet, but it doesn't compute, "unparseable".
What would be the right way to reference this to another sheet?
Thanks,
Lee.
-
Happy to help!
Try something like this. (You'll need to type it in and create the cross-sheet references to the other sheet)
Make sense?
=SUMIF({Sold}; 1; {Price})
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
This is what I am now trying with no result...
=SUMIF({C - February Range 7}, ({Sold}, 1, {Price}))
Can you see where I might be going wrong?
Again, thank you for your help!
Lee.
-
I have also tried this alternative...
=SUMIF({C - February Range 3}; 1; {C - February Range 5})
Again, no joy, I am definitely doing something wrong here.
-
Yes, you have a parenthesis in the wrong place (before the sold).
Try this.
=SUMIF({C - February Range 7}, {Sold}, 1, {Price})
Did that work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
This does something different as I'm getting a different error, it's now saying "incorrect argument" instead of "unparsable".
Thanks,
Lee.
-
I'd be happy to take a quick look.
Can you maybe share the sheet(s)/copies of the sheet(s)? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!