+ Reply to Thread
Results 1 to 36 of 36

INDIRECT function - need help

Hybrid View

  1. #1
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: INDIRECT function - need help

    Quote Originally Posted by dansparts View Post
    @bebo

    Using that formula, copied all the way down Column C, give me the value from A4 into C3, but then the value from A5 into C4, value from A6 into C5, etc.

    I need value from A18 in C4, not value from A5.
    Opp, sorry for my mistake. I forgot to time it to 14:

    =OFFSET($A$4,MOD(ROW(1:1)-1,14)*14,)

    Or simple like this:
    =OFFSET($A$4,(ROW(1:1)-1)*14,)
    Quang PT

  2. #2
    Registered User
    Join Date
    12-07-2017
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    24

    Re: INDIRECT function - need help

    @bebo

    That worked.

    I need to understand how/why this works, since I will need to be adapting this formula to several other worksheets, with different amounts of rows & columns of the pasted text.

    What is the difference of the MOD in the formula or not?

    I see that the (1:1) changes as it is pasted down the column to (2:2), (3:3), etc. And the -1) part?

    I assume the *14 will need to be changed to whatever spacing of rows apart the data repeats on.

    Why use this OFFSET function, instead of INDIRECT?

    Also, is not OFFSET for a static range? The text data I will be pasting in will vary in length almost always. In other words, sometimes I paste information from 3 records, sometimes from 25 records, sometime from 150 records. Will that affect things?

    Sorry for questions that might seem elementary, but while I use Excel all the time, I'm not at all well-versed in complicated formulas like this. Most of my "expertise" (cough, cough) is simple things like =SUM.
    Last edited by dansparts; 12-07-2017 at 10:46 PM.

+ 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. Is INDIRECT function volatile within an IF function?
    By Monimonika in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2017, 12:53 PM
  2. [SOLVED] INDIRECT Function with multiple sheets - SUMIF, INDIRECT & MATCH
    By DJDRU in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2014, 08:42 AM
  3. Using Indirect function inside the Search function
    By skhari in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2014, 05:32 PM
  4. [SOLVED] Combining Text Function with Indirect Function
    By ninmjj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2013, 10:34 AM
  5. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  6. [SOLVED] Using ROW function inside of both an Indirect and Index function returns #VALUE
    By xandermacleod in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-11-2012, 06:22 PM
  7. MATCH function within INDIRECT function not working
    By mgerada in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 08:37 AM

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