+ Reply to Thread
Results 1 to 31 of 31

automatically fills the cells where the test needs be be done

  1. #1
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    automatically fills the cells where the test needs be be done

    Hi,

    i'm currently setting up a new schedule for some tests I need to perform in different sequences. What I ant is that the file automatically fills the cells where the test needs be be done. i.e lets say test number one need to be done every second week of the month, than the cell in every second week of the month should have automatically a color. But if I change the frequency to quarterly than this should change automatically in the file.

    who can help?

    Regards,
    Leon
    Attached Files Attached Files
    Last edited by leonv01; 10-18-2019 at 02:49 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: help on formula

    Title amended
    Last edited by Pepe Le Mokko; 10-18-2019 at 03:06 AM.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: help on formula

    Perhaps something like "automatically fills the cells where the test needs be be done"
    Are you still using XL2003? If not please update your profile. Thanks

  4. #4
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    Is there anybody who can help?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    You don't appear to have mocked up your expected outcomes (results) in the attachment - you need to do this manually to show us what you are aiming to achieve.
    Last edited by AliGW; 10-21-2019 at 06:49 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    Find attached the new file.

    If in range B2 - CA4 = 1 for monthly, quarterly or annually than the cell should have a color. If the frequnecy changes the cells should also change from color to white. There should be a match between range B2 - CA4 and range Y9 - Y17
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    I cannot work out how you have decided which week to choose - you are going to need to properly explain where the shading is so that we can suggest a formula for the CF rule.

  8. #8
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    The week I choose is in line with the 1 in the range above.. If there is a 1 in that range then the shading should be in the cells below

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    But the 1s are not calculated by a formula - how are they going to get there? This may all be completely obvious to you, but it isn't to me, sorry.

    The bits in green don't seem to follow what you have just said, either ...

    Excel 2016 (Windows) 32 bit
    Y
    Z
    AA
    AB
    AC
    AD
    AE
    AF
    2
    1
    3
    1
    4
    5
    6
    7
    Frequency
    January
    8
    1
    2
    3
    4
    5
    9
    Monthly
    10
    Monthly
    11
    Monthly
    12
    Monthly
    13
    Monthly
    14
    Monthly
    15
    Monthly
    16
    Quarterly
    17
    Quarterly
    Sheet: analysis
    Last edited by AliGW; 10-21-2019 at 07:35 AM.

  10. #10
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    I'm just looking for a solution, doesn't matter to me how..

    What I try to do is automate the workflow and if I change the frequency the cell color should also change automatically. The sheet I attached is only a small part of the total schedule.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    I can't give a solution if it's not clear what you are trying to do. Your sample data MUST be an accurate reflection of what you want and your current data layout. I cannot be expected to decide in which week the payment should fall!!! Don't expect a solution with a half-baked brief.

  12. #12
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    This is just an example, monthly should be in the second week of each month, quarterly in every last week of the first month of the new quarter en annually in the first week of June. But if I change monthly to quarterly the colored cell should jump from the second week in the month to the last week of the first month in the quarter.

    Maybe it is clear now what I want to achieve.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    What about annually? And how will Excel know when to stop highlighting January and move to February? Or do you want all instances across the year highlighted? There are still gaps in your brief - you need to give the whole picture, please, otherwise I'll give you a solution and then you'll come back and tell me it isn't quite what you want because of x, y or z that you failed to mention before.

  14. #14
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    all instances across the year

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    And annually???

    I am running short of time now - hopefully someone else can piuck this up and run with it.

  16. #16
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    annually only in June

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    OK - so how are the 1s getting there? Or are they there simply for us to see where you want the shading?

  18. #18
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    Yes, i added them just to show where the shading should be

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    OK, so in that case, why is the quarterly payment in week 5 of January? What is Excel meant to use to calculate this start point? The quarterly intervals are not entirely clear.

  20. #20
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    Because this was only a example...last week of the month is ok. It is not about payments by the way...

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    OK - I get that you don't think my questions matter, but I am afraid you are wrong. When you have provided a sample sheet that accurately reflects what you REALLY want, I'll have another look. Please be clear: it is not your helper's job to work out the rules for you. This is part of your requirements, so you need to think about it and come up with something concrete (e.g. every 13 weeks starting with week 4 for the quarters).

    I am afraid I have run out of time for the moment - it has taken almost two hours so far to prise very basic requirements out of you and I am afraid I need to move on to other things. Sorry. Hopefully someone else will step in.

  22. #22
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    I explained already where the shading should be, so forget about the example I have shared. how difficult is it to move one of the numbers....??? but if you don't want to help fine...i will find something else

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    That's a completely unfair statement to make. Of course I want to help - I would not have spent over two hours with you on this if I didn't. It's disrespectful to suggest otherwise and does not encourage me to help you further.

    how difficult is it to move one of the numbers....???
    Move it where, though? You are still expecting me to decide where exactly your shading should go for you, and that's not what I am here to do. YOU need to decide on the exact criteria and then somebody here can help you with a formula to achieve that.

    I explained already where the shading should be
    Yes, for monthly and annually, but quarterly is still unclear.

  24. #24
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    quarterly in every last week of the first month of the new quarter... this was already in one of my previous replies..

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    So are you saying that you want the quarterly shading in the last weeks of January, April, July and October?

  26. #26
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    yes, that's what I try to say

  27. #27
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: automatically fills the cells where the test needs be be done

    Is this correct ?

    Just use Index / Match from frequency and above rows.

    Regards.
    Attached Files Attached Files

  28. #28
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    OK - thanks. That is now clear.

    The problem you have with your layout is the merged cells for the months - are you happy with a helper row?

  29. #29
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    Quote Originally Posted by menem View Post
    Is this correct ?
    No - the quarterly shading is in the wrong place. See the discussion over the last few posts. And the 1s are only there as a guideline to us - they won't be there in reality.
    Last edited by AliGW; 10-21-2019 at 09:17 AM.

  30. #30
    Registered User
    Join Date
    09-26-2011
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: automatically fills the cells where the test needs be be done

    that's it...thanks!

  31. #31
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: automatically fills the cells where the test needs be be done

    No, it isn't!

    The quarterly shading is NOT what you have just told me you wanted and the solution uses the 1s that won't be there in the real file.

    OK - I give up. Good luck with this!

+ 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: 3
    Last Post: 01-10-2019, 09:34 AM
  2. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  3. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  4. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  5. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  6. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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