+ Reply to Thread
Results 1 to 4 of 4

validate 1 item has 5 variations; if not add missing variations

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    validate 1 item has 5 variations; if not add missing variations

    How do I validate the assigned number (Column A) has 5 versions (Column B)?
    AND if the number in Column A does not have 5 versions, how do I automatically add/insert the missing versions? (not sure if a formula or macro would be better to do all of this in one 'transaction'/command??)

    Thank you!
    Cheri

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: validate 1 item has 5 variations; if not add missing variations

    Are you able to provide a sample of your work?

    The variations aren't listed, so it's difficult to write a formula to automatically include them.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: validate 1 item has 5 variations; if not add missing variations

    For some reason, I am not able to attach a file; below is a sample of the data: Column A = Assigned Number
    Column B = the corresponding 1-5 variations; 'assigned numbers' 10001-10003 meet the requirement; 13002 & 13003 do not (hope this helps) - Thanks again!!

    Assigned Number Item Number
    10001 1211.10001
    10001 1212.10001
    10001 1213.10001
    10001 1214.10001
    10001 1215.10001
    10002 1211.10002
    10002 1212.10002
    10002 1213.10002
    10002 1214.10002
    10002 1215.10002
    10002 1341.10002
    10002 1342.10002
    10002 1343.10002
    10002 1344.10002
    10002 1345.10002
    10003 1111.10003
    10003 1112.10003
    10003 1113.10003
    10003 1114.10003
    10003 1115.10003
    13002 1214.13002
    13002 1215.13002
    13003 1214.13003
    13003 1215.13003

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: validate 1 item has 5 variations; if not add missing variations

    There appears to be 10 variations in Column B for 10002.


    10002 1211.10002
    10002 1212.10002
    10002 1213.10002
    10002 1214.10002
    10002 1215.10002
    10002 1341.10002
    10002 1342.10002
    10002 1343.10002
    10002 1344.10002
    10002 1345.10002


    I would ultimately write a formula to pull the unique values out of Column A.

    Then I would write another formula to iterate each copy of the unique values 5 times, and put one of the variaitons alongside each unique item and have the process repeat itself.
    Last edited by daffodil11; 09-25-2013 at 03:07 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. [SOLVED] VBA Speed Variations
    By Philb1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-04-2013, 01:31 AM
  2. Timesheet Pay Variations
    By JayBird1980 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2013, 07:54 AM
  3. [SOLVED] SUMPRODUCT variations
    By Robmcnz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2013, 03:15 AM
  4. [SOLVED] Macro to generate eBay Item Variations for template
    By Pavel001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2012, 10:33 PM
  5. variations:IF statement
    By bhobson in forum Excel General
    Replies: 4
    Last Post: 10-28-2010, 06:51 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