# Sumifs referencing two criteria's from another sheet

Help! Really inexperienced with formula's. I have a budget sheet, where I am trying to add all the values from another sheet (raw data sheet) which meets two criterias - they have the specific project code I need and the specific cost code I need.

I have no idea where to begin and how to put this together.

• ✭✭✭✭✭✭

I hope you're well and safe!

Have a look at these resources to get started.

Did that work/help?

I hope that helps!

Be safe, and have a fantastic weekend!

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.

• ✭✭✭✭✭✭

Assuming that you have 3 columns in the raw data sheet; Project Code, Cost Code and Amount. If you want to sum the total of amount based on project code and cost code, create 3 references with the name Project Code, Cost Code and Amount for the respective 3 columns. Use the formula below in the destination sheet

```=SUMIFS({Amount}, {Project Code}, "AAA", {Cost Code}, "XXX")
```

Replace AAA and XXX with either a project code and cost code respectively, or replace "AAA" with [Project Code]@row if you already have a project code specified in the destination sheet.

I hope this helps.

Best Regards