# Sumif

#### hardeep.kanwar

##### Well-known Member
Hello Experts

How can change my Sumif Function that is Show like this. In first example the Function repeat many times See Column C.
Excel Workbook
ABC
1Original
2Total 1228
3Total 1228
4Total 1228
5Total 1528
6Total 1828
7Total 1928
Sheet

I want this look
Excel Workbook
FGH
1I want this
2Total 1228
3Total 12*
4Total 12*
5Total 15*
6Total 18*
7Total 19*
8Total 10565617854
9Total 10565*
10Total 1065*
11Total 10566*
12Total 105546*
13Total 105456*
Sheet

### Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

#### barry houdini

##### MrExcel MVP
Try this formula in C2 copied down

=IF(A2<>A1,SUMIF(A\$2:A\$80,A2,B\$2:B\$80),"")

#### hardeep.kanwar

##### Well-known Member
Try this formula in C2 copied down

=IF(A2<>A1,SUMIF(A\$2:A\$80,A2,B\$2:B\$80),"")

Gr8 Barry

Thanks Again

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,659
Messages
5,838,643
Members
430,558
Latest member
Krampus

### 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.

### Which adblocker are you using?

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

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