+ Reply to Thread
Results 1 to 16 of 16

Creating Forms, but jumping data?

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Creating Forms, but jumping data?

    Hello everyone,

    First time posting here, but I came to you because of a project I'm currently working on.

    I have a bunch of fields ranging from name, address, payments, check-out date, etc. on a single "form" that I created on an excel sheet.

    In the boxes adjacent to these fields, I've inputted formulas to pull data from a different sheet within the same workbook.
    (for example, =IF(List!Y2=0,"No",IF(List!Y2=1,"Yes",IF(List!Y2=2,"Unconfirmed")))

    My current problem though is that when I select the entirety of this form, and drag down the bottom right corner, it skips a bunch of rows.
    For example, I'd expect the {=IF(List!Y2=0,"No",IF(List!Y2=1,"Yes",IF(List!Y2=2,"Unconfirmed")))} section to become {=IF(List!Y3=0,"No",IF(List!Y3=1,"Yes",IF(List!Y3=2,"Unconfirmed")))}
    but instead it jumps to {=IF(List!Y49=0,"No",IF(List!Y49=1,"Yes",IF(List!Y49=2,"Unconfirmed")))}

    For the record my "form" is 47 rows long, so I'm guessing it has to be somehow connected.
    Is there any way I can drag the same "form" down and continue pulling data row by row?
    Thank you very much for all your help!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating Forms, but jumping data?

    When dragging down you might be having hidden rows between this formula

    =IF(List!Y2=0,"No",IF(List!Y2=1,"Yes",IF(List!Y2=2,"Unconfirmed")))

    to this

    =IF(List!Y49=0,"No",IF(List!Y49=1,"Yes",IF(List!Y49=2,"Unconfirmed")))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Quote Originally Posted by :) Sixthsense :) View Post
    When dragging down you might be having hidden rows between this formula

    =IF(List!Y2=0,"No",IF(List!Y2=1,"Yes",IF(List!Y2=2,"Unconfirmed")))

    to this

    =IF(List!Y49=0,"No",IF(List!Y49=1,"Yes",IF(List!Y49=2,"Unconfirmed")))
    Unfortunately, that isn't the case.
    None of my rows are hidden.
    I have multiple rows that pull data from the other worksheet, starting at row 3 to row 47.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating Forms, but jumping data?

    If possible please attach a sample workbook for better understanding

  5. #5
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Sorry for the delayed response, I just had to erase some information before anything else.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    What I'm essentially trying to do is select A1 to I47 on sheet1 and pull down using the bold cross that appears at the bottom right.
    If you try to do it though all the values switch from "List!H2" to "List!H49" instead of "List!H3" (of course the H is just an example cell value)

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating Forms, but jumping data?

    Thanks for the file but please provide some details in which sheet the formula is present and the range reference for easy identification.

  8. #8
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Haha, I think I just did that right before you posted ^^

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating Forms, but jumping data?

    select A1 to I47 on sheet1 and pull down using the bold cross that appears at the bottom right
    Sorry to say that still I am unable to understand your requirement

  10. #10
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Quote Originally Posted by :) Sixthsense :) View Post
    Sorry to say that still I am unable to understand your requirement
    In sheet 1, select A1 to I47. Then using the "autofill" function by dragging I should be able to replicated the form underneath starting at A48.
    When I do, all the fields are replicated perfectly except for the cells that require information from the Sheet titled List.

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating Forms, but jumping data?

    1) Put this reference formula in A1: =CEILING(ROW()/47, 1)+1

    2) Now change over to and INDEX() formula to pull values from the other sheet. For instance here are some sample formulas, you can add the missing using these techniques

    B3: =INDEX(List!H:H, A1)
    C3: =INDEX(List!I:I, A1)
    G3: =IF(INDEX(List!J:J, A1)=0, "x", INDEX(List!J:J, A1))
    C7: =INDEX(List!V:V, A1)

    E17: =CHOOSE(INDEX(List!Y:Y,A1)+1, "No", "Yes", "Unconfirmed")
    E19: =CHOOSE(INDEX(List!Z:Z,A1)+1, "No", "Yes", "Unconfirmed")

    B26: =IF(INDEX(List!CO:CO, A1) ="N", "x", INDEX(List!CO:CO, A1))
    E26: =IF(INDEX(List!CP:CP, A1)="N", "x", INDEX(List!CP:CP, A1))
    B28: =IF(INDEX(List!CQ:CQ, A1)="N", "x", INDEX(List!CQ:CQ, A1))

    B30: =IF(INDEX(List!BL:BL, A1)=300, "Yes", "No")

    D33: =SUBSTITUTE(SUBSTITUTE(INDEX(List!BJ:BJ, A1), "N", "No"), "Y", "Yes")
    D39: =LOOKUP(INDEX(List!AY:AY, A1), {"Blank","N","Yes"}, {"x","No","Yes"})


    3) Now you can copy A1:I47 and paste below as many times as you wish, each new section will use the next row from the LIST.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  12. #12
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Quote Originally Posted by JBeaucaire View Post
    1) Put this reference formula in A1: =CEILING(ROW()/47, 1)+1

    2) Now change over to and INDEX() formula to pull values from the other sheet. For instance here are some sample formulas, you can add the missing using these techniques

    B3: =INDEX(List!H:H, A1)
    C3: =INDEX(List!I:I, A1)
    G3: =IF(INDEX(List!J:J, A1)=0, "x", INDEX(List!J:J, A1))
    C7: =INDEX(List!V:V, A1)

    E17: =CHOOSE(INDEX(List!Y:Y,A1)+1, "No", "Yes", "Unconfirmed")
    E19: =CHOOSE(INDEX(List!Z:Z,A1)+1, "No", "Yes", "Unconfirmed")

    B26: =IF(INDEX(List!CO:CO, A1) ="N", "x", INDEX(List!CO:CO, A1))
    E26: =IF(INDEX(List!CP:CP, A1)="N", "x", INDEX(List!CP:CP, A1))
    B28: =IF(INDEX(List!CQ:CQ, A1)="N", "x", INDEX(List!CQ:CQ, A1))

    B30: =IF(INDEX(List!BL:BL, A1)=300, "Yes", "No")

    D33: =SUBSTITUTE(SUBSTITUTE(INDEX(List!BJ:BJ, A1), "N", "No"), "Y", "Yes")
    D39: =LOOKUP(INDEX(List!AY:AY, A1), {"Blank","N","Yes"}, {"x","No","Yes"})


    3) Now you can copy A1:I47 and paste below as many times as you wish, each new section will use the next row from the LIST.
    You are a savior.
    But before you leave me, haha I'd really appreciate a bit more explanation?
    For step one, which sheet am I supposed to add the formula to? and more importantly, what exactly is it doing/how will it effect anything?

  13. #13
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Quote Originally Posted by JBeaucaire View Post
    1) Put this reference formula in A1: =CEILING(ROW()/47, 1)+1

    2) Now change over to and INDEX() formula to pull values from the other sheet. For instance here are some sample formulas, you can add the missing using these techniques

    B3: =INDEX(List!H:H, A1)
    C3: =INDEX(List!I:I, A1)
    G3: =IF(INDEX(List!J:J, A1)=0, "x", INDEX(List!J:J, A1))
    C7: =INDEX(List!V:V, A1)

    E17: =CHOOSE(INDEX(List!Y:Y,A1)+1, "No", "Yes", "Unconfirmed")
    E19: =CHOOSE(INDEX(List!Z:Z,A1)+1, "No", "Yes", "Unconfirmed")

    B26: =IF(INDEX(List!CO:CO, A1) ="N", "x", INDEX(List!CO:CO, A1))
    E26: =IF(INDEX(List!CP:CP, A1)="N", "x", INDEX(List!CP:CP, A1))
    B28: =IF(INDEX(List!CQ:CQ, A1)="N", "x", INDEX(List!CQ:CQ, A1))

    B30: =IF(INDEX(List!BL:BL, A1)=300, "Yes", "No")

    D33: =SUBSTITUTE(SUBSTITUTE(INDEX(List!BJ:BJ, A1), "N", "No"), "Y", "Yes")
    D39: =LOOKUP(INDEX(List!AY:AY, A1), {"Blank","N","Yes"}, {"x","No","Yes"})


    3) Now you can copy A1:I47 and paste below as many times as you wish, each new section will use the next row from the LIST.
    Never mind, I understand now.
    Once again Thank you.
    You are amazing.

  14. #14
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating Forms, but jumping data?

    Once you get into the habit of using INDEX() formulas, you'll never go back. The power and flexibility of INDEX() to look up values in 1 and 2 dimensions is very useful.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Thanks.

  15. #15
    Registered User
    Join Date
    06-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    13

    Re: Creating Forms, but jumping data?

    Quote Originally Posted by JBeaucaire View Post
    Once you get into the habit of using INDEX() formulas, you'll never go back. The power and flexibility of INDEX() to look up values in 1 and 2 dimensions is very useful.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Thanks.
    Got it!
    Thank you!

  16. #16
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating Forms, but jumping data?

    Last tip. Please use the REPLY button and not the REPLY WITH QUOTE, no reason we should have to read again what we just said.

    Use the REPLY WITH QUOTE to copy a quote down when you wish to discuss something specific in further detail. Edit that quote down to just what you want to detail. Thanks.

+ 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