+ Reply to Thread
Results 1 to 3 of 3

How to copy one column to another but so no blanks are returned

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    Perth Autralia
    MS-Off Ver
    2010
    Posts
    41

    How to copy one column to another but so no blanks are returned

    Hi Guys

    I have been playing with the following formula in trying to link two columns in a transaction spreadsheet as follows:

    {=IFERROR(INDEX($L$10:$L$400,SMALL(IF(ISTEXT($L$10:$L$400),ROW($L$10:$L$400),""),ROW(L10))),"")}

    Column L records the titles of a text books purchased; starting in cell L10.
    For reasons I won’t bore you with not all cells in column L have entries e.g. L10, L11, L12 may be populated but L13 to L16 blank then L17, L18 populated etc.
    Column L range is L10 to L1000
    Column AH records the titles of textbooks sold; starting in cell AH10
    However, unlike column L, column AH needs to record the textbook titles in the same order they appear in column L, BUT without the blanks
    Column AH range is AH10 to AH1000
    The formula above returns nothing but I’m thinking it should be; I have tried using ISBLANK instead of ISTEXT, and also tried ISNUMBER on a different column containing only numbers, but with the same nothing returned result

    What I want the formula to do is:

    Column L:
    Text Title
    L10Advanced Nutrition and Human Metabolism
    L11Experiences in Music and Movement: Birth to Age Eight
    L12Lead ECG in acute coronary syndromes : text & pocket
    L13L14L15L16L17New Grammar Companion for Teachers
    L18Guide to Clinical Assessment and Professional Report
    L19L20Column AH:
    Text Title
    AH10Advanced Nutrition and Human Metabolism
    AH11Experiences in Music and Movement: Birth to Age Eight
    AH12Lead ECG in acute coronary syndromes : text & pocket
    AH13New Grammar Companion for Teachers
    AH14Guide to Clinical Assessment and Professional Report
    AH15AH16Ideally I don't want the formula to return False or other error text in unpopulated cells in column AH

    Appreciate any guidance thanks guys

    Cheers

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,934

    Re: How to copy one column to another but so no blanks are returned

    Please can you post a small sample file showing input/output required.

  3. #3
    Registered User
    Join Date
    02-23-2015
    Location
    Perth Autralia
    MS-Off Ver
    2010
    Posts
    41

    Re: How to copy one column to another but so no blanks are returned

    Hi Guys as requested I've uploaded a sample sheet Register T&D Sample 120150917.xlsm

+ 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. How to copy one column to another but so no blanks are returned
    By Taupo58 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2015, 04:22 AM
  2. Replies: 7
    Last Post: 10-26-2014, 06:01 PM
  3. Sorting problem with blanks returned from ISERROR...
    By psudoplex in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-11-2014, 02:28 AM
  4. Copy Column(s) based on another column dynamicly without blanks
    By johnmelvin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2013, 12:24 PM
  5. Replies: 1
    Last Post: 08-13-2012, 10:59 AM
  6. Scan a Column A (numbers and blanks) and copy its contents WITHOUT BLANKS into Column B
    By bighandsam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 05:16 PM
  7. [SOLVED] copy two columns without blanks in the first column
    By jeffm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2006, 10:55 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