Consulting

Results 1 to 2 of 2

Thread: Solved: conditional population of cell

  1. #1
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location

    Solved: conditional population of cell

    how do i populate a cell from data from a diff sheet depending on whether the adjacent cell fulfils a condition ?

    eg if j10>1000 then k10 = ___ <value from sheet2> else k10 = ""

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    =IF(J10>1000,Sheet2!D1,"")

    If sheet 2 name contains a space then
    =IF(J10>1000,'My Sheet'!D1,"")
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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