How To Add an "Unless"

burntheland

New Member
Joined
Sep 25, 2018
Messages
5
I'm working on a spreadsheet for work. I have three columns I'm working with. One has names, the second has hours worked, and the third has the account it would come out of. I need the formula to add the hours worked if the names in the first column are the same, but it needs to not add the hours to the total if the third column says "CT".

Here's an example of what I'm looking for:

=SUMIF(A:A,"BIGGS",E:E)UNLESS(G:G="CT")

I've had minimal training with Excel and I'm doing the best I can, but I definitely need help.

Thank you!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Thanks! I imagine this place is gonna be my new best friend.

I have another question relating to this. Is there a way to get the system to subtract the hours in the total if the account column says "CT"?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top