+ Reply to Thread
Results 1 to 6 of 6

Need help with a drag down

Hybrid View

Applebus Need help with a drag down 06-18-2017, 06:41 PM
FlameRetired Re: Need help with a drag down 06-18-2017, 07:57 PM
Applebus Re: Need help with a drag down 06-19-2017, 01:58 PM
FlameRetired Re: Need help with a drag down 06-19-2017, 02:36 PM
Applebus Re: Need help with a drag down 06-19-2017, 03:20 PM
FlameRetired Re: Need help with a drag down 06-19-2017, 04:28 PM
  1. #1
    Registered User
    Join Date
    06-18-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Question Need help with a drag down

    Hi, I have a problem with a drag down as shown in the picture. (I removed "=" to make it easy for everyone to see my problem)

    excel question.JPG

    As you can see, I have a pattern to drag down the data and the only things changed are the red text.
    However, when i tried to drag down, it did not work as it's supposed to be. (I did not drag down and get the 2nd set of data, I wrote it to explain the pattern)
    I googled the solution but I could not find it.

    Could you help me solve this problem
    Thank you in advance.
    Attached Files Attached Files
    Last edited by Applebus; 06-19-2017 at 02:02 PM. Reason: Add the excel file

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Need help with a drag down

    Applebus welcome to the forum.

    It would appear that some nested INDEX/CEILING/MOD kind of formula would do the job. Without a representative sample file upload (an Excel file) I can't say for sure. Uploading saves everyone from a having to retype all your data and we can see results of our formulas in context. You will also get more and faster response if you do so.

    To attach a file to your post,
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.
    Dave

  3. #3
    Registered User
    Join Date
    06-18-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Need help with a drag down

    Hello Flameretired, sorry for late reply.

    I have already uploaded my file in order to get my problem.
    I also removed unused data.

    Now I tried to study what is "index, ceiling, and mod"

    Thank you for your help.
    Attached Files Attached Files

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Need help with a drag down

    Merged cells (column A) often cause havoc with formulas. Generally they should be avoided. Although this one is not so bad.

    In the attached there are two solutions. One (column F) uses a helper column (column E) to manage the merged cells. The other (column G) does not.

    In column E.
    Formula: copy to clipboard
    =IF(A2="",E1,A2)
    In column F.
    Formula: copy to clipboard
    =--(INDEX('Form Responses 1'!$A$2:$H$70,CEILING(ROWS($2:2)/16,1),E2)=
    CHOOSE(MOD(ROWS($2:2)-1,2)+1,"1st","2nd")&" Service")
    In column G.
    Formula: copy to clipboard
    =--(INDEX('Form Responses 1'!$A$2:$H$70,CEILING(ROWS($2:2)/16,1),LOOKUP(1E+306,$A$2:A2))=
    CHOOSE(MOD(ROWS($2:2)-1,2)+1,"1st","2nd")&" Service")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-18-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Need help with a drag down

    Thank you very much, Flameretired, you are really helpful.

    However, I need to learn how all of these functions work to solve the problem in the future.

    Again, Thank you very much.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Need help with a drag down

    You are welcome. Thank you for the feedback.

    However, I need to learn how all of these functions work to solve the problem in the future.
    Music to our ears. Then come back post some solutions. Have fun while learning.

+ 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: 2
    Last Post: 04-07-2015, 04:01 PM
  2. I need a way around the drag..
    By rufus ruffcut in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-30-2014, 04:09 PM
  3. How to use VBA to drag down ?
    By vumian in forum Excel General
    Replies: 8
    Last Post: 07-22-2006, 06:05 PM
  4. cannot drag to server
    By giterdun in forum Excel General
    Replies: 0
    Last Post: 11-13-2005, 09:40 PM
  5. [SOLVED] How do i drag formulas down
    By derwood in forum Excel General
    Replies: 2
    Last Post: 11-04-2005, 10:50 PM
  6. [SOLVED] drag.....
    By Ankur in forum Excel General
    Replies: 2
    Last Post: 08-23-2005, 12:05 AM

Tags for this Thread

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