Return result based on value calculation of specific product within a unique order

Tupelo1984

New Member
Joined
Jan 26, 2021
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am in desperate need of help on an item!

I am looking for a formula that returns a result based on the % of sales volume for a specific product (column B) over to the total value of the order (grouped column A) is equal or more than 60% . The result to be displayed in column D with "60% X order" or "Less than 60% X order" depending on the % of X products over the total order from column A.

Example:

Order B in spreadsheet

Order B manual calculation
130593.19​
Total Sum all products A
43874.02​
Total Sum X products A
34%
% of X products in Order A

As the SUM of the item value for X products is lower than 60% of the total value of the items for order A, it would return result "Less than 60% X order" in column D

Order C in spreadsheet

Order C Manual calculation
60200​
Total Sum all products in order C
60000​
Total Sum X products in order C
99.67%
% of X products in Order C

As the SUM of the item value for X products is higher than 60% of the total value of the items for order A, it would return result "60% X order" in column D.

Thank you so much for your help in advance!

Tupelo1984
 

Attachments

  • Screenshot 2021-01-26 084026.jpg
    Screenshot 2021-01-26 084026.jpg
    103.6 KB · Views: 7

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
try:

Excel Formula:
=IF(SUMIFS(B:B;C:C;C2;A:A;A2)<(SUMIF(A:B;A2;B:B))*0,6; "less"; "more")
 
Upvote 0

Forum statistics

Threads
1,213,522
Messages
6,114,112
Members
448,549
Latest member
brianhfield

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