+ Reply to Thread
Results 1 to 6 of 6

if a cell has data then an adjancent cell equals...

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    if a cell has data then an adjancent cell equals...

    Hi all

    i have a workbook that a user will enter into,

    Column D5:D250

    If D5, is greater than 1, id like

    E5 to be
    =VLOOKUP(D5,'Account List'!$A$1:$B$548222,2,FALSE)

    F5 to be
    =VLOOKUP(D5,'Account List'!$A$1:$F$548222,6,FALSE)

    and L5 to be
    =VLOOKUP(K5,'10-03-14'!$A$1:$BB$16028,8,FALSE)

    then if D6 is greater than 1, the same to be applied but to E/F/L 6, but with the vlookup reflecting the same

    and loop through up until row 250

    is this possible

    many thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: if a cell has data then an adjancent cell equals...

    Why don't you just put this formula in E5:

    =IF(D5>1,VLOOKUP(D5,'Account List'!$A$1:$B$548222,2,FALSE),"")

    with similar formulae in F5 and G5, and then copy down to row 250 ?

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: if a cell has data then an adjancent cell equals...

    hi
    Thanks for the reply

    problem i have is the lookup data is 500,000 rows, so my sheet will have a button that will open the 500,000 row data, put in them formulas, get the data it needs, and then the paste values over the vlookups, if this makes sense

    the file size needs to be as low as possible, when i have the lookups in the file, its over 27mb

    thanks

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: if a cell has data then an adjancent cell equals...

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: if a cell has data then an adjancent cell equals...

    perfect, thank you.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: if a cell has data then an adjancent cell equals...

    You're welcome. Glad to help out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] When one cell equals value of another cell, then third cell displays text of fourth cell?
    By spookymyo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2021, 02:12 PM
  2. [SOLVED] How to create/run "cell A equals Cell B put Cell C info in Cell D
    By abmb161 in forum Excel General
    Replies: 7
    Last Post: 02-05-2014, 02:20 AM
  3. Replies: 1
    Last Post: 11-28-2013, 02:16 AM
  4. Adding column data if a corresponding cell row equals X
    By schnoobs in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-22-2012, 12:05 PM
  5. Excel 2007 : If cell equals data question
    By enhydra in forum Excel General
    Replies: 2
    Last Post: 12-26-2009, 04:41 PM

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