+ Reply to Thread
Results 1 to 17 of 17

Need to cut few rows and need it in column

  1. #1
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Need to cut few rows and need it in column

    In The attachment, i need to cut the highlighted rows and need it in column

    EX:A1 and A7 as A1 and B1
    A11 and A18 as A2 and B2
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    No. Your explanation doies not make any sense (at least, not to me!!). More detail is needed. What do you expect to see? Where does it come from? Where do you expect to see it?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    Hello Glenn, You can see highlighted rows in the attached Excel. I need those highlighted rows in another sheet but in format which i asked

    EX:
    A1 and A7 as A1 and B1
    A11 and A18 as A2 and B2

  4. #4
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    I have attached one excel sheet. We can see current output and expected output. I have manually edited to get the "expected output". I need some script to get the "Expected output"
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    To be clear. Your starting point is "Current Output". Yes or No??

    Your desired solution is "Expected output. Yes or No?

    What does sheet 3 have to do with it?

  6. #6
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    Yes..you are correct. Just leave sheet 3..nothing to do with the sheet3..

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    In A2, copied across and down:

    =IFERROR(INDEX(Raw!B:B,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(A$2:A2))),"")
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    For Column "B" , =IFERROR(INDEX(Raw!C:C,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(B$2:B2))),"")
    Column "C" , =IFERROR(INDEX(Raw!D:D,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(C$2:C2))),"")
    Column "d" , =IFERROR(INDEX(Raw!E:E,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(D$2:D2))),"")
    Column "e" =IFERROR(INDEX(Raw!F:F,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(E$2:E2))),"")

    So like A2, we need to apply the same for all other columns right(B,C,D,E)

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    I do not understand you. On MY sheet, at Post 6, what was incorrect???

  10. #10
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    Everything is right. am just asking about remaining columns(B,C,D and E)

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    If you copy the formula cross and down, as I staed, the column letters will automatically increment to give you the correct result.

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  12. #12
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    please select "Thread Tools" from the menu link above and mark this thread as SOLVED

    I couldn't find thread tools..Please guide me

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    It is just above your first post in this thread

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    Actually, I can mark it as solved, too. But it's probably better that you know how, as well as me.

  15. #15
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    Done, Thank you so much Glenn

  16. #16
    Registered User
    Join Date
    11-19-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    9

    Re: Need to cut few rows and need it in column

    Can you the explain the query which you write for this request?

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,133

    Re: Need to cut few rows and need it in column

    =IFERROR(INDEX(Raw!B:B,AGGREGATE(15,6,ROW(Raw!$B$1:$B$400)/(Raw!$B$1:$B$400<>""),ROWS(A$2:A2))),"")

    Red: For every row where this is true (ie non-blank)
    Orange: return the row number
    Green In order, smallest row number upwards (15) ignoring errors (6)
    Cyan: (a counter) in order lowest row number, 2nd lowest, etc,
    Blue: and return the corresponding value from column B
    Black if the formula returns an error, return a blank instead.

    You're welcome.




    It'd be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Check column for empty rows, delete rows shift cells up?
    By B.W.B. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-06-2017, 12:41 PM
  2. Replies: 2
    Last Post: 02-29-2016, 03:05 PM
  3. Replies: 4
    Last Post: 05-16-2014, 04:52 PM
  4. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  5. Replies: 1
    Last Post: 01-25-2012, 04:29 AM
  6. Replies: 11
    Last Post: 04-25-2011, 06:51 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