+ Reply to Thread
Results 1 to 2 of 2

Variable that can reset while looping

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    2

    Variable that can reset while looping

    This is a bit hard to explain, but I'm hoping those greater than me can make some sense out of this mess...

    HOLDER IMPORT Working Copy.xls

    I need to test for blanks in Column B (Addr). When there is a blank I need the data on that row from Column A (Name) to be concatonated to the end of the text in the row above Column J (Desc of Ops/Special Conds). I need this test with results to continue updating until there is not a blank in Column B. I have it working very inefficiently using nested IF statements within Excel, but only for 2 rows and that's not going to cut it.

    I was wondering if I could get a variable (or a few variables) to 1) mark the last text in J where there was also text in B 2) collect all the text in A where there is no text in B 3) combine all of what was collected in A in order to the end of the last mark. And since I never know how many entries I will have I need all this testing and reseting to continue happening until there are no more rows with data.

    Help?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Variable that can reset while looping

    Hi

    try this

    Please Login or Register  to view this content.
    rylo

+ 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