SUMIFS AND AVERAGEIFS

EllaDani

New Member
Joined
Aug 5, 2022
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Create a formula in cell B18 that will sum up all amounts in D8:D16 where Unit Price is greater than or equal to 15
Create a formula in cell B21 that will get the average of all amounts in D8:D16 of those items that starts with the letter "T" with a unit price of greater than 70.

I tried various formulas but I either got errors or the answer is not the same as the first picture. The answer in sumifs should be 1950 as advised by my professor but I keep on getting 6900 using this formula =SUMIFS(D8:D16,C8:C16,">=15") and I get an error when I use this on AVERAGEIFS =AVERAGEIFS(D8:D16, A8:A16,"T",C8:C16,">70)") Please Heeelppp Thank you and God Bless..
 

Attachments

  • AVEIF.png
    AVEIF.png
    47.8 KB · Views: 23
  • sumif.png
    sumif.png
    29.4 KB · Views: 22

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)
If you simply add up column D for all items with a unit price >=15, then you do indeed get 6900. Are you sure there wasn't other criteria that would limit it to, perhaps, just the Sandwiches and Flyer (1950 total)? Maybe equal to 15, not greater than or equal? Also, when there is only one criteria, you can use SUMIF rather than SUMIFS.

=SUMIF(C8:C16,">=15",D8:D16)

As for the average, there appears to be another issue - there is only ONE item with a unit price greater than 70 and starts with the letter T - the Tarpauline. So, the average would simply be 450. If you added 7500 (T-shirts, also starts with T) and the Tarpauline, you'd get 7950, which when divided by two items would return 3975.

Something just isn't right with the data set, or with the professor.
 
Upvote 0
Also, your syntax is wrong for T in the AVERAGESIFS formula. If you want items that start with T it should be "T*". You need to add the wild card "*" after the T.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

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