+ Reply to Thread
Results 1 to 8 of 8

Calculate data from a different hidden sheet

  1. #1
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Calculate data from a different hidden sheet

    Hello,

    I have this code that calculates the value in column F according to what you type on column D divided by the value column K and vice versa ( you type on column F and a value comes up on D)

    Column K is needed for those calculations.
    What i want to do is move column K to a hidden sheet2. ( i dont want the values on column K to be visible)

    Here is the code below:
    Please Login or Register  to view this content.

    "Target.Offset(, 7)" and "Target.Offset(, 5)" is column K as you can see. If i move this column to sheet2 and hide the sheet is there a way to make this code still work?

    Thanks
    Last edited by tsioumiou; 01-20-2011 at 02:14 PM.

  2. #2
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Calculate data from a different hidden sheet

    Any help with this guys?
    Any ideas?

    Thanks

  3. #3
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Calculate data from a different hidden sheet

    should i close this thread? it seems what i ask is not possible ?

    Thanks

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Calculate data from a different hidden sheet

    If they're still in column K perhaps replace with:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Calculate data from a different hidden sheet

    Thanks for the reply StephenR

    Although it doesnt work.

    I moved the K column to sheet2 and when i type on Column D nothing happens (nothing shows on column F)
    Strangly whatever i type on column F it gives 0 on D.
    Something is wrong here. Probably a detail.


    Please Login or Register  to view this content.
    Last edited by tsioumiou; 01-20-2011 at 01:33 PM.

  6. #6
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Calculate data from a different hidden sheet

    My mistake it work for column D!!!
    Brings the right results on F.

    But when i type on F it always brings 0 on D.

    Something wrong with the below maybe?

    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Calculate data from a different hidden sheet

    You've lost the reference to sheet2. EDIT - apologies, my mistake:
    Please Login or Register  to view this content.
    Last edited by StephenR; 01-20-2011 at 02:03 PM.

  8. #8
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Re: Calculate data from a different hidden sheet

    Worked perfectly

    Thank you very much.

+ 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