Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Subtotal help!! ASAP!!!!!!!!! Report due by noon!!!

Hi,

If you can put the results in a new column, the following formula will do
the trick

=IF(A2,"",SUMPRODUCT(--(A$2:A2<C$2:C2))-SUM(D$1:D1))

This formula assumes that column A contains the Acct# and C contains the
Linked#. It also assumes that column A is empty on the rows between each
group, you could use column B for this purpose just as well (change A2 to
B2). This also assumes you have data starting on row 2. Just copy the
formula down column D.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"DestinySky" wrote:

I am not certain that I can correctly explain what I am looking for so if
this does not make sense please let me know!! :o))

Ok I have 3 columns

Account number Account Name Linked account
123456 XYZ Customer 123456
123456 XYZ Customer 654321




The 1st column are my sold to account numbers (billing) and the linked
column are my ship to account numbers(shipping locations). What I need to do
is get the total linked account numbers, BUT I do not want to count the
account number if it is the same as what is in column 1.

I have done a subtotal to count at each change in account numbers in column
1 and 3.

Does this make sense?!?

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
SUBTOTAL ERRORS - PLEASE HELP ASAP Excel_Guru1979 Excel Discussion (Misc queries) 1 January 17th 08 04:11 PM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
not able to create subtotal summary report Ron Desrosiers Excel Worksheet Functions 0 August 22nd 06 12:33 AM
space after subtotal in report LindaB@work Excel Discussion (Misc queries) 5 April 7th 06 06:29 PM
move to another cell within a subtotal report within a macro NoelH Excel Worksheet Functions 1 August 31st 05 03:02 PM


All times are GMT +1. The time now is 09:46 PM.

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"