+ Reply to Thread
Results 1 to 4 of 4

Same Formula / Different Cell - not working

  1. #1
    Registered User
    Join Date
    07-29-2009
    Location
    Hong Kong, PRC
    MS-Off Ver
    Excel 2003
    Posts
    13

    Same Formula / Different Cell - not working

    I'm trying to use a formula for column F, starting in cell F6, for column M, starting from M26. The formula works in Column F but after I tried to use it in column M with adjustments, it doesnt work...

    Can anyone please find what did I do wrong?

    Thanks!

    Attached is the file...

    Mike
    Attached Files Attached Files
    Last edited by mikeexceltip; 08-03-2009 at 04:48 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Same Formula / Different Cell - not working

    As you have it the LOOKUP function should look from the first row to the preceding row at any given point - in column M you have the LOOKUP referencing the current row thus generating circular errors (eg M952 should reference only up to M$26:M951)

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Same Formula / Different Cell - not working

    It's not the same formula as it contains a circular reference problem.
    Due to the reference to $M$26:M27

    try,

    =IF(IF(K27=1,IF(L27=1,"BUY","SELL"),0)=LOOKUP("zzzz",$M$26:M26),0,IF(K27=1,IF(L27=1,"BUY","SELL"),0))
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    07-29-2009
    Location
    Hong Kong, PRC
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Same Formula / Different Cell - not working

    Thanks Donkey and Andy,

    just changed the formula into what you just wrote Andy

    its working just fine now...

    Thanks for the help!

    Cheers

+ 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