Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I Incrementing Cell Reference Values by 7?

I want to do 2000 lines of data coming from another worksheet. To get the
first cell of information I want the formula is

cell A2 formula
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E$13 ="","",'[Customer
Information.xls]A'!$E$13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E$20 ="","",'[Customer
Information.xls]A'!$E$20)

I have tried the "fill-in method" where I took out the $ so the formulas read

cell A2 formula
=IF('[Customer Information.xls]A'!$E6 ="","",'[Customer
Information.xls]A'!$E6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E13 ="","",'[Customer
Information.xls]A'!$E13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E20 ="","",'[Customer
Information.xls]A'!$E20)

I hoped the formula for A5 would be

=IF('[Customer Information.xls]A'!$E27 ="","",'[Customer
Information.xls]A'!$E27)

Unfortunately it was:
=IF('[Customer Information.xls]A'!$E9 ="","",'[Customer
Information.xls]A'!$E9)

What am I doing wrong? Is there a way to make this increment the way I want
it to?

Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default How do I Incrementing Cell Reference Values by 7?

Hi,

Try modifying your reference using

=INDIRECT("E"&6+7*(ROW(A1)-1))

so
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

becomes

=IF(INDIRECT("'[Customer Information.xls]A'!$E$"&6+7*(row(a1)-1))
="","",INDIRECT("'[Customer Information.xls]A'!$E$"&6+7*(row(a1)-1)) )

Watch those double and single quotes.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Cheri Firlit" wrote:

I want to do 2000 lines of data coming from another worksheet. To get the
first cell of information I want the formula is

cell A2 formula
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E$13 ="","",'[Customer
Information.xls]A'!$E$13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E$20 ="","",'[Customer
Information.xls]A'!$E$20)

I have tried the "fill-in method" where I took out the $ so the formulas read

cell A2 formula
=IF('[Customer Information.xls]A'!$E6 ="","",'[Customer
Information.xls]A'!$E6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E13 ="","",'[Customer
Information.xls]A'!$E13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E20 ="","",'[Customer
Information.xls]A'!$E20)

I hoped the formula for A5 would be

=IF('[Customer Information.xls]A'!$E27 ="","",'[Customer
Information.xls]A'!$E27)

Unfortunately it was:
=IF('[Customer Information.xls]A'!$E9 ="","",'[Customer
Information.xls]A'!$E9)

What am I doing wrong? Is there a way to make this increment the way I want
it to?

Thanks for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I Incrementing Cell Reference Values by 7?


Thank you so much!!!

"Shane Devenshire" wrote:

Hi,

Try modifying your reference using

=INDIRECT("E"&6+7*(ROW(A1)-1))

so
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

becomes

=IF(INDIRECT("'[Customer Information.xls]A'!$E$"&6+7*(row(a1)-1))
="","",INDIRECT("'[Customer Information.xls]A'!$E$"&6+7*(row(a1)-1)) )

Watch those double and single quotes.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Cheri Firlit" wrote:

I want to do 2000 lines of data coming from another worksheet. To get the
first cell of information I want the formula is

cell A2 formula
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E$13 ="","",'[Customer
Information.xls]A'!$E$13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E$20 ="","",'[Customer
Information.xls]A'!$E$20)

I have tried the "fill-in method" where I took out the $ so the formulas read

cell A2 formula
=IF('[Customer Information.xls]A'!$E6 ="","",'[Customer
Information.xls]A'!$E6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E13 ="","",'[Customer
Information.xls]A'!$E13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E20 ="","",'[Customer
Information.xls]A'!$E20)

I hoped the formula for A5 would be

=IF('[Customer Information.xls]A'!$E27 ="","",'[Customer
Information.xls]A'!$E27)

Unfortunately it was:
=IF('[Customer Information.xls]A'!$E9 ="","",'[Customer
Information.xls]A'!$E9)

What am I doing wrong? Is there a way to make this increment the way I want
it to?

Thanks for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 303
Default How do I Incrementing Cell Reference Values by 7?

one way


=IF(OFFSET([Customer
Information.xls]A!$E$6,(ROWS($1:1)-ROW($1:1))*7,,)="","",OFFSET([Customer
Information.xls]A!$E$6,(ROWS($1:1)-ROW($1:1))*7,,))

and extend down.................

good luck

--
Greetings from New Zealand

"Cheri Firlit" <Cheri wrote in message
...
I want to do 2000 lines of data coming from another worksheet. To get the
first cell of information I want the formula is

cell A2 formula
=IF('[Customer Information.xls]A'!$E$6 ="","",'[Customer
Information.xls]A'!$E$6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E$13 ="","",'[Customer
Information.xls]A'!$E$13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E$20 ="","",'[Customer
Information.xls]A'!$E$20)

I have tried the "fill-in method" where I took out the $ so the formulas
read

cell A2 formula
=IF('[Customer Information.xls]A'!$E6 ="","",'[Customer
Information.xls]A'!$E6)

cell A3 formula
=IF('[Customer Information.xls]A'!$E13 ="","",'[Customer
Information.xls]A'!$E13)

cell A4 formula
=IF('[Customer Information.xls]A'!$E20 ="","",'[Customer
Information.xls]A'!$E20)

I hoped the formula for A5 would be

=IF('[Customer Information.xls]A'!$E27 ="","",'[Customer
Information.xls]A'!$E27)

Unfortunately it was:
=IF('[Customer Information.xls]A'!$E9 ="","",'[Customer
Information.xls]A'!$E9)

What am I doing wrong? Is there a way to make this increment the way I
want
it to?

Thanks for your help.



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
Rang reference incrementing by more than one on formula drag Kai Cunningham[_2_] Excel Worksheet Functions 2 April 3rd 08 09:20 PM
Incrementing cell reference Paul Mugleston[_2_] Excel Discussion (Misc queries) 1 January 10th 08 04:06 PM
Incrementing cell reference in Lookup formula MartinW Excel Worksheet Functions 3 May 14th 07 01:55 PM
Dragging & incrementing cell values Terry Bennett Excel Worksheet Functions 6 April 9th 06 12:18 AM
incrementing formula reference by 7 Patti Excel Discussion (Misc queries) 2 January 20th 05 08:23 PM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"