Subtraction a filtered list

tinkode

New Member
Joined
Oct 21, 2018
Messages
35
hello kings of excel i want Subtraction filtered list
the first number - the last number



EhwiOol.png


i have many filtered list so i can't use =sum(X1-X2) it will take many times
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
its working for all numbers
but the probleme with the first one 261544-205150 = 55878

WV9RW5K.png


its should be 56394
 
Upvote 0
Re: formula for Subtraction for filtered list

@tinkode
Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread. (rule 12 here: Forum Rules).
I have merged both threads
 
Upvote 0
Data start at M12

=INDEX(M12:M260,MATCH(1,INDEX(SUBTOTAL(2,OFFSET(M11,ROW(M1:M260),)),),))-INDEX(M12:M260,MATCH(1,INDEX(1/SUBTOTAL(2,OFFSET(M11,ROW(M1:M260),)),)))


=INDEX(M12:M260;EQUIV(1;INDEX(SOUS.TOTAL(2;DECALER(M11;LIGNE(M1:M260); )); ); ))-INDEX(M12:M260;EQUIV(1;INDEX(1/SOUS.TOTAL(2;DECALER(M11;LIGNE(M1:M260); )); )))
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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