+ Reply to Thread
Results 1 to 4 of 4

copy values from columns to rows while skipping empty columns...

  1. #1
    Registered User
    Join Date
    01-08-2016
    Location
    Cyprus
    MS-Off Ver
    MS Office 2010
    Posts
    2

    copy values from columns to rows while skipping empty columns...

    forum_sample.xlsxtable.png

    Hello! I have a problem in excel that I do not know how to solve.

    I have a sheet "data" with values in columns like in the image. In between the columns there are gaps or other data that I do not want to draw from.

    I have another sheet "calculation" in which I draw from the "data" sheet and do some calculations, calculate some indicators.
    The way I do this, is as if I am transposing the data.

    For example, in the "calculation" sheet, each row will take values from one specific column and do the calculations.

    My problem is the following:

    Because I have many columns in the "data" sheet and many "rows" in the "calculation" sheet, what I want to do is prepare one row and fill-down the formulas and calculations.

    However, when I do this I need to skip the empty columns in the "data" sheet. So if a row takes from column A, then I want the next row to take from column B and and ignore the copy in between. I tried preparing 2 to 3 rows of data like this and fill them down but it doesn't work like this. I have formulas like in the 2nd picture and I want to be able to fill down the sheet.

    RESULT.png

    I hope someone knows a quick work-around on this. Can I do this without using VBAs? I am not experienced in VBA.

    Thank you,

    Eric
    Last edited by EricCy; 01-10-2016 at 06:00 AM.

  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
    43,984

    Re: copy values from columns to rows while skipping empty columns...

    Please attach a sample Excel sheet, and not a picture of one. Few people will want to have to retype your data for you. Also, some members cannot see images on their PCs, depending on the browser being used..
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-08-2016
    Location
    Cyprus
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: copy values from columns to rows while skipping empty columns...

    Thank you Glenn I just did.

  4. #4
    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
    43,984

    Re: copy values from columns to rows while skipping empty columns...

    Mmm. I had been hoping that you would also have put in some indication of what you were expecting to see as a result. You didn't; so this is a bit of a blind guess!!!

    In B18 (or wherever you want), copy across & down:

    =OFFSET($B$2,COLUMNS($A:A)-1,2*(ROWS($1:1)-1),,)
    Attached Files Attached Files

+ 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: 1
    Last Post: 02-11-2015, 07:47 AM
  2. Transposing columns to rows (while skipping rows)
    By mctighe in forum Excel General
    Replies: 0
    Last Post: 02-09-2015, 03:19 PM
  3. Delete Empty Rows and empty columns from the word table
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:51 AM
  4. Transposing rows to columns while skipping a cell
    By jocelyn.gillespie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-06-2014, 08:12 PM
  5. Need help with a macro to copy rows into two columns, ignoring empty cells.
    By ukeleleperson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2014, 04:51 AM
  6. Replies: 2
    Last Post: 11-09-2010, 10:27 AM
  7. [SOLVED] Skipping Columns/Rows
    By Lilbit in forum Excel General
    Replies: 2
    Last Post: 09-28-2005, 03:05 PM

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