# Help with cross-sheet sumifs

Options

Hi All,

I'm getting an #Unparseable error, and I'm too tired to see why. Any help would be greatly appreciated!

In the source sheet, I've got invoice data. In the destination sheet, I want to be able to sum all the invoices for certain Project Codes. Here's what the source sheet data looks like:

And here's what I've got for the formula in the destination sheet:

=SUMIFS({GL Amount value}, {GL Project} "P-500", {GL Project} "P-501")

Thanks!

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

=SUMIFS({GL Amount value}, {GL Project}, "P-500", {GL Project}, "P-501")

Did that work/help?

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 support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.

• Options

Thanks Andrée! That fixed my unparseable issue, but now it delivers a sum of 0, when I know the sum is definitely not zero. Any ideas?

Options

The current formula is looking for a cell which is both "P-500" and "P-501". Based on your sheet set-up, it sounds like you're looking for a cell that's either or these two values, is that correct?

If so, something like:

=SUMIFS({GL Amount value}, {GL Project}, OR(@cell = "P-500", @cell = "P-501"))

Cheers,

Genevieve

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!