Excel Help

Discussion in 'Bulletin Board ARCHIVE' started by Guest, Jul 21, 2006.

  1. Gue

    Guest Guest

    <font size="2">I'm trying to formulate the following in Excel: - </font></p>

    <font size="2">If  A1(tab1) = yes then</font></p>

    <font size="2">       copy A2(tab1) to A1(tab2)</font></p>

    <font size="2">Else</font></p>

    <font size="2">       nothing</font> </p>

    <font size="2"></font></p>

    <font size="2">Anyone know how this would be done?</font></p>

    <font size="2">Cheers,</font></p>
     
  2. Mos

    MossMan Active Member

    Joined:
    Jul 16, 2005
    Messages:
    2,420
    Likes Received:
    1
    Trophy Points:
    38
    Occupation:
    Academicie Sort
    Location:
    Leeds
    Home Page:
    Style:
    Barnsley (full width)
    Sounds like a circular reference problem

    Yopu are using A1 twice - is this correct?</p>

    Or am I talking ******.</p>
     
  3. Gue

    Guest Guest

    RE: Sounds like a circular reference problem

    <font size="2">I got the circular reference error but no idea what the hell it means. I am using A1 twice but they are on different tabs or worksheets as Excel calls them. Basically need to know if there is a 'copy' feature within Excel. I.e. copy a1(worksheet1) to a1(worksheet2).</font></p>

    <font size="2">Think i'm talking ****** now, I need a drink!</font></p>
     
  4. Mos

    MossMan Active Member

    Joined:
    Jul 16, 2005
    Messages:
    2,420
    Likes Received:
    1
    Trophy Points:
    38
    Occupation:
    Academicie Sort
    Location:
    Leeds
    Home Page:
    Style:
    Barnsley (full width)
    If it helps

    There is a way to do it, but my Sams guide to Excel is currently in a packing crate - have you tried the microsoft excel support site from microsoft.com?</p>
     
  5. nezbfc

    nezbfc Well-Known Member

    Joined:
    Sep 13, 2005
    Messages:
    11,071
    Likes Received:
    6,813
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    something along the lines of this....

    =IF(Sheet1!A1="YES","=Sheet1!A2"," ")

    To test this out, open an excel sheet, in

    A1 (Sheet1) put - YES
    A2 (Sheet1) put - 50
    A1 (Sheet2) put - the above formula...

    It displays nothing if A1 is anything other than "YES", but for some reason, displays the formula rather than 50 if it does say yes.

    So nearly their!!!!

    I'll keep trying
     
  6. Gue

    Guest Guest

    revised formula

    the above formula has too many ""

    it should be
    =IF(Sheet1!A1="YES",Sheet1!A2,"")

    This will make the cell on sheet 2 always update to the reference on sheet 1 A2. Is this what you want i.e. a dynamic reference that changes whenever the source cell changes.
     
  7. Wak

    Wakeytyke New Member

    Joined:
    Jul 21, 2005
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    0
    HERE YOU GO

    In tab 2 A1 TYPE:</p>

    IF(A1(TAB1)=&quot;YES&quot;,A2(TAB1),&quot;&quot;)</p>
     
  8. nezbfc

    nezbfc Well-Known Member

    Joined:
    Sep 13, 2005
    Messages:
    11,071
    Likes Received:
    6,813
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    RE: revised formula

    well done lad....

    I knew what was wrong, I used the formual wizzard, and it kept putting in the extra "",

    so, I was 90% right,

    but never thought of just amedning it without using the wizzard DOH!!!

    anyway, got their in the end
     

Share This Page