LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How can I sort data without affecting formula?

I have two worksheets. On one (called €˜clients) I have a list of clients
names (column A) and for each client a number of other columns of data,
including one for sales value (column B). The data is not sorted at this
stage but I wish to be able to sort it by various columns.
On the other worksheet (called €˜media) I wish to group the clients by
advertising medium and produce a sales total for all the clients contributing
to each sales medium. For example, clients D, B and A were achieved through
TV advertising and have a combined sales total of $100, while clients E and C
were from radio advertising and have combined sales of $150. My formula (on
the media worksheet) for the €˜TV row is a simple
=clients!B1+clients!B2+clients!B 3 (D, B, and A are on rows 1, 2 and 3
respectively)

My problem is that when I sort the table in the clients worksheet (which is
originally in the order of D, B, A, E, C) on column A, the formula on the
media worksheet stays the same and now gives €˜TV the total for clients A, B,
and C instead of D, B and A. If I dont sort the data but I add rows on the
client worksheet the column/row references in the formula change so its
still adding the correct figures, but when I sort the data the references are
not updated.

I hope someone can give me some clues as to how I can solve this problem.

 
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 2 colums of numbers and incremening them down blk&wht Excel Discussion (Misc queries) 10 October 9th 06 10:12 PM
I can't sort data when the key column cells contain formula Redleg24 Excel Discussion (Misc queries) 6 August 31st 06 07:40 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How do I sort a column of data and have each data row sort accordi Oedalis Excel Discussion (Misc queries) 1 March 17th 05 11:52 PM


All times are GMT +1. The time now is 08:46 AM.

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

About Us

"It's about Microsoft Excel"