+ Reply to Thread
Results 1 to 7 of 7

I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

  1. #1
    Registered User
    Join Date
    03-16-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    28

    I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Please see attached sample.

    Note: Column A and B will be going down to 2000 rows, and so formula in Col D will need to go down to 4000+ with a simple copy and paste down.

    This does not seem to work:

    =LET(a,SUM(IF(MOD(ROWS(E$2:E2),5)={0,3},2,1))-1,INDEX(($A$2:$A$7,$B$2:$B$5),+SUM(IF(a=1,COUNTIF(E$1:E1,$A$2:$A$7),COUNTIF(E$1:E1,$B$2:$B$5))),,a))
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,883

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note, this ignores blanks. It is assumed there will be no blank entries or the list will possibly not reflect your needs.
    Last edited by TMS; 05-09-2024 at 09:16 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-16-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    28

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Quote Originally Posted by TMS View Post
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I get the #SPILL! error.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,883

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Clear anything below the cell where you want to put the formula.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,883

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    See sample file updated.
    Attached Files Attached Files

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,883

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Is this resolved now?


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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,883

    Re: I need to alternate content in Column A2, A3 etc with those in B2, B3, etc

    Thanks for the rep.

+ 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. [SOLVED] Change content of one column dependant on the content of another
    By CDandVinyl in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-23-2020, 02:38 PM
  2. [SOLVED] Increase a column's content value when other column's content reach certain value?
    By naveron in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2020, 05:34 PM
  3. Replies: 8
    Last Post: 06-19-2016, 06:27 PM
  4. Sum alternate column value
    By reeNce in forum Excel General
    Replies: 4
    Last Post: 01-29-2016, 10:25 AM
  5. How to delete all content in a row based on a column's content
    By mccalljohn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2011, 12:05 AM
  6. Column lines:Can I highlight/darken alternate column
    By tarmon in forum Excel General
    Replies: 2
    Last Post: 03-09-2011, 11:17 AM
  7. [SOLVED] Can I add a description column or alternate column in a validation
    By Spongebob in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2005, 02:06 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