Results 1 to 21 of 21

Locking different values within cell depending if they are dragged vertically or horizonta

Threaded View

  1. #1
    Registered User
    Join Date
    06-30-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    Locking different values within cell depending if they are dragged vertically or horizonta

    Hello all

    I'm having difficulties figuring out a solution on how I can lock certain references within my formula depending upon whether I drag it along the row or down the column.

    As I drag the formula along the row I require this;
    =IF(FZ3=Import,VLOOKUP($A$8,'Edited Data'!$O$3:$P$3600,2,0),FZ3)

    But if I am to drag the formula down the column then I need this;
    =IF($F$Z3=Import,VLOOKUP(A8,'Edited Data'!$O$3:$P$3600,2,0),FZ3)

    The key differences of those two formulas being the IF function reference cell (FZ3) and the VLOOKUP reference cell (A8).


    Thanks!

    Martin
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Returning values from another sheet which works when dragged horizontally and vertically
    By letstuffhappen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2015, 01:22 PM
  2. Locking or Unlocking validated cells depending on the previous cell
    By biajw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2014, 11:36 AM
  3. Locking Panes Horizontially and Vertically
    By Rwilliams_09 in forum Excel General
    Replies: 7
    Last Post: 12-07-2012, 04:29 PM
  4. Locking cells depending on what is entered in another cell
    By nujwaan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2009, 08:35 AM
  5. Replies: 0
    Last Post: 05-12-2006, 06:50 AM
  6. [SOLVED] Locking Data in a specific cell depending on selection of another
    By CrimsonPlague29 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2006, 06:10 AM
  7. Replies: 1
    Last Post: 07-27-2005, 11:04 PM

Tags for this Thread

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