#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default VBA Help

Hi,

I have a list of clients with their associated outstanding dollar
amount and their return (%). I would like to know if there is code
that would allow me to break up these clients by return (%) groupings.
For example, I would like to group below 10%, 10% to 17%, and above
17%. So at the client on the list that is just before 10% I would
like to add two rows and put a dollar subtotal in the immediate row
and sum the dollar amounts.

Can anyone help?

Thanks,

Marino
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default VBA Help

I would
(1) use a 'cheater' column with a formula something like...
=IF(A1<10,1,IF(A117,3,2))
(2) Sort on the return (%) column
(3) Subtotal using the Data Subtotals option.
--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Marino M" wrote:

Hi,

I have a list of clients with their associated outstanding dollar
amount and their return (%). I would like to know if there is code
that would allow me to break up these clients by return (%) groupings.
For example, I would like to group below 10%, 10% to 17%, and above
17%. So at the client on the list that is just before 10% I would
like to add two rows and put a dollar subtotal in the immediate row
and sum the dollar amounts.

Can anyone help?

Thanks,

Marino

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default VBA Help

On Jul 21, 2:03*pm, Gary Brown
wrote:
I would
(1) use a 'cheater' column with a formula something like...
=IF(A1<10,1,IF(A117,3,2))
(2) Sort on the *return (%) column
(3) Subtotal using the Data Subtotals option.
--
Hope this helps. *
Thanks in advance for your feedback.
Gary Brown

"Marino M" wrote:
Hi,


I have a list of clients with their associated outstanding dollar
amount and their return (%). *I would like to know if there is code
that would allow me to break up these clients by return (%) groupings.
For example, I would like to group below 10%, 10% to 17%, and above
17%. *So at the client on the list that is just before 10% I would
like to add two rows and put a dollar subtotal in the immediate row
and sum the dollar amounts.


Can anyone help?


Thanks,


Marino


Thanks for your input, but I'm trying to make it a bit more automated
and my data changes often. I already have some code built in to pull
my data from a different sheet and sort it but the insertion and
subtotal is a bit more than i know how to do.

Thanks for your help.

Marino
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



All times are GMT +1. The time now is 03:24 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"