+ Reply to Thread
Results 1 to 3 of 3

Formula not changing when Dragged!!!!

  1. #1
    Registered User
    Join Date
    07-24-2006
    Posts
    57

    Formula not changing when Dragged!!!!

    I have a formula like this in one cell:
    PHP Code: 
    =IF(H$28<16,IF(H$28=0,0,LOOKUP(H$28,B$11:U$11,B$12:U$12)),LOOKUP(H$28,B$19:M$19,B$20:M$20)) 
    But when I try to drag it down the column, values that should change in the formula do not! Every instance of H$28 should change to H$29, then H$30, etc., but they do not! The formula remains identical, hence giving me the same result.

  2. #2
    Fred Smith
    Guest

    Re: Formula not changing when Dragged!!!!

    Excel is working as it should. The $ in your formula are what prevent it from
    changing. Take them out, and it will solve your problem.

    Then look in Help for the difference between an absolute reference and a
    relative one.

    --
    Regards,
    Fred


    "aposatsk" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a formula like this in one cell:
    >
    > PHP code:
    > --------------------
    >
    > =IF(H$28<16,IF(H$28=0,0,LOOKUP(H$28,B$11:U$11,B$12:U$12)),LOOKUP(H$28,B$19:M$19,B$20:M$20))
    > --------------------
    >
    >
    > But when I try to drag it down the column, values that should change in
    > the formula do not! Every instance of H$28 should change to H$29, then
    > H$30, etc., but they do not! The formula remains identical, hence
    > giving me the same result.
    >
    >
    > --
    > aposatsk
    > ------------------------------------------------------------------------
    > aposatsk's Profile:
    > http://www.excelforum.com/member.php...o&userid=36709
    > View this thread: http://www.excelforum.com/showthread...hreadid=572614
    >




  3. #3
    Dave F
    Guest

    Re: Formula not changing when Dragged!!!!

    $ signs indicate absolute references; i.e., as you drag H$28 down the only
    thing that will change is the column reference (H) not the row reference (28).

    Look in Excel's help for absolute and relative references for more
    information.

    "Fred Smith" wrote:

    > Excel is working as it should. The $ in your formula are what prevent it from
    > changing. Take them out, and it will solve your problem.
    >
    > Then look in Help for the difference between an absolute reference and a
    > relative one.
    >
    > --
    > Regards,
    > Fred
    >
    >
    > "aposatsk" <[email protected]> wrote in
    > message news:[email protected]...
    > >
    > > I have a formula like this in one cell:
    > >
    > > PHP code:
    > > --------------------
    > >
    > > =IF(H$28<16,IF(H$28=0,0,LOOKUP(H$28,B$11:U$11,B$12:U$12)),LOOKUP(H$28,B$19:M$19,B$20:M$20))
    > > --------------------
    > >
    > >
    > > But when I try to drag it down the column, values that should change in
    > > the formula do not! Every instance of H$28 should change to H$29, then
    > > H$30, etc., but they do not! The formula remains identical, hence
    > > giving me the same result.
    > >
    > >
    > > --
    > > aposatsk
    > > ------------------------------------------------------------------------
    > > aposatsk's Profile:
    > > http://www.excelforum.com/member.php...o&userid=36709
    > > View this thread: http://www.excelforum.com/showthread...hreadid=572614
    > >

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1