+ Reply to Thread
Results 1 to 6 of 6

selecting cell content based on value

  1. #1
    Registered User
    Join Date
    07-16-2004
    Posts
    12

    selecting cell content based on value

    Hi,
    Is it possible to auto copy values from a cell if an adjacent cell has a value entered?

    e.g. if there is a value in cell B3, is it possible to check for this and if its true, copy the contents of cells A3 and B3 into F5 and G5?

    hope that makes sense.
    thanks in advance

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    If B3 =5, then in F3

    =IF(B3=5,A3) and in G3

    =IF(B3=5,B3)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    07-16-2004
    Posts
    12
    thanks - easy when you know how!

    is there a way of doing this with the value in B3 being unknown?
    For example, being either true (i.e. a number is in the cell) or false (i.e. the cell is empty) and then copying the data accordingly?

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Yes, just edit the formula B3=<0 this will only pick up negative numbers, or B3="" if the cell has nothing in it at all.

    Hope this is what you want?

  5. #5
    Registered User
    Join Date
    07-16-2004
    Posts
    12
    excellent - just what I was after

    thanks for your help

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    No problem - thanks for the feedback

+ 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