Excel chart with a line that will adjust certain cells

jondavis1987

Active Member
Joined
Dec 31, 2015
Messages
443
Office Version
  1. 2019
Platform
  1. Windows
So I have a chart with a line plotted from range N9:N19. N9 has the following formula.
Excel Formula:
=IF($I$6>0%,SUMPRODUCT(C9:I9,$C$6:$I$6),IF($H$6>0%,SUMPRODUCT(C9:H9,$C$6:$H$6),IF($G$6>0%,SUMPRODUCT(C9:G9,$C$6:$G$6),IF($F$6>0%,SUMPRODUCT(C9:F9,$C$6:$F$6),SUMPRODUCT(C9:E9,$C$6:$E$6)))))
I have dragged the formula down through N19 so that C6:I6 is always the same in the sumproduct but C9:I9 will always move down becoming C10:I10 and so on with the copying. The if formula is because sometimes there won't be anything in Column I or G or so on.

C6:I6 are percentages of different types of material and needs to always total 100 when added together. C9:C19 are specific properties of the material in C6 and so on for C9:I19. C9:I19 can't be changed. So N9:N19 is essentially how all of those things blend together and is what's charted.

So here's where I've seen a software (not excel) do what i'm trying to do. I'd like to drag points on the line so to certain places and it will adjust the numbers in C6:I6 to create the desired effect of the point while making all of C6:I6 equaling 100.
 

Attachments

  • Screenshot (2).png
    Screenshot (2).png
    183.6 KB · Views: 12

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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