PC Review


Reply
Thread Tools Rate Thread

correct total column in flitered list

 
 
Tarvirdi
Guest
Posts: n/a
 
      3rd Mar 2007
correct total column in filtered list

Dear friends,

I have a list(table in 2007) as bellow

Serial
Item Code
Import
Export
Remain

1
10
20

20

2
20

10
10

3
10
30

40

4
30
10

50

5
20

20
30



note how last column (remain) is calculated (remain=up remain+import-expor)
if i filter (itemcode) for 10 the remain column value not calculated on new condition (correct calculation but useful for me)
how can I implement last column calculation to get as bellow list?
Serial
Item Code(=10)
Import
Export
Remain

1
10
20

20

3
10
30

50


Thanks
Tarvirdi

 
Reply With Quote
 
 
 
 
KL
Guest
Posts: n/a
 
      3rd Mar 2007
Use the SUBTOTAL function.

--
KL
[MVP - Microsoft Excel]
RU: http://www.mvps.ru/Program/Default.aspx
ES: http://mvp.support.microsoft.com/?LN=es-es
EN: http://mvp.support.microsoft.com/?LN=en-us
Profile: https://mvp.support.microsoft.com/pr...A-9E6C73C09A36


"Tarvirdi" <(E-Mail Removed)> wrote in message news:O$(E-Mail Removed)...
correct total column in filtered list

Dear friends,

I have a list(table in 2007) as bellow

Serial
Item Code
Import
Export
Remain

1
10
20

20

2
20

10
10

3
10
30

40

4
30
10

50

5
20

20
30



note how last column (remain) is calculated (remain=up remain+import-expor)
if i filter (itemcode) for 10 the remain column value not calculated on new condition (correct calculation but useful for me)
how can I implement last column calculation to get as bellow list?
Serial
Item Code(=10)
Import
Export
Remain

1
10
20

20

3
10
30

50


Thanks
Tarvirdi

 
Reply With Quote
 
Tarvirdi
Guest
Posts: n/a
 
      4th Mar 2007
Thanks,
But SUBTOTAL is useful for bottom total not for column(remain)
if I mistake please describe and help me to write the function
thanks again


 
Reply With Quote
 
kounoike
Guest
Posts: n/a
 
      4th Mar 2007
if Import in column C, Export in column D, and Remain in column E,
then put a formula below in E2

=SUBTOTAL(9,C$2:C2)-SUBTOTAL(9,D$22)

and copy it down to e.g. E6

keizi

"Tarvirdi" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Thanks,
> But SUBTOTAL is useful for bottom total not for column(remain)
> if I mistake please describe and help me to write the function
> thanks again
>


 
Reply With Quote
 
Tarvirdi
Guest
Posts: n/a
 
      4th Mar 2007
thanks, it works


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum Wrong total but add each cell gives the correct total Steved Microsoft Excel Worksheet Functions 6 8th Jan 2009 01:19 AM
Showing total value of column in a multiselect list box in a text Halfbrain Microsoft Access VBA Modules 2 18th Jun 2008 01:08 AM
Total column changes colors when total equals sum of other columns =?Utf-8?B?bmV3c3RhY3k=?= Microsoft Excel New Users 1 21st Apr 2007 09:00 PM
correct total column in filtered list Tarvirdi Microsoft Excel Discussion 1 4th Mar 2007 09:25 PM
Total Column not returning correct amount =?Utf-8?B?YWNjZXNzbmV3Ymll?= Microsoft Access 2 31st Aug 2006 06:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:29 PM.