+ Reply to Thread
Results 1 to 1 of 1

Adding rows to list for multiple combinations

  1. #1
    Forum Contributor
    Join Date
    03-26-2014
    Location
    Kentucky
    MS-Off Ver
    Excel 2013
    Posts
    128

    Adding rows to list for multiple combinations

    I could really use some help coming up with a quick way to alter this drug testing chart. I have attached a worksheet that has my list of data. My problem is that this needs to be laid out for using a pivot table. Currently everything seems ok except for column V "medicinal list". If you notice, there are several duplicate entries for everything except for Column R "Other drugs" and column V. Every unique "Accession Number" represents a different patient sample. Therefore duplicates are the same patient just with a different "Other drug" listed. I manually added each patient in again to have a different row for each drug with all the other same information. However, now I need to do that with column V. This column is not laid out correctly since each entry in the column doesn't necessarily correspond to each row, rather to the single patient itself. As you can see in sheet2 where I have started doing this, I need a code that could recognize the "medicinal list" for each patient and insert the patient as a duplicate just with each individual drug listed, basically showing every possible combination of "Other drug" to "medicinal list". Let me know if I need to clear this up any, it confuses me just trying to explain it. Thanks in advance for any help. Addings rows for med list.xlsx
    Last edited by RaydenUK; 03-20-2015 at 01:03 PM.

+ 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. Adding rows to multiple sheets when adding new item using DataForm
    By pandora1a2b in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2014, 01:00 PM
  2. Look up Single list value & Return multiple corresponding values While Adding New Rows
    By fahadahmad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2014, 03:40 PM
  3. Adding Multiple Rows Based On a Drop Down List
    By terrra in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2013, 02:50 PM
  4. Replies: 4
    Last Post: 08-18-2013, 06:38 AM
  5. Adding rows within a list
    By nihad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-22-2006, 01:20 PM

Tags for this Thread

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