+ Reply to Thread
Results 1 to 10 of 10

Skipping cell

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Skipping cell

    I am working with two worksheets; 'Data Entry' and 'Hrs Worked'

    'Hrs Worked'
    Cell CG12 is blank and CH12 has a value, CI12 is blank and CJ12 has a value, and so on. Basically every other cell has a value.


    'Data Entry'
    I want cell AU24 to hold the CH12 value, AV24 to hold CJ12 value and so on. Basically, how do I write the formula to skip the blank cell on the other worksheet and bring in the next value?

    I know I can just manually write each formula to each correct cell, but I would like to use this formula over and over again, and not have to write each one manually.

    Any ideas?

    Thanks
    Last edited by jjbigfish; 01-06-2015 at 02:09 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Skipping cell

    Try

    =INDEX(12:12,(COLUMNS($A:A)-1)*2+86)

    Don't change the $A:A reference, it's not related to your data.

    12:12 is the row to return a value from.
    *2 is the interval (every 2 columns).
    +86 is the column to start with (Column CH is the 86th column)

  3. #3
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Skipping cell

    It returns 0 values, no values.

  4. #4
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Skipping cell

    Remember, the values on are the other worksheet.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Skipping cell

    Add the sheet reference to the 12:12 range reference..

    =INDEX('Hrs Worked'!12:12,(COLUMNS($A:A)-1)*2+86)

  6. #6
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Skipping cell

    It works for the first cell and fails for the rest, I think it might be the +86, the formula is continuously using this value, shouldn't it increment to the next column value?

  7. #7
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Skipping cell

    It looks to be the Columns($A:A), it goes to Columns($A:B) and so on when I drag the fomula

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Skipping cell

    It's working fine for me.

    Quote Originally Posted by jjbigfish View Post
    'Hrs Worked'
    Cell CG12 is blank and CH12 has a value, CI12 is blank and CJ12 has a value, and so on. Basically every other cell has a value.


    'Data Entry'
    I want cell AU24 to hold the CH12 value, AV24 to hold CJ12 value and so on. Basically, how do I write the formula to skip the blank cell on the other worksheet and bring in the next value?
    Here's a book doing exactly what you described..

    EFjjbigfish.xlsx

  9. #9
    Registered User
    Join Date
    02-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Skipping cell

    I got it, it was me, I added more () where I shouldn't have.

    Thank you very much for dealing with me.

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Skipping cell

    You're welcome.

+ 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: 1
    Last Post: 05-21-2014, 04:30 PM
  2. [SOLVED] Drag a formula that references a cell from another Sheet (Skipping a cell incrementing 1)
    By DixieDiver in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-05-2013, 06:25 PM
  3. Skipping a cell help
    By Calidin in forum Excel General
    Replies: 3
    Last Post: 11-21-2012, 02:12 PM
  4. skipping every second cell
    By DDOUBLEU in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2005, 11:00 AM
  5. Replies: 0
    Last Post: 04-20-2005, 12:06 PM

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