+ Reply to Thread
Results 1 to 4 of 4

how do i...

  1. #1
    Registered User
    Join Date
    07-11-2006
    Posts
    17

    how do i...

    I have 10 columns: A1:J1

    I would like to deposit a value (actually, a formula) every "X" interval. So if I specify "2", I would like to deposit this value every "2" columns in the array A1:J1. If I enter "3", every 3 columns, etc.

    Would appreciate any help...


    Thanks!

  2. #2
    Ragdyer
    Guest

    Re: how do i...

    Say that you enter a value *or* a formula in A11.
    This will be the *value displayed* in the A1 to J1 array.

    Say you enter a formula *or* a value in A10.
    This will be the *interval* to repeat the value from A11 into the A1:J1
    array.

    Now, enter this formula in A1 and copy across to J1, *or further* if
    necessary:

    =(MOD(COLUMN(),$A$11)=0)*$A$10


    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "LSB M" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have 10 columns: A1:J1
    >
    > I would like to deposit a value (actually, a formula) every "X"
    > interval. So if I specify "2", I would like to deposit this value
    > every "2" columns in the array A1:J1. If I enter "3", every 3 columns,
    > etc.
    >
    > Would appreciate any help...
    >
    >
    > Thanks!
    >
    >
    > --
    > LSB M
    > ------------------------------------------------------------------------
    > LSB M's Profile:
    > http://www.excelforum.com/member.php...o&userid=36258
    > View this thread: http://www.excelforum.com/showthread...hreadid=563534
    >



  3. #3
    Registered User
    Join Date
    07-11-2006
    Posts
    17

    Smile

    RD, I didn't know that there's a modulo function in excel. Cool!

    Thanks so much for your help, really appreciate it.

  4. #4
    Ragdyer
    Guest

    Re: how do i...

    You're welcome, and thank you for the feed-back.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "LSB M" <[email protected]> wrote in
    message news:[email protected]...
    >
    > RD, I didn't know that there's a modulo function in excel. Cool!
    >
    > Thanks so much for your help, really appreciate it.
    >
    >
    > --
    > LSB M
    > ------------------------------------------------------------------------
    > LSB M's Profile:
    > http://www.excelforum.com/member.php...o&userid=36258
    > View this thread: http://www.excelforum.com/showthread...hreadid=563534
    >



+ 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