+ Reply to Thread
Results 1 to 2 of 2

Hard Macro-Who wants a challenge??!?!

  1. #1
    Registered User
    Join Date
    11-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Hard Macro-Who wants a challenge??!?!

    Hi I need some help modifying a macro i have been using. What the macro does is takes a up to two data sets (up to 30 people):
    Column A Column B
    person 1 5000

    2 17000

    3 8000

    4 19000

    5 11000

    6 6000

    7 9000

    8 22000

    9 20000

    10 13000

    ....
    30 10000

    and creates all the possible combinations (not permutations) of 9 between 95,000 and 100,000. (so in my book 1 ,2,3,4,5,6,7,8 and 9 are the same as 2,1,3,4,5,6,7,8 and 9)
    and puts it in this format:
    Inline image 1

    as you can see it fills out the columns and not rows. What i need is to take this output that it is already creating and put it into rows and not columns.

    So for example I would like to have the names put in the top columns
    then as you go down the rows it would put the x's in each rows and this would be the unique combo of 9 instead of the columns. Also if iI run this for over 30 people i get a data overflow error. If possible can someone PLEASE PLEASE PLEASE see if they can expand this to allow up to 100 people to be input in this macro. and have the data transposed?
    Here is the macro.

    Please Login or Register  to view this content.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Hard Macro-Who wants a challenge??!?!

    Hi and welcome to the forum

    Administrative Note:
    • We would love to help you with your query, but first, before we can proceed…
    • Please see Forum Rule #1 about proper thread title
    • Please PM me when complete (Also, include a link to your thread - copy from the adress bar) and this post will be removed which will reset the replies to zero…

      To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Really hard challenge !! How to standardize Capital letters on names
    By EwenBlake in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 06:01 AM
  2. Macro to unhide sheets IF macro is enabled and hard drive serial # match list of HD#
    By nikolaikolev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2011, 01:50 PM
  3. re Macro - too hard for me !!
    By Anthony in forum Excel General
    Replies: 5
    Last Post: 02-28-2005, 02:07 AM
  4. Macro - Too hard for me!!
    By Anthony in forum Excel General
    Replies: 3
    Last Post: 02-27-2005, 04:06 AM
  5. [SOLVED] Macro -Far too Hard for me !!
    By Anthony in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2005, 01:06 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