+ Reply to Thread
Results 1 to 3 of 3

copy formula referencing sheet name to another sheet

  1. #1
    Dave Peterson
    Guest

    Re: copy formula referencing sheet name to another sheet

    If this formula is on 'pt template' to begin with, you can remove the reference
    to the worksheet.

    =IF('PT TEMPLATE'!A12<>"",BE12,"0.00")
    should be
    =IF(A12<>"",BE12,"0.00")

    Then when you copy the formula, it'll use the sheet that it's pasted to.

    If the formula isn't on 'pt template', then excel sees that you're refering to a
    different sheet and assumes you want to continue to use that sheet--I'm not sure
    how it would ever guess to use the sheet that you just pasted to.

    ===
    PS. I'd drop the quotes around "0.00".
    =IF(A12<>"",BE12,0)
    And just format the cell to show two decimal places.




    Tat wrote:
    >
    > When I copy the formula below to several worksheets it copies the old sheet
    > name into the new sheets. I would like it to reference the sheet name that
    > the formula is copied into. Is this possible?
    >
    > =IF('PT TEMPLATE'!A12<>"",BE12,"0.00")
    > If a new sheet name is 'James' I would like the formula to be:
    > =IF('James'!A12<>"",BE12,"0.00")


    --

    Dave Peterson

  2. #2
    Tat
    Guest

    copy formula referencing sheet name to another sheet

    When I copy the formula below to several worksheets it copies the old sheet
    name into the new sheets. I would like it to reference the sheet name that
    the formula is copied into. Is this possible?

    =IF('PT TEMPLATE'!A12<>"",BE12,"0.00")
    If a new sheet name is 'James' I would like the formula to be:
    =IF('James'!A12<>"",BE12,"0.00")

  3. #3
    Dave Peterson
    Guest

    Re: copy formula referencing sheet name to another sheet

    If this formula is on 'pt template' to begin with, you can remove the reference
    to the worksheet.

    =IF('PT TEMPLATE'!A12<>"",BE12,"0.00")
    should be
    =IF(A12<>"",BE12,"0.00")

    Then when you copy the formula, it'll use the sheet that it's pasted to.

    If the formula isn't on 'pt template', then excel sees that you're refering to a
    different sheet and assumes you want to continue to use that sheet--I'm not sure
    how it would ever guess to use the sheet that you just pasted to.

    ===
    PS. I'd drop the quotes around "0.00".
    =IF(A12<>"",BE12,0)
    And just format the cell to show two decimal places.




    Tat wrote:
    >
    > When I copy the formula below to several worksheets it copies the old sheet
    > name into the new sheets. I would like it to reference the sheet name that
    > the formula is copied into. Is this possible?
    >
    > =IF('PT TEMPLATE'!A12<>"",BE12,"0.00")
    > If a new sheet name is 'James' I would like the formula to be:
    > =IF('James'!A12<>"",BE12,"0.00")


    --

    Dave Peterson

+ 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