Masking numbers

Ben51

New Member
Joined
Feb 29, 2016
Messages
14
Hi All,

I have the following problem...

I have many numbers in the following format associated with several costs:

A B C

06.01.01.01.01 £8000 £40000
06.01.01.01.02 £2000 £50000
06.01.01.02.01 £9000 £60000
06.01.01.03.01 £7000 £70000
06.01.02.01.01 £5000 £40000
06.01.02.01.02 £1000 £30000

I wish to be able to add up all the costs associated with codes beginning with 06.01.01.01
and
06.01.02
etc

Thanks Guys and Girls

Ben
 
Thankyou very much,

How would i omit something from the sumproduct?

i.e. 06.01.02.03 (in number form rather than cell reference?
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Excel 2010
ABCDEFGHIJK
106.01.01.01.016679311982969416386888048505606452175181
206.01.01.01.027862894221369698552436254348346360087800
306.01.01.02.012756835033006457962287518404553319476035
406.01.01.03.017992891985524697315458927218455094594200
506.01.02.01.017762751219726681695585773399773492451967
606.01.02.03.027619729932759923363447467213240727619656
7
8
9
1006.01.01.01312147
Sheet2
Cell Formulas
RangeFormula
B10=SUMPRODUCT((LEFT($A$1:$A$6,11)<>"06.01.02.03")*B$1:K$6)
 
Upvote 0

Forum statistics

Threads
1,223,732
Messages
6,174,182
Members
452,550
Latest member
southernsquid2

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