+ Reply to Thread
Results 1 to 13 of 13

Referencing cells from other sheets

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Referencing cells from other sheets

    Hi,
    I have just moved several hundred formulas from one sheet to another. However upon moving them, the formulas have not changed and are hence not working. The only way, I can think of, to fix this is to add sheet1! to each reference in every formula, like:
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    however due to the amount of formulas i need to change it will take ages to do this. I was just wondering if there was some way to change all of them quickly, or some shortcut that i could use.

    Thanks

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Referencing cells from other sheets

    Hey George,

    Let's back up a minute... Why did you move all your stuff to a second page in the first place. Maybe there is a better way to accomplish your goal. Can you supply a sample workbook to show what you have/had and what you want to accomplish?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Referencing cells from other sheets

    Hi, Thanks for your response. The reason for me moving the formulas to another page is because i want the first page to be the entry of data and the second to be a summary. I have made a test spreadsheet so you can easily see the problem. However the actual spreadsheet uses hundreds of different cells for entry, and does the calculation at the bottom of the page... so it was a necessity to put the summary on a second page. Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Referencing cells from other sheets

    Maybe you can add the expected result on the summary sheet manualy.

    As far as I can see both sheets are identical.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Referencing cells from other sheets

    In the test sheet, it is the profit column that is affected. My actual sheet uses allot more complex formulas, so manually editing isn't really an option

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Referencing cells from other sheets

    show it in your file for helping the forummembers to solve your problem.

  7. #7
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Referencing cells from other sheets

    it is shown in the test file, just on a smaller scale. I just was wondering if there was a quick way to change the absolute cell references so that they absolutely cell reference the corresponding cells but from the other page. (i.e. add Sheet1! to the beginning)

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Referencing cells from other sheets

    Probably that could be done. See the reply in #2 of MarvinP. Why all data duplicating in sheet 2.

    Make the analyses in sheet 1, e.g. with a pivot table.

  9. #9
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Referencing cells from other sheets

    I have duplicated all data because the page i am using is a quote page where a user will input data, and i need a summary page of all totals separately.

    Is there any code that i could use to make a macro, with a shortcut key, which would physically type "Sheet1!" every time i press it. It is still a time consuming resolution to the problem but it would at least speed it up. (I'm know nothing of VB syntax)

  10. #10
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Referencing cells from other sheets

    Hey George,

    I think I see what the problem is... On your Entry sheet the formulas refer to $C$9 that is absolute and doesn't move. On the second sheet you copied sheet 1 a row down from sheet1 making $C$9 on the second sheet a blank (or equal to zero).

    Because your copy was one row down, the two sheets are NOT exactly the same and throws your formulas off.

    Does this help? Do you see the problem now?

  11. #11
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Referencing cells from other sheets

    Hi, yes thanks i understand why it was not working. I just was looking for an easy fix without having to go back and change everything. But it's all good now, I have just gone back and changed it manually instead. Thank you all for your help anyway

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Referencing cells from other sheets

    It is just a guess, but according your reply I guess you don't understand it fully.

    F4=E4*($C9/100) and drag down.

    In that case you don't have to change all data manualy.


    The $ holds the criteria thats just after that $-sign.

    $C9 holds column C when you copy it below and changes the row into C10 and after that in C11.

    $C$9 holds Column C and row 9 when you copy it across.

    C$9 changes column C into Column D and after that in column E if you copy that to the right. It leaves the rownummer the same (9).

    Hope I explained well enough.

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Referencing cells from other sheets

    Thanks for marking the question solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 08-08-2014, 04:19 PM
  2. HELP - Referencing cells from different sheets using fixed increment
    By faisy110 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-04-2014, 07:14 PM
  3. Complex Lookup or IF Formula referencing multiple cells and sheets
    By CKD777 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-24-2011, 04:43 AM
  4. Maintain Formatting when referencing cells from other sheets
    By joninmal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2010, 05:10 AM
  5. Replies: 13
    Last Post: 08-03-2009, 12:20 PM
  6. [SOLVED] formula referencing same cells but different sheets
    By jmosso in forum Excel General
    Replies: 2
    Last Post: 02-21-2008, 02:40 PM
  7. Referencing cells on non-active sheets
    By KellyB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-14-2005, 03:06 PM

Tags for this Thread

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