Sum certain row with sumif formula.

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
Hello,
How can I change the sum ranges with given formula below?
Its lıke I wanna calculate all row instead of a column.

Apple123456789

Apple= 45

Many Thanks

Excel Formula:
=SUMIF(A:J,K2,B:B)
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi,

Is this what you mean:

Book3.xlsx
ABCDEFGHIJK
1Apple123456789
2Orange246Apple
3Apple25884
4Apple1113
5
Sheet949
Cell Formulas
RangeFormula
K3K3=SUMPRODUCT((A1:A10=K2)*B1:J10)
 
Upvote 0
Hi,

Is this what you mean:

Book3.xlsx
ABCDEFGHIJK
1Apple123456789
2Orange246Apple
3Apple25884
4Apple1113
5
Sheet949
Cell Formulas
RangeFormula
K3K3=SUMPRODUCT((A1:A10=K2)*B1:J10)
[/RA
Cell Formulas
RangeFormula
Hi, Yes exactly, thanks a lot. Is there anyway to remove ranges like
Excel Formula:
=SUMPRODUCT((A:A=K2)*B:J)
 
Upvote 0
Hi,
Yes exactly, thanks a lot.
Is there anyway to remove ranges like
Excel Formula:
=SUMPRODUCT((A:A=K2)*B:J)
[/range]

Yes you can, but not recommended, unless you absolutely need to, there are Over a Million rows in excel, so 9 Columns and over 1 Million rows, that formula will need to perform over 9 Million calculations, depending on what else you have on your sheet, it will impact performance.

Maybe limit the rows to something you Know is more than enough, like 5000, 10000, 50000, 100000, etc.
 
Upvote 0
Yes you can, but not recommended, unless you absolutely need to, there are Over a Million rows in excel, so 9 Columns and over 1 Million rows, that formula will need to perform over 9 Million calculations, depending on what else you have on your sheet, it will impact performance.
Ok I will keep it as 1000rows that's much enough for me.
Cheers
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,182
Members
448,872
Latest member
lcaw

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