Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying a formula

I am attempting to streamline an aging report that I've exported from
Quickbooks. What I've written macros to do so far is:

1. Basic sort functions and deleting columns that are useless.
2. Insert 3 blank lines below groups of text, i.e. if there are 50
open invoices from one customer it puts 3 blank lines below the last
instance of the customer name.
3. I've gotten rid of all of the repeat data so that the customer name
doesn't appear in the colum for each invoice.

What I'd like to do now is use the top blank row I've inserted after
each customer and put the following headings in: Current, 30 Days, 60
Days, 90+ Days, Total.

Beneath each of these headings I would like to put the following
formulas, in respective order:
=SUMIF($K$2:$K$47,0,$M$2:$M$47)
=SUMIF($K$2:$K$46,"<="&(30),$M$2:$M$46)-SUMIF($K$2:$K$46,"<"&(1),$M$2:$M$46)
=SUMIF($K$2:$K$46,"<="&(60),$M$2:$M$46)-SUMIF($K$2:$K$46,"<"&(30),$M$2:$M$46)
and so on.

Data in column k represents the days aged, and column m is the amount
still outstanding. Normally these would not be absolute references.
There is no set number of invoices per customer so I can't set it to
repeat every x number of rows. Ideally what I would like to do is type
the data in the first and second blank rows and then have a macro that
will repeat this data in each blank set. However, I would like to have
the calculations done on each group. Is this possible? I'm a macro
novice so any help would be appreciated.

Dawn

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
copy formula result (text) only - without copying formula Mulberry Excel Discussion (Misc queries) 2 October 2nd 08 09:51 AM
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
copying formula cac1966 Excel Worksheet Functions 8 March 29th 07 09:46 PM
Copying Formula nc Excel Discussion (Misc queries) 3 February 7th 07 11:28 AM
Formula not copying down LizM Excel Worksheet Functions 6 September 25th 06 09:44 PM


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