Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default copying formulas and changing cell references

Good Morning!

I am wondering how to copy a cell and paste it so that the cell reference
within the formula changes. For example:

=IF('EAST Region PSR Detail '!A9=""," ",'EAST Region PSR Detail '!A9)
when dragged down becomes
=IF('EAST Region PSR Detail '!A10=""," ",'EAST Region PSR Detail '!A10)

What I need to accomplish is to have the cell reference within the formula
to change by 6 integers vs 1, so the correct formula would be
=IF('EAST Region PSR Detail '!A15=""," ",'EAST Region PSR Detail '!A15)

Any suggestions would be most appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default copying formulas and changing cell references

See response in your other post
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default copying formulas and changing cell references

Try this:

=IF(INDIRECT("'EAST Region PSR Detail '!A"&(ROW(A1)*6+3))="","
",INDIRECT("'EAST Region PSR Detail '!A"&(ROW(A1)*6+3)))

then copy this down.

The term ROW(A1)*6+3 evaluates to 1*6+3 (=9), but when copied down
this becomes ROW(A2)*6+3 (=2*6+3, =15), then ROW(A3)*6+3 (=3*6+3,
=21), and so on. This is then concatenated to the rest of your
reference, and INDIRECT allows you to "calculate" references in this
way.

Hope this helps.

Pete

On Feb 9, 9:11*am, mainsol wrote:
Good Morning!

I am wondering how to copy a cell and paste it so that the cell reference
within the formula changes. *For example:

=IF('EAST Region PSR *Detail '!A9=""," ",'EAST Region PSR *Detail '!A9)
when dragged down becomes
=IF('EAST Region PSR *Detail '!A10=""," ",'EAST Region PSR *Detail '!A10)

What I need to accomplish is to have the cell reference within the formula
to change by 6 integers vs 1, so the correct formula would be
=IF('EAST Region PSR *Detail '!A15=""," ",'EAST Region PSR *Detail '!A15)

Any suggestions would be most appreciated!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default copying formulas and changing cell references

Ah! I didn't see that you had posted elsewhere - please do not multi-
post.

Pete

On Feb 9, 9:11*am, mainsol wrote:
Good Morning!

I am wondering how to copy a cell and paste it so that the cell reference
within the formula changes. *For example:

=IF('EAST Region PSR *Detail '!A9=""," ",'EAST Region PSR *Detail '!A9)
when dragged down becomes
=IF('EAST Region PSR *Detail '!A10=""," ",'EAST Region PSR *Detail '!A10)

What I need to accomplish is to have the cell reference within the formula
to change by 6 integers vs 1, so the correct formula would be
=IF('EAST Region PSR *Detail '!A15=""," ",'EAST Region PSR *Detail '!A15)

Any suggestions would be most appreciated!


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
Include varying cell references in formulas based on changing crit DSD Excel Worksheet Functions 1 June 6th 08 06:59 PM
Copying formulas, relative and absolute cell references Garnet Excel Discussion (Misc queries) 3 February 22nd 07 08:51 AM
Changing cell references in formulas to names and back again. Aaron Excel Discussion (Misc queries) 4 April 25th 06 11:12 PM
copying formulas with different references Karl in Springfield Excel Discussion (Misc queries) 1 July 28th 05 03:19 PM
Changing Cell References in Formulas Pat Excel Worksheet Functions 2 December 15th 04 05:29 PM


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