+ Reply to Thread
Results 1 to 5 of 5

Use worksheetfunctions in macro or alternative solution

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Beglium
    MS-Off Ver
    Excel 2010
    Posts
    2

    Use worksheetfunctions in macro or alternative solution

    Hi,

    I'm looking for some help with the following problem:

    I've included an excel file to make it more easy to understand.
    The sheet is divided in three sections. The first two (Protime and DataTouch) are the data that need to be compared in the third section (DataTouch minimum and maximum values per day). At this moment, I use regular formulas of excel to fill in the third section.

    I would like to create a macro that fills in the third section without me constantly filling in the formula's and dragging them in all the cells. This would be handy as I will need to do this process many, many, many times:p All the worksheets will have the same layout, so I guess this makes it more easy. I tried now for several days, but haven't succeeded in finding a good solution, let alone find one on the internet.

    All help is welcome!!
    Attached Files Attached Files
    Last edited by djaspersr22; 05-15-2012 at 04:20 AM.

  2. #2
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Help with worksheetfunctions

    Do you mean something like this?
    Please Login or Register  to view this content.
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    Beglium
    MS-Off Ver
    Excel 2010
    Posts
    2

    Use worksheetfunctions in macro or alternative solution

    Dear WasWodge,

    Thanks for the fast reply! Your code is already relieving me of the workload:p At the moment, I will use this to speed up my analysis that is required.

    However, what I'm looking for is a bit more complicated. Instead of typing the formulas in the first row (in this case: in M4,N4,O4,P4 and Q4) and than use your macro to expand this to the other cells, I would like to create a macro that also creates these formulas.

    In other words: The goal would be that by activating the macro, the formulas are created and the cells in row M,N,O,P and Q are filled in. This would speed up my work even more, as I would not need to type in the min(if)-max(if)-abs formulas.

    Regards
    Last edited by djaspersr22; 05-15-2012 at 05:14 AM.

  4. #4
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Help with worksheetfunctions

    I will post something tonight if no-one steps in as I am on my phone at work

  5. #5
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Help with worksheetfunctions

    Try this

    Please Login or Register  to view this content.
    Last edited by WasWodge; 05-15-2012 at 12:43 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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