+ Reply to Thread
Results 1 to 4 of 4

Populating a list with a macro based on inputs

  1. #1
    Registered User
    Join Date
    11-27-2009
    Location
    Santa Cruz, CA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Populating a list with a macro based on inputs

    Hi all,

    I've attached a spreadsheet that pretty clearly shows my challenges. I got sheets one and two figured out, but sheet 3 remains beyond my skill set.

    Sheet1: Data on calls detected
    Sheet2: Using alot of CountIfs and text strings, counts out how many calls are detected in each 10 minute increment of any given day, as determined by cell A2.
    Sheet 3: Supposed to manipulate the date on sheet two, record a value (total calls as of now) from sheet 2, and report it to sheet 3. Then loop for all the days in the data set (or a given list).

    So, any help would be appreciated, I'm very new to VBA macros.

    EDIT: I had to shorten the data sheet to make the upload size limit, so there are only calls for the first 12 or so days...

    Thanks,
    Abe Borker
    UCSC Center for Ocean Health
    Santa Cruz, CA
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Populating a list with a macro based on inputs

    HI

    You should be able to use a countif function based on the data from sheet 1,

    e.g. =COUNTIF(Sheet1!A:A,Sheet3!A1) in cell b1 and copy down as necessary.

    What else are you looking to achieve?

    Regards

    Jeff

  3. #3
    Registered User
    Join Date
    11-27-2009
    Location
    Santa Cruz, CA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Populating a list with a macro based on inputs

    I want to make some calculations with the 10min totals on sheet 2, and then send a final value to sheet three.

    I realize to get calls per day I could use another count if

  4. #4
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Populating a list with a macro based on inputs

    Hi

    If you could show manually what final output you would like to achieve it would be useful to know what to aim for.

    Regards

    Jeff

+ 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