+ Reply to Thread
Results 1 to 2 of 2

Need to extract random data using set criteria...

  1. #1
    Registered User
    Join Date
    09-13-2006
    Posts
    4

    Need to extract random data using set criteria...

    Hi,

    I am trying to generate html files using data on an excel sheet. I have had quite a lot of success with this in the past using macros and functions etc. But in the past the data used to create an html file has always been in one row. eg 100 rows of data would create 100 html files. The excel datasheet contains data on paintings eg "painting name", "size", "artist" "image link" which is then all combined into an html file. Each row of data is about a different painting...

    html file 1: painting_row1 & "by" & artist_data_row1 "size:" size_data_row1
    html file 2: painting_row2 & "by" & artist_data_row2 "size:" size_data_row2

    What I am trying to do not is create an html file that uses data from several rows. The best way to explain the problem I am having is to explain the desired end product. I want an html file with data about several "paintings".

    eg:

    Html file: artist_data_row1 & "painted" & painting_row1 & "and" & painting_row6 & "and" & painting_row34


    So if an Artist has painted 23 paintings then I want to gather the data from the relevant rows. I am not sure how to do this.

    More confusing for me is that I am not sure how to limit the data being gathered eg. If there are 23 paintings by an artist I only want data from 10. I would prefer the 10 to be randomly selected from the 23 but that is not essential.

    Can I do stuff like this with functions and macros in excel or do I need to start programming?

    Thanks, James

  2. #2
    Registered User
    Join Date
    09-13-2006
    Posts
    4
    Anyone? Please!

+ 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