My brain won't work!

adambc

Active Member
Joined
Jan 13, 2020
Messages
373
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I have 2 worksheets, 1 with a list of names, the other with a table of those names (4 to a row) ...

I want to ALWAYS have the first 4 names on the list (WS1) on the first row (WS2), names 5-8 on the second row, etc ...

But I also want to be able to CUT/paste the list of names, but ='LIST OF NAMES'!B19 doesn't let me do that ...

Have tried adding $s, but just can't get it right!!!

Thanks for your help (and patience) ...
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
assuming your list of names starts in 'ListOfNames'!A1 try the following in your table sheet!A1

=OFFSET(ListOfNames!$A$1,(((ROW()-1)*4)-1+COLUMN()),0)
drag across to D1, then drag down do it for a few lines only then try playing with the list of names, sort, cut paste etc to see if you get any reference errors

the ROW and COLUMN functions are used to convert into a sequential number
1,2,3,4
5,6,7,8 etc
 
Upvote 0
@jimward ... apologies for the delayed response - I've had to divert my attention to something else for the past 6 weeks!!!

Many thanks for your OFFSET formula which I have got working ... sort of!

My list of names starts in ListOfNames!$B$19 down to ListOfNames!$B$70 - so I've changed your string to =OFFSET(ListOfNames!$B$19,(((ROW()-1)*4)-1+COLUMN()),0) ...

If I then use that string in TableOfNames!A1 (drag A1 across to D1 and drag A1:D1 down) I get the TableOfNames I want (haven't tried doing any sort/cut/copy/paste my ListOfNames yet) ...

But ... I want the TableOfNames to start in TableOfNames!B16 (to TableOfNames!E28) - and that's where things go awry ...

Do I need another "OFFSET" in there to do that?

Many thanks ...
 
Last edited:
Upvote 0
@jimward ... IGNORE MY PREVIOUS POST

Have changed the string to =OFFSET(INPUTHERE!$B$19,(((ROW()-16)*4)-1+COLUMN()-1),0) and I'm back on track ...

Will now test the sort/cut/copy/paste of ListOfNames ...

Thanks again ...
 
Upvote 0
@jimward ... hhhmmm whilst sort is OK, cut/paste throws up a #REF! - and it's cut/paste I need ...

I think (?) it's because when I cut/paste, the OFFSET formula still doesn't keep the $B$19 reference ...

Any other ideas?

Thanks ...
 
Upvote 0

Forum statistics

Threads
1,215,297
Messages
6,124,113
Members
449,142
Latest member
championbowler

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top