LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Urgent Help needed on! Copy and Paste a Formula as Values using a Loop statement

I have posted this earlier but did not get any reponse, hopefully I
have simplyfied it here, here is what I want VBA to do. I have 2
sheets a "Summary" and a "Phase1" work sheet:

Range on the "Summary" work sheet is E3:BY139

I want to copy the Formula as an array below, starting in Cell E3 then
copy and paste it as a value before moving to next cell which could be
either E4 or F3. This loop should go on until the last cell i.e.
E139.

Now CEP1, CCP1, DTP1 and RGP1 are all named ranges where Phase1 is
another sheet

CCP1 = Phase1!$C$3:$C$150
CEP1 = Phase1!$B$3:$B$150
DTP1 = Phase1!$E$2:$BV$2
RGP1 = Phase1!$E$3:$BV$150

Formula entered as an array in Cell E150:
{=SUM(IF(CEP1=$B3,IF(CCP1=$C3,IF(DTP1=E$11,RGP1,0) ,0),0))}

Can someone please help me on this one, Many Many thanks in advance

Edward
 
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
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
Loop Statement through If Not IsEmpty Then Paste into Destination Dandelo Excel Discussion (Misc queries) 7 July 15th 08 10:29 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
copy,paste and loop through workbook TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 December 6th 05 12:31 PM
copy and paste loop Dillonstar[_5_] Excel Programming 1 December 11th 03 04:22 PM


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