Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Auto repeate parts of functions

Hi!

I have a function in the function bar of my excel spreadsheet, and it
works well, and here is part of it:

=(F4/Constants!B1)+(G4*Constants!B4)

Now that is great, but I don't want to type it everytime for 50 rows
like F5/Constants!B1 F6/Constants!B1 So I grab the corner of the cell
and drag it down all the cells I want to have this function, and Excel
is smart enough to increment F4, F5, F6 etc across all the cells I
want.

Great! But Excel is not smart enough to tell that Constants!B1 is
constant, and should not change, and should not imcrement but stay B1
everytime. I tried to set 2 cells as I wanted, with B1 being the same,
and thought that might work, but it does not, I get the pattern B1 B1
B3 B3 B5 B5...you can take it from there.

So! Excel is not smart enough to know Constants!B1 should not change, I
am not smart enough to tell Excel how to do it, so I am looking for
someone smarter than the both of us put together to help me with my
problem!

To sum up, I would like to auto-complete a function, by dragging the
bottom right corner of a cell that has a function in it, down many
cells(I wish I knew what this was called) I would like some of the cell
designations to icriment(F4, F5, F6) but others to stay the same(B1,
B1, B1).

Any hints, help, or comments would be appriciated.

  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

Use $ characters to indicate which part(s) of a cell reference
you do not want to update. E.g.,

=(F4/Constants!$B$1)+(G4*Constants!B4)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


wrote in message
ups.com...
Hi!

I have a function in the function bar of my excel spreadsheet,
and it
works well, and here is part of it:

=(F4/Constants!B1)+(G4*Constants!B4)

Now that is great, but I don't want to type it everytime for 50
rows
like F5/Constants!B1 F6/Constants!B1 So I grab the corner of
the cell
and drag it down all the cells I want to have this function,
and Excel
is smart enough to increment F4, F5, F6 etc across all the
cells I
want.

Great! But Excel is not smart enough to tell that Constants!B1
is
constant, and should not change, and should not imcrement but
stay B1
everytime. I tried to set 2 cells as I wanted, with B1 being
the same,
and thought that might work, but it does not, I get the pattern
B1 B1
B3 B3 B5 B5...you can take it from there.

So! Excel is not smart enough to know Constants!B1 should not
change, I
am not smart enough to tell Excel how to do it, so I am looking
for
someone smarter than the both of us put together to help me
with my
problem!

To sum up, I would like to auto-complete a function, by
dragging the
bottom right corner of a cell that has a function in it, down
many
cells(I wish I knew what this was called) I would like some of
the cell
designations to icriment(F4, F5, F6) but others to stay the
same(B1,
B1, B1).

Any hints, help, or comments would be appriciated.



  #3   Report Post  
 
Posts: n/a
Default

Thank you very much. Not only is that exactly what I needed, it was
quicker than I could have hoped for.

I was just about to change 5 values in a function across 55 cells which
is...a lot.

Thanks again.

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
Improvements for text finding functions yarp Excel Discussion (Misc queries) 2 August 8th 05 04:01 PM
Not sure which function and how to use it. Help Damon Johnson Excel Worksheet Functions 2 July 25th 05 11:09 PM
PASTE DOWN FUNCTIONS jackle Excel Worksheet Functions 0 May 25th 05 02:10 PM
Matching parts to model numbers Craig wotdoo Excel Discussion (Misc queries) 4 May 12th 05 05:56 AM
excel links update not working in auto, calculations in auto Mikey Boy Excel Worksheet Functions 0 December 7th 04 11:53 PM


All times are GMT +1. The time now is 01:55 PM.

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"