+ Reply to Thread
Results 1 to 13 of 13

Cross-referencing formula to leave the cell blank until its ready to be populated.

  1. #1
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Cross-referencing formula to leave the cell blank until its ready to be populated.

    Hi,

    I would like to find a formua for Excel 2003 that involves Cross-Referencing within the sheets of a spreadsheet.

    I have taken information from the 1st sheet and copied it onto the 2nd sheet and would like the formula to cross-reference the data so the same is read in each when the main 1st sheet has a Y in it to say it's completed. I have worked out a simple formula to copy the cell from sheet 1 to sheet 2 (whether its blank or has a Y in it):

    ='sheet1'!H2501

    but this leaves a 0 in the cell for sheet 2 instead of a blank cell as in sheet 1 when the work has not been complete. I wouldnt mind this so much but I am counting the number of Y in each row with a formula further down the page and since sheet 1 has the same formula as sheet 2

    =COUNTIF(B3:B2501,"Y") (H3:H2501,"Y" in sheet 1)

    it has started counting the 0 instead of counting the letter Y, I need blank cells in sheet 2 so I get the same outcome calclations as sheet 1.

    I hope this explains what I need as I am guessing it is abit more involved than

    ='sheet1'!H2501

    Thanking in antcipation!

  2. #2
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Kalgoorlie Australia
    MS-Off Ver
    Excel 2007/10
    Posts
    251

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Please attach a dummy sheet so we can see what you can.
    Regards
    Peter

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    It sounds like you just need to change your simple formula to:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Hi,

    Hope this helps, Im not the best at explaining things im unsure of.

    Kind regards
    Attached Files Attached Files

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    On Sheet 2 in B2 put this formula:

    Please Login or Register  to view this content.
    and copy down to B8

    In Sheet 2 B11 put this formula:

    Please Login or Register  to view this content.

    What is it that you want in Sheet 1 cell I8?
    Last edited by Cutter; 10-19-2010 at 11:04 AM.

  6. #6
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    I just wanted to cross-reference the cells in I8 and B8 to read the same, showing either a Y or a blank cell so that my other formulas can count the blank and Y cells.

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    That's what I was afraid of. You can't have 2 cells refer to each other - that would create a circular reference.

    You could have a third cell watch those two cells and tell you if they are holding equal values but you can't have two cells watch each other.

    But in this case your B cells on Sheet 2 will always equal your I cells on Sheet 1 because that's what the formulas on Sheet 2 are doing.

  8. #8
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Aww no!

    I want sheet 2 to have a formula to mimick the information of data (whether it be a Y or blank) in the Main spreadsheet (sheet 1). But in the sheet 2, it states a zero 0 and not a blank cell, which is what I would like. I think i would only need a formula in sheet 2 as I would be entering all the data in the main sheet 1.

    Thank you so much for helping!

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Your header for Col I suggests that an 'N' might appear as opposed to a 'Y' or a blank. You should probably change the formula for Sheet 1 I13 to:

    Please Login or Register  to view this content.

    also, on Sheet 2 B11 same thinking

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Opps, well noted, I forgot to delete the Y/N in the questions. I did origionally have a formula for "Y", "N" and 'To complete' but thought it would be easier to read the rows if they only had a "Y" or a blank cell, so I deleted the "Not Complete "N" row and left the 'Completed Y' and 'To complete - blank'.

    Is there any way of getting rid of the "0" in sheet 2 cells B2, B4:B8 in my dummy spreadsheet to just leave a blank cell as in sheet 1 relevent column for I?

  11. #11
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    That's what I answered in Post #5 - use:

    Please Login or Register  to view this content.
    Paste that formula in Sheet 2 B2 and copy down to B8

  12. #12
    Registered User
    Join Date
    10-18-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    Thank you so much for all your help Cutter. I will use the formula as in post 9.

    No doubt I will be annoying you in the near future with more queries to solve. Until then, a big THANK YOU!!!!

  13. #13
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Cross-referencing formula to leave the cell blank until its ready to be populated

    And a big YOU'RE WELCOME.

    Glad I could help

    Don't forget to mark your thread as SOLVED

+ 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