Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 577
Default pasting a formula without so much automation

=Lookup (a10,a7:a979,l7:.979) is the formula the problem is I have to cut and
paste this 300 times.
I need the "a10" to change to "a11"
I need "a7:a979" to remain
I need "l7:l979" to change from and L to the next letter
can you be of any help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default pasting a formula without so much automation

Maybe you mean

=LOOKUP(A10,$A$7:$A$979,L$7:L$979)

--
Kind regards,

Niek Otten

"Scott" wrote in message
...
=Lookup (a10,a7:a979,l7:.979) is the formula the problem is I have to cut
and
paste this 300 times.
I need the "a10" to change to "a11"
I need "a7:a979" to remain
I need "l7:l979" to change from and L to the next letter
can you be of any help?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default pasting a formula without so much automation

Are you looking to paste this down a column (e.g. autofill)? You should be
able to set up the references to handle it without any need to change the
formula from cell to cell, although converting a change in rows to a change
in columns is tricky. If I have it straight, try this:
=Lookup($A10,$A$7:$A$979,OFFSET($L$7:$L$979,0,ROW( )-10))
The last part, the OFFSET, turns the row change into a change of columns, so
for every row down your lookup results range will move one column to the
right. So this cell if copied down the column below your original formula
should change all the references in the way you specified - if that is indeed
what you are trying to accomplish.
--
- K Dales


"Scott" wrote:

=Lookup (a10,a7:a979,l7:.979) is the formula the problem is I have to cut and
paste this 300 times.
I need the "a10" to change to "a11"
I need "a7:a979" to remain
I need "l7:l979" to change from and L to the next letter
can you be of any 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
Formula, automation turn red if value exceed a number Daniel Excel Worksheet Functions 4 April 3rd 23 02:28 PM
Automation Macro for updating formula when changing cell value Danny Excel Discussion (Misc queries) 2 August 17th 07 02:22 AM
Automation Macro for updating formula when changing cell value Danny Excel Discussion (Misc queries) 0 August 17th 07 01:47 AM
Automation Formula almost complete pboost1 Excel Discussion (Misc queries) 14 May 19th 06 12:22 AM
Excel automation - formula Ludek Excel Programming 2 November 11th 03 02:11 PM


All times are GMT +1. The time now is 09:44 AM.

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"