SUM BASE ON FIRST NUMBER OF NUMBER WITH IGNORING BLANK CELLS IN RANGE

askall1000

New Member
Joined
Jan 3, 2019
Messages
17
Hi,

Can anybody help me, i am trying to sum numbers base on their first numbers, i find a formula in the forum and when tried it, it gave value error because of blank cell but i tried to modified but couldn't overcome, any help will appreciated.
 

Attachments

  • sum of numbers.png
    sum of numbers.png
    7.9 KB · Views: 3

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Habtest

Board Regular
Joined
Jul 30, 2020
Messages
145
Office Version
  1. 365
Platform
  1. Windows
It works with one tweak on the condition argument

Book1
AB
1
26521,000
3689750
4250
52563,500
66904,000
7
85,750
Sheet1
Cell Formulas
RangeFormula
B8B8=SUMPRODUCT(--(LEFT(A2:A6,1)="6")*(B2:B6))
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,129,791
Messages
5,638,340
Members
417,021
Latest member
moon miner

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
Top