+ Reply to Thread
Results 1 to 3 of 3

Calculating Dynamic Table Value

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Calculating Dynamic Table Value

    Hello all,

    Need a simple calculation: the difference between the "In" and "Out" date is more than 7 days in the sample worksheet. If more than 7, display yes and color font red. If 7 or less, display no.

    The amount of data varies every month. I can achieve these result via conditional formatting and IF statements but when I have a few hundred rows of data, I start to think there must be a more efficient way via macros.

    Any help is much appreciated and will rep! Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Calculating Dynamic Table Value

    Hi roki4,

    See if the attached works for you. It is a single formula that is copied down.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Calculating Dynamic Table Value

    This I have done - was wondering if VBA is more efficient since the amount of data is a dynamic variable based on the month. Thanks for the response!

+ 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