+ Reply to Thread
Results 1 to 4 of 4

Advance Code or macro

  1. #1
    Registered User
    Join Date
    08-26-2007
    Posts
    9

    Advance Code or macro

    Hi,
    I have the following scenario:

    I have the following worksheet names: Summary, Sheet 1, Sheet 2, Sheet 3.

    The cell A10 in Sheet 1,2,3 may contains a value depending if the user filled it or not.

    Now I would like to do is the following:
    If A10 in contains a value in sheet 1 then copy it to Summary sheet A1
    If A10 in contains a value in sheet 2 then copy it to Summary sheet A2
    If A10 in contains a value in sheet 3 then copy it to Summary sheet A3

    If for exmaple A10 in sheet 2 does not contain a value then don't copy it to Summary sheet A2, instead, copy the value A1 in sheet 3 to Summary sheet A2

    I think you get my point?

    THank you.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Do you mean copy A1 instead?

    Why not simply use formulas?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Use sheet formulae like:
    =Sheet1!A10
    =Sheet2!A10
    =Sheet3!A10
    Not all forums are the same - seek and you shall find

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Here's a couple of ways

    Please Login or Register  to view this content.

    HTH

    rylo

+ 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