If / And and a Sum If Formula?

Mississippi Girl

Board Regular
Joined
Oct 27, 2005
Messages
155
Hi - been going in circles with this formula for a while.
I have 2 data sets; one is the base value of services/commodities, etc. with associated fees calculated in Rows 13 and 14; the second data set contains the same data, but at the fully loaded value (with fees calculated on each item vs. at the end).

Fee 1 is applied to everything, no matter what. That's an easy one.
Fee 2 is only applied to Contract Labor and Contract Materials, but only when the sum of Contract Labor and Contract Materials (in cell range O3:O11) is $1M or higher.

Row 15 should equal Row 28.
Can you see what I'm doing wrong? In my mind, this makes perfect sense.
Thanks for your help!

Capture.JPG
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
The if statement doesn't like wild cards and is always evaluating as FALSE.
Countifs can handle wild cards and will count anything starting with the word before the wildcard.
The if statement treats 0 as FALSE and any other number ie Countifs > 0 as TRUE
You could put Countifs(expression) > 0 if you find that more intuitive.

The left version is probably self explanatory, let me know if its not.
 
Upvote 0

Forum statistics

Threads
1,215,877
Messages
6,127,494
Members
449,385
Latest member
KMGLarson

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