+ Reply to Thread
Results 1 to 6 of 6

Unscrambling a data base help needed

  1. #1
    Registered User
    Join Date
    03-29-2014
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    6

    Unhappy Unscrambling a data base help needed

    So I am trying to unscrew a cvs file that come out of an ACT program written to manage subscriptions. The Act file had the ability for a customer to have up to three subscription in his "record" so basic fiields had a Start date 1 start date 2 start date 3, end date 1, end date 2 etc etc.

    So the attached mockup sample shows the the output to a cvs file.

    the attachment also shows what I am trying to do. Basicly get it translated into a simpler start, end, cost, code data base.

    I don't even know where to start ? Macros, VB code, etc.

    Help appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Unscrambling a data base help needed

    Assuming the data is in the columns as you presented, like so:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,606

    Re: Unscrambling a data base help needed

    NON MACRO/CODE SOLUTION

    In A21:

    =IF(COUNT(A3)=1,A3,IF(COUNT(C3)=1,C3,IF(COUNT(E3)=1,E3,"")))

    In B21:

    =IF(COUNT(B3)=1,B3,IF(COUNT(D3)=1,D3,IF(COUNT(F3)=1,F3,"")))

    In C21:

    =H3&I3&J3

    In D21:

    =K3&L3&M3

    Copy the formulae down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Unscrambling a data base help needed

    Please see the attachment. Look at Sheet 2 and press button to populate sheet3.

    Code is in Module1.
    Attached Files Attached Files
    Martin

  5. #5
    Registered User
    Join Date
    03-29-2014
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Unscrambling a data base help needed

    Thank you all so much for the replies. I will be going through the solutions this afternoon. I don't have much VB \ developer experience but its never to late to learn some new things.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Unscrambling a data base help needed

    How did things go? Did one of these or all of these work for you?

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

+ 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. Excel data base or access data base collection?
    By mcdonalds in forum Excel General
    Replies: 0
    Last Post: 02-17-2014, 08:04 AM
  2. how to transform data from row-base to column-base
    By fei2010 in forum Excel General
    Replies: 3
    Last Post: 11-23-2012, 12:17 AM
  3. Series Base Formula needed
    By amitjay in forum Excel General
    Replies: 2
    Last Post: 09-24-2012, 08:23 AM
  4. convert non data base to data base format using formula
    By murarihyd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-22-2011, 11:42 AM
  5. Macro needed to fill down other cell base on condition
    By martinez_pedro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2009, 08:39 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