+ Reply to Thread
Results 1 to 5 of 5

data changes

  1. #1
    Registered User
    Join Date
    04-25-2010
    Location
    Tipperary
    MS-Off Ver
    Excel 2007
    Posts
    46

    data changes

    Hello there,
    Is this possible through excel or vba.Please see attached and sheet2 for explanation.thank you.
    Attached Files Attached Files
    Last edited by aquinlan; 05-01-2010 at 07:19 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: data changes

    You will get more response if you outline the problem in the actual post. Not everyone can or will download the example,especially to see what the problem is.

    Also,your thread title should indicate the problem
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    04-25-2010
    Location
    Tipperary
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: data changes

    ok roy,
    In the dummy wb in Col A(sheet1) from a2 to a9 i have dropdown boxs with names.each name corresponds to there own column which holds there individual data.On sheet2,3 i have in colA the same dropdowns. So if in sheet1 i pick a name from dropdown i would like the matching cell in Col B to pick one number randomly from that names own column which holds there individual data.And for sheet2,3 will be the same they will pick from sheet1.for ei sheet1 colA (a2) i pick peter then b2 will randomly choose from n2:n10 but if i change then (a2) to alan b2 will now pick from i2:i10.And with sheet2 (a2) i pick peter it will choose randomly from sheet1(n2:n10).If anyone can help it would be great.any suggestions would be great too.Thank you.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: data changes

    try this

    =INDEX(Sheet1!$H$2:$O$10,RANDBETWEEN(1,9),MATCH(Sheet2!A2,Sheet1!$H$1:$O$1,0))

    although it will recalculate any time you change any cell in the sheet. But it will look only for the name in colum A of the respective row and select one of the values for that person.

  5. #5
    Registered User
    Join Date
    04-25-2010
    Location
    Tipperary
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: data changes

    Works perfect,Thanks Teylyn

+ 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