+ Reply to Thread
Results 1 to 7 of 7

Formula Help (display every 18th value on a new column)

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    NYC, US
    MS-Off Ver
    Excel 2010
    Posts
    19

    Formula Help (display every 18th value on a new column)

    I have a table with a column called Item Count that contains many values. I need to display every 18th value; i.e., I need to display F2, F20, F39, etc. on a new column under column K. How do I do this?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula Help (display every 18th value on a new column)

    Try:

    =INDEX(F:F,18*(ROWS($A$1:A1)-1)+2)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula Help (display every 18th value on a new column)

    Hi juliorevka,

    Use following formula to pick up 18 value in column K from column F:-

    Please Login or Register  to view this content.
    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    NYC, US
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Formula Help (display every 18th value on a new column)

    Never mind I figured it out... Thanks!

    If I enter new values into the Fth row, how do I make it automatically enter every 18th value into the Kth row?
    Last edited by juliorevka; 02-14-2012 at 02:58 PM.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula Help (display every 18th value on a new column)

    Just put the formula in one cell, then copy the formula down, by clicking and dragging the little black square at bottom right corner of the cell.

  6. #6
    Registered User
    Join Date
    02-06-2012
    Location
    NYC, US
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Formula Help (display every 18th value on a new column)

    Can someone explain either the formula
    "=OFFSET($F$1,18*ROW(F1)-18+1,0)"
    or
    "=INDEX(F:F,18*(ROWS($A$1:A1)-1)+2)"

    to me, so I can apply it to different scenarios?
    Last edited by juliorevka; 02-14-2012 at 03:22 PM.

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula Help (display every 18th value on a new column)

    Hi juliorevka,

    Below is the explanation of the formula which I have suggested: "=OFFSET($F$1,18*ROW(F1)-18+1,0)"

    It is offsetting (moving) F1, to "18*ROW(F1)-18+1" every time you drag the formula down and picking up the respective value from Column F1. Below is the explanation of this movement:-

    1st drag:-

    18*ROW(F1)-18+1
    18*1-18+1
    18-18+1
    0+1
    1

    2nd drag:-

    18*ROW(F2)-18+1
    18*2-18+1
    36-18+1
    18+1
    19

    3rd drag:-

    18*ROW(F3)-18+1
    18*3-18+1
    54-18+1
    36+1
    37

    --
    --
    --
    and so on...

    so final results are 1, 19, 37 and each has a gap of 18

    I hope this clears your confusion on this formula.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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