+ Reply to Thread
Results 1 to 5 of 5

REPT function and blank cells

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2007
    Posts
    9

    REPT function and blank cells

    I created a table with the dealer number and state they are licensed in. I have added a column with the REPT function so that it creates a list of all the states the dealer is licensed in. However, when there is a change in dealer number and the state licensed is the same as the previous dealer, it leaves a blank cell as seen in C8. I need to find a way to eliminate the blank cells and make the state visible.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: REPT function and blank cells

    Does this work?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please click the * icon below if I have helped.

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: REPT function and blank cells

    C2: =if(a2=a1,if(b2=b1,c1,c1&" / "&b2)," / "&b2)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Registered User
    Join Date
    08-13-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: REPT function and blank cells

    Yes, this works. I appreciate the help.

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: REPT function and blank cells

    please don't forget to mark the thread solved (click the thread tools link near the top of the page)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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