+ Reply to Thread
Results 1 to 6 of 6

Automatically populated according to time intervals

  1. #1
    Registered User
    Join Date
    07-20-2015
    Location
    Lisbon
    MS-Off Ver
    2007
    Posts
    3

    Question Automatically populated according to time intervals

    Hello,

    I need some help with my worksheet excel:

    untitled.JPG


    Basically what I want is:

    When I insert a value in "OCC" column, I need the columns of StopSales be automatically populated (either a cross or something else).

    Only those columns must be filled according to time intervals:

    0-130 - all in white
    131-190 - Cl MS
    191-220 - Cl MS + C River
    221-254 - Cl MS + C River + Tw MS
    255-263 - Cl MS + C River + Tw MS + Tw River

    For example, if the "OCC" is 192, must appear filled the columns "Cl MS + C River".

    Someone can help me? Sending attached excel document.

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Automatically populated according to time intervals

    I'm attaching the file for you so that the formula will be translated into your language, but you can use this formula in H3:

    =IF($F3<=130,"",IF(MATCH($F3,{131,191,221,255})>=COLUMNS($H:H),"*",""))

    then copy across and down as required.

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-20-2015
    Location
    Lisbon
    MS-Off Ver
    2007
    Posts
    3

    Re: Automatically populated according to time intervals

    Thanks Pete, you really rocks!

    Without abusing you and since you understood exactly what I wanted, did you could help me with this:

    In the column "Price", how do I get that change automatically depending on the columns of StopSales?

    For example:

    If I have a cross in the "Cl MS" column, I want the value to be 140. But if I have a cross in column "Cl MS + C River", I want to be 160.

    No Cross: 125
    Cl MS: 140
    Cl MS + C River: 145
    Cl MS + C River + Tw MS: 160
    Cl MS + C River + Tw MS + TW River: 210

    THANKS AGAIN!!!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Automatically populated according to time intervals

    Is this the kind of thing that you mean? I've put the following formula in G3:

    =IF(F3<=130,125,CHOOSE(COUNTIF(H3:K3,"~*"),140,145,160,210))

    and then copied down.

    Hope this helps.

    Pete

    P.S. If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-20-2015
    Location
    Lisbon
    MS-Off Ver
    2007
    Posts
    3

    Re: Automatically populated according to time intervals

    Thank you so much Pete

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Automatically populated according to time intervals

    You're welcome - thanks for feeding back.

    Pete

+ 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. Replies: 6
    Last Post: 11-26-2014, 10:35 PM
  2. [SOLVED] VBA strange behavior On time events firing at unexpected time intervals.
    By Kramxel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2014, 05:58 AM
  3. [SOLVED] Extract average from between certain time intervals automatically?
    By VIStrings in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-25-2014, 12:12 PM
  4. Replies: 1
    Last Post: 02-06-2014, 12:10 PM
  5. Converting Data in Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:42 AM
  6. Need to Transpose Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2011, 08:30 PM
  7. Rounding Time Intervals to the Nearest Specified Time Increment
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-23-2005, 12:21 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