If statement

eramirez148

Board Regular
Joined
Aug 17, 2022
Messages
66
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
Platform
  1. Windows
  2. MacOS
How can I make column D to create the percent difference of each date for the total of column c for each item in column 1. I need a formula to automate this.

Column AColumn BColumn CColumn D
Row 1Item 1
8/1/2024​
10​
9%​
Row 2Item 1
8/2/2024​
20​
18%​
Row 3Item 1
8/3/2024​
30​
27%​
Row 4Item 1
8/4/2024​
50​
45%​
Row 5Item 2
8/5/2024​
90​
34%​
Row 6Item 2
8/6/2024​
82​
31%​
Row 7Item 2
8/7/2024​
56​
21%​
Row 8Item 2
8/8/2024​
25​
9%​
Row 9Item 2
8/9/2024​
9​
3%​
Row 10Item 2
8/10/2024​
5​
2%​
Row 11Item 3
8/11/2024​
7​
35%​
Row 12Item 3
8/12/2024​
2​
10%​
Row 13Item 3
8/13/2024​
9​
45%​
Row 14Item 3
8/14/2024​
2​
10%​
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Do you mean this:

Excel Formula:
=C1/SUMIFS($C$1:$C$14;$A$1:$A$14;A1)
 
Upvote 0
Yup, apologies, forgot to replace semicolons - try this:

Excel Formula:
=C1/SUMIFS($C$1:$C$14,$A$1:$A$14,A1)
 
Upvote 0
How about this?
=C2/SUMIFS(C$2:C$15,A$2:A$15,A2)
=C3/SUMIFS(C$2:C$15,A$2:A$15,A3)
=C4/SUMIFS(C$2:C$15,A$2:A$15,A4)
=C5/SUMIFS(C$2:C$15,A$2:A$15,A5)
=C6/SUMIFS(C$2:C$15,A$2:A$15,A6)
=C7/SUMIFS(C$2:C$15,A$2:A$15,A7)
=C8/SUMIFS(C$2:C$15,A$2:A$15,A8)
=C9/SUMIFS(C$2:C$15,A$2:A$15,A9)
=C10/SUMIFS(C$2:C$15,A$2:A$15,A10)
=C11/SUMIFS(C$2:C$15,A$2:A$15,A11)
=C12/SUMIFS(C$2:C$15,A$2:A$15,A12)
=C13/SUMIFS(C$2:C$15,A$2:A$15,A13)
=C14/SUMIFS(C$2:C$15,A$2:A$15,A14)
=C15/SUMIFS(C$2:C$15,A$2:A$15,A15)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
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