Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 15th, 2004, 03:44 AM
david jansen david jansen is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 1 david jansen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
problem with copying formula to other cells

Hi

I am trying to make a formula which has to look to different cells.
So the first cell contains the following formula:

=IF('all branches '!$G2=1,'all branches '!$P2,IF('all branches '!$G3=1,'all branches '!$P3,0))

and the next cell below it should be

=IF('all branches '!$G6=1,'all branches '!$P6,IF('all branches '!$G7=1,'all branches '!$P7,0))

If I however use the drag fuction excel makes it

=IF('all branches '!$G3=1,'all branches '!$P3,IF('all branches '!$G4=1,'all branches '!$P4,0))

The problem is that will the outcome of the formula has to go cell by cell, but the information used by the IF function has to make steps of 4 cells per time. How can I solve this problem. Addaping the cell numbers in the formulas is not really an options since I will have to cpy this formula around 500 times.

I hope it is clear what I mean. English is not my first language.
Thanks in advance
David Jansen

Reply With Quote
  #2  
Old December 15th, 2004, 04:24 AM
roughneck82 roughneck82 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Tejas
Posts: 63 roughneck82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 32 m 5 sec
Reputation Power: 4
Will all the formulas need to increase by 4?

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > problem with copying formula to other cells


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway