Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default adding cells then sorting

Hi

I need to add specific cells in a column, from one worksheet into another,
by department. The easiest way I have found to do this is to sort the sheet
by department then add the cells for each department, but I need to resort
the sheet by surname.

example: sheet2!B9 =sheet1!F11+sheet1!F12+sheet1!F13+sheet1!F14+sheet 1!F15

the only problem is when I resort sheet1 by surname the cells added in
sheet2 remain the same (as above), when I want the cells added to also be
resorted (as below).

example: sheet2!B9 =sheet1!F15+sheet1!F9+sheet1!F26+sheet1!F12+sheet1 !F5

I hope this makes sense, I have tried using relative, absolute and mixed
references but nothing works.

Please help

Helen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default adding cells then sorting

Helen B wrote:
Hi

I need to add specific cells in a column, from one worksheet into another,
by department. The easiest way I have found to do this is to sort the sheet
by department then add the cells for each department, but I need to resort
the sheet by surname.

example: sheet2!B9 =sheet1!F11+sheet1!F12+sheet1!F13+sheet1!F14+sheet 1!F15

the only problem is when I resort sheet1 by surname the cells added in
sheet2 remain the same (as above), when I want the cells added to also be
resorted (as below).

example: sheet2!B9 =sheet1!F15+sheet1!F9+sheet1!F26+sheet1!F12+sheet1 !F5

I hope this makes sense, I have tried using relative, absolute and mixed
references but nothing works.

Please help

Helen



Instead of (re)sorting, try using Autofilter. In Excel 2003 this is
found under Data | Filter | Autofilter.

Or, use sorting, but after finding the values with formulas, copy the
results and Edit | Paste Special | Values.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting and adding totals docbehr Excel Worksheet Functions 3 January 30th 09 11:08 PM
sorting or adding numbers of the same value luckysg Excel Discussion (Misc queries) 1 March 5th 08 06:55 PM
sorting and adding cells in different work sheet? (hard stuff) doyree Excel Discussion (Misc queries) 8 February 13th 08 12:37 AM
Sorting and Adding Space Stewart Excel Worksheet Functions 2 November 16th 05 10:21 PM
Sorting and adding Chevyone Excel Discussion (Misc queries) 3 July 6th 05 03:41 PM


All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"