PC Review


Reply
Thread Tools Rate Thread

Autofill down Vlookup formula between sum?

 
 
Juan
Guest
Posts: n/a
 
      12th Feb 2009
Hi,
I have a vlookup formula let's say in K2, is there a way to autofill down
but exclude sum totals?
Example
Vlookup formula
data
total sum Group1
data
total sum group2
grand total sum of group1 & 2
So I need to copy the vlookup between the sum totals. Is there a way?
any help would really appreciate.
thanks
Juan
 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      13th Feb 2009
Assuming your sums are formulas, not entered values, then (and for this
example, I'm assuming everycell between and including your vlookup to the
grandsum has something in it) something like:

with activesheet
.range("k2").copy
.range(.range("k2"),
..range("k2").end(xldown)).specialcells(constants_only).pastespecial
formulas_only
end with

sorry, I'm not sitting in front of my excel so I don't remember what the
constants for constants_only and formulas_only really are but if you're in
the vba editor they'll pop up.

"Juan" <(E-Mail Removed)> wrote in message
news:6809DBC8-772D-4659-9F41-(E-Mail Removed)...
> Hi,
> I have a vlookup formula let's say in K2, is there a way to autofill down
> but exclude sum totals?
> Example
> Vlookup formula
> data
> total sum Group1
> data
> total sum group2
> grand total sum of group1 & 2
> So I need to copy the vlookup between the sum totals. Is there a way?
> any help would really appreciate.
> thanks
> Juan




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup, Column Index Num and Autofill mp Microsoft Excel Worksheet Functions 9 27th Apr 2009 07:44 PM
VLOOKUP and AutoFill Sparkie Microsoft Excel Worksheet Functions 5 1st Apr 2008 09:05 PM
Vlookup and autofill =?Utf-8?B?TG9zdHdpdGhvdXRMb3N0?= Microsoft Excel Misc 5 17th Nov 2006 03:59 PM
No autofill VLookup function =?Utf-8?B?b3dsMzc=?= Microsoft Excel Worksheet Functions 5 12th Oct 2006 09:41 PM
Autofill with VLOOKUP Brian Q. Lehmann Microsoft Excel Misc 1 30th Sep 2003 06:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:10 AM.